SynthMaker

RAM usage in the Interpolated Delay

Archive · 2008 10 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

Acrobat ·

The interpolated delay requires to declare the amount of samples you need for the delay. Ok. But How much PC memory will it take?

I would like to set it to execute at least 132300 samples (1/1D of a bar).. to be playable with a 2Gigabytes RAM PC...

That will probably require a simple calculation based of byte size, but I don't know where to start... please help..!

Andrew J ·

Each sample is represented by a 32bit float, which is 4 bytes. So 132300 samples is 132300 * 4 / 1024 = 516.8 KB.

BTW, are you assuming a fixed sample rate?

-Andrew

Acrobat ·

Andrew J wrote: Each sample is represented by a 32bit float, which is 4 bytes. So 132300 samples is 132300 * 4 / 1024 = 516.8 KB.

BTW, are you assuming a fixed sample rate?

-Andrew

ops, no, how will your calculation change at 192Khz, for example? thanks a lot andrew, you're always ready to those sort of things...! 😀

Hey, only 512K? 😮 Mmmh now I'm think that I could simply create some silence in an audio editor and watch the filesize... oh and your calculation is x2 since I'm in stereo...

MyCo ·

Well, you also have to take SSE into your calculation. SSE uses 4 channels, so each memory address in a code module is 32Bit x 4 channels. Which means at 44,1kHz sample rate, its real size is:

44100 sample/second * 4 float/sample * 4 byte/float = 705.600 Byte = ~700kB/second

Andrew J ·

Nice pickup Maik.

😊 for me

aliasant ·

Well. I guess most of us has a couple of rams available or even more.......

Is this really an issue? Is there more to it?

Great calcs Andrew and Myco.

Acrobat ·

aliasant wrote: Is this really an issue?

I think not a problem at all, and for any PC, I just wanted to figure it out a bit, what's the real deal, the weight on RAM addressing those MEMs... 🙂

I guess I can raise the amount far more than I was doing, thx to u all, now it's all up to me re-calculating in my schematic.. 😀

oddson ·

FYI...

I use a 20 second (at 44.1 KHz) four channel delay in my long-delay projects.

I took the delay alone and made a VST (no controls, no GUI) and it added 19.9 MB to eXT's memory usage compared to the theoretical minimum of 13.4 MB. A null VST (no processing straight-through) made in SynthMaker adds 6 MB so there's very little unaccounted for.

Acrobat ·

oddson wrote: FYI...

I use a 20 second (at 44.1 KHz) four channel delay in my long-delay projects.

I took the delay alone and made a VST (no controls, no GUI) and it added 19.9 MB to eXT's memory usage compared to the theoretical minimum of 13.4 MB. A null VST (no processing straight-through) made in SynthMaker adds 6 MB so there's very little unaccounted for.

oh yeah infact I was thinking I could ask u too, I remember your long-delay stuff... I thought the "unaccounted" will be, in my case, also 2 free-running LFOs that should take some more (for the read-256.MEMs and a wavatable OSC with 40 waves x 2048 points... I'll take a look at thee situation...thx... I wondeer what's those 6MB more in your case.. boh! Maybe the "SM shell" itself... 😕

angstrom ·

yes, I worried about this myself when i started making looper effects, Imagining that the memory usage would cripple any machine ... and I laughed when I calculated the actual usage.

tiny by modern standards. a looper, some time ago

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.