Edison, New Jersey, USA
flmod.volTrack1~
StoreTags: patch, flies, msp, max
Author: flies on June 16 2006
Viewed 1251 times. 3 people liked this blog. You can rate it below if you haven't already.
People who enjoyed reading this: FailedSitcom, jdg, hecanjog
--> link <-max patch
link <-patch as text file

this abstraction tracks the volume of the input, and outputs a signal between 0 and 1. (it may go above 1 depending on the input - the scaling is done with reference to a sine wave, so, for instance, square waves, will go higher than 1).

the general method is quite simple: input -> full wave rectify (abs~) -> lowpass filter (onepole~ x2 makes a simple, cpu happy 2-pole filter) -> output. you could probably make it even more cpu happy by replacing abs~ with *~ and square the input to make it all +. this method would distort the amplitude response of the object; it would respond less to smaller signals.


the cutoff frequency on the onepole~ should be very low. anything above 20 and you start getting input bleed-thru. higher values will make the envelope response time faster, and vice versa.

you could also use somethiing like rampsmooth~ or slide~ instead of onepole~. this would give you independant control over attack and decay times, but would be a little less cpu happy and a barely more complicated to implement. if i make a volTrack2~, that'll be what it does.

flmod.X is a series of analog type synth modules. this is one of the simplest ones so it's already finished, but the general plan is to have a .01 'V' per semitone CV system (where you multiply any -1,1 signal by 100 and feed that into mtof~ to get a frequency CV scale).
Read flies's other blogs.flies's Recent Blogs


Register / login
You must be a member to reply or post. signup or login