ginocote ·
Hi, I just need to know what it's the calculation to get 100 ms from the delay time?
Want to see the measure from a knob.
Thank you
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
ginocote ·
Hi, I just need to know what it's the calculation to get 100 ms from the delay time?
Want to see the measure from a knob.
Thank you
stefan ·
Not sure I'm following you. Is the delay time in samples? If so, to convert it to ms you'd have to do this: delayInMilliSeconds = delayInSamples * 1000 / samplerate;
1000 == milliSecondsPerSecond.
ginocote ·
ok, i want to set the delay at 100 ms with a fixed value or from a knob. it's the fixed value have to be at 0.1 to get 100 ms from the delay?
This is for the delay module.
Shifrin ·
Ok, you want to have a delay of 100ms correct? And the Delay module expects the number of 'samples' you wish to delay by. So you need to convert from ms to samples.
To do this you could use the following calculation :-
(Delay in ms) * (Sample Rate / 1000) = (Delay in Samples)
Lets say the 'Sample Rate' was 44100Hz with your delay of 100ms, then you'd get :-
100 * (44100 / 1000) = 4410 samples
You can get the 'Sample Rate' from the TimeInfo module.
HTH,
Shif.
[edit]Maybe I've misunderstood?! Is this what you're asking for?[/edit]
oddson ·
When converting values remember to do the math on the units as a double check
ginocote ·
Ok, i can take
100 X 0.001 = 0.1 X 44000 = 4410
Thank you, i think i got it.
Wrote something here? To have a post removed or your name hidden, write to [email protected].