Dear List
First of all: Merry merry christmas!!!
I am working on a looping sampler (jamman-like) using not delays, but tables/arrays. I am searching for a way to copy the content of an array to the end of the existing audio data, thus doubling the length. The only way so far would be using vasp and copying the array via [vasp.copy] to another one, but this does introduce all kind of problems, and a copy in a separate array doesnt't mean, a copy in the same place. So i am searching for some ideas how to accomplish that task.
Any?
Thanks,
Peter
Hi Peter,
I am working on a looping sampler (jamman-like) using not delays, but tables/arrays. I am searching for a way to copy the content of an array to the end of the existing audio data, thus doubling the length. The only way so far would be using vasp and copying the array via [vasp.copy] to another one, but this does introduce all kind of problems, and a copy in a separate array doesnt't mean, a copy in the same place. So i am searching for some ideas how to accomplish that task.
i'm not sure if i understand exactly what you want to do, but using vasp you can of course also transfer parts of arrays to other parts of the same or different arrays. (like to copy the first half to the second, if that's what you want). Just have a look at the vasp.frames and vasp.offset objects.
greetings, Thomas
I am working on a looping sampler (jamman-like) using not delays, but tables/arrays. I am searching for a way to copy the content of an array to the end of the existing audio data, thus doubling the length. The only way so far would be using vasp and copying the array via [vasp.copy] to another one, but this does introduce all kind of problems, and a copy in a separate array doesnt't mean, a copy in the same place. So i am searching for some ideas how to accomplish that task.
i'm not sure if i understand exactly what you want to do, but using vasp you can of course also transfer parts of arrays to other parts of the same or different arrays. (like to copy the first half to the second, if that's what you want). Just have a look at the vasp.frames and vasp.offset objects.
alternatively you can use zexy :-)
[tabdump] (zexy) -- gives array as list [list prepend] -- glue them together with 'the end of the existing audio data' [length] -- list lenght [myarrayname resize $1( -- resize your array [tabset] (zexy) -- set the array
cheers eni
Dear Eni,
thanks for posting that cool trick! I need to stay with vasp though, bc i need to shuffle around a lot of audio data this way and nead threaded click-free operation, and think that vasp can handle this (i hope).
but your email is entring my knowledge_base folder right now :-)
Peter
Enrique Erne wrote:
I am working on a looping sampler (jamman-like) using not delays, but tables/arrays. I am searching for a way to copy the content of an array to the end of the existing audio data, thus doubling the length. The only way so far would be using vasp and copying the array via [vasp.copy] to another one, but this does introduce all kind of problems, and a copy in a separate array doesnt't mean, a copy in the same place. So i am searching for some ideas how to accomplish that task.
i'm not sure if i understand exactly what you want to do, but using vasp you can of course also transfer parts of arrays to other parts of the same or different arrays. (like to copy the first half to the second, if that's what you want). Just have a look at the vasp.frames and vasp.offset objects.
alternatively you can use zexy :-)
[tabdump] (zexy) -- gives array as list [list prepend] -- glue them together with 'the end of the existing audio data' [length] -- list lenght [myarrayname resize $1( -- resize your array [tabset] (zexy) -- set the array
cheers eni