SynthMaker

How to increase max delay time in "simple echo?"

Archive · 2007 5 old posts

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

satasha ·

Hi. I was wondering how I could increase the maximum delay time in the simple echo module?

BasherT ·

Hi satasha

Yes, you can increase the max delay.

Go into the echo module and find the bitmap knob labelled delay

Click on the "p" on the bottom right corner

You will see a label entitled Max and the entry next to it as 1.

Change the Max setting to however many seconds you want the maximum delay to be.

Simple really! 🙂

satasha ·

Thanks! It is complicated to describe what I am trying to do. Hopefully that was the last stumbling block. Essentially I want a master delay time knob to control the delay time on a number of delays time knobs (so I ripped out the main part of the echo delay module) but... those delay time knobs are all of different set values so that when you move the master one, they all move proportionally. So I sort of succeeded in that but I ran out of max delay. Hopefully your solution will work on the knobs I am now using, although they are running into a math module before they hit the delay time in. Ultimately I am trying to create a delay where the volume of the taps ramp upwards. I know there is a better way to do it than to use a delay for each tap but I don't know that way so I am doing it this way. I am almost there! Thanks for your help!

oddson ·

There's an absolute max in the delay primitive component. Right now it seems to be 2^18=258764 (about 6 seconds at 41.1K) it used to be 65K samples (or just over 1 second).

You can replace the delay primitive with the following code module to get around this:

streamin in; streamout out; streamin offset; float array[882001]; float index; float outdex; offset = rndint(offset);

index = index+1; index=index-(index>=882001)&882001; array[index] = in + 1e-15 - 1e-15; outdex = index - offset; outdex=outdex + (outdex < 0)&882001;

out = array[outdex];

8820000 would be 20 seconds. I can't remember why the extra array value but I think it was needed.

The "+ 1e-15 - 1e-15" is supposed to handle denormals but I don't know if it's working.

TheAudiophileDutchman ·

General question (maybe it's more like a feature request): how to make e.g. delay times samplerate independent with dynamic memory allocation in SM? 😇 😈 😉

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.