Change Slower element maximum value?

Official support for: sonicbirth.sourceforge.net
Post Reply New Topic
RELATED
PRODUCTS

Post

In SB1, what is the "Change Slower" element maximum value?

Post

There is, in theory, no maximum. In practice, you'll hit the limit due to the precision of the floating point number representations.

Post

OK, thanks.

If I wanted to construct from scratch a "change slower" circuit, what would be needed?

Post

I think it can be done with an envelope detector. Just set the attack and release to the same values. http://musicdsp.org/archive.php?classid=2#97 This is an algorithm for an envelope detector. There's a few of 'em here.

Post

The algorithm is simple:
sr is sample rate, t is speed in milliseconds, i is input sample, o is output sample, c is a derived coefficient, and s is a state value.

Initialisation:
s = 0
c = 0.01**(1000 / (t * sr)) (where ** is the power operator)

Application:
s = c*s + (1-c)*i
o = s

You can also look at the smoother circuit in SBv2 which does the same thing, except it initiatize s to the first sample it sees.

Post

OK, thanks. It works, but it's too slow. The feedback element maybe?
Capture d’écran 2015-08-02 à 14.56.54.png
You do not have the required permissions to view the files attached to this post.

Post

Can't implement it manually in SBv1, since the feedback element delays the signal a full block instead of a single sample.

Post

Ah, OK... Thanks.

Post Reply

Return to “SonicBirth”