satasha ·
Hi. I was wondering how I could increase the maximum delay time in the simple echo module?
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].