From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Disco_Steve ·
I know this has been asked for before, but can we have a module that takes in a mem and cuts out a chunk of samples and spits it out as an array.
so the inputs would be
mem
start sample (int)
number of samples (int)
do it (trig)
and the output would be
array of section of mem (float array)
I've got about 4 BIG ideas that could be really cool if I had this, so please find the hours needed to make such a primitive
Steve
infuzion ·
I guess one can make a module using Signal Analyzer in the meanwhile? A major pain to do things this way, but possibly doable.
Disco_Steve ·
yea, I've done it like that before, but I don't want it to be real time, and the sig analyser needs the audio to be played into it in real time.
the idea is to do things in batches not in real time, and then play them back in real time. If I get the module and can do it I'll get it done and show you what I mean.
thanks inf
Steve
exonerate ·
Disco_Steve wrote: yea, I've done it like that before, but I don't want it to be real time, and the sig analyser needs the audio to be played into it in real time.
No, the signal analyser actually works the opposite way, you cannot connect it to a realtime stream. (SM actually prevents you from doing this, so I think you must be getting components mixed up).
Cheers 😉
Exo
Disco_Steve ·
yes its a poly stream, but each sample must be 'played into' the analyser at sample rate.
you can't have a block of samples in a poly stream only one at a time?
Tzarls ·
Do you need that array of extracted values to be in green? If not, then please check out this post of mine:
Global variable/array
I think this request would solve things as the one you´re asking for, as weel as the many "mem in" requests.
exonerate ·
I've started a topic in examples because I cannot post attachments in here.
mem section
Cheers 😉
Exo
Tzarls ·
I was just thinking.... could this be achieved using a Mem 2 float MinMax connected to a Float Array section?
Disco_Steve ·
yes/no
if the mem is over 32K samples no, if less yes
Wrote something here? To have a post removed or your name hidden, write to [email protected].