SynthMaker

section of Mem to array

Archive · 2010 9 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.