here we go step by step through the basic construction of an ADSR envelope, looking at some functions of line, line~ and vline~ along the way.
Line, line~, vline~ and ADSR envelopes
nice job on the tutorial. One thing you could add concerns the [line] object. The third creation argument (or inlet) defines the rate in ms for every output. Its default is 20ms per output but you can go down to samplerate if you wish so.
I realized that only after building a faster rate ramp from the [line~] object in conjunction with a snapshot a while ago.
I needed to adjust that value on some occasions, to get a smooth ramp without noticable aliasing.
Have a good day (or night),
thank you so much for your tutorial! all i needed to know is on page 3 on the right hand: sending a message with the following content [1 2 3, 4 5 6, 7 8 9] to vline~ means:
1 2 3 = wait 3ms, then ramp to 1 in 2ms
4 5 6 = wait 6ms, then ramp to 4 in 5ms
7 8 9 = wait 9ms, then ramp to 7 in 8ms
Thanks! nice tutorial!
Although i see that this post is from 3 years ago -
Thanks a lot for doing all this!
One problem -
your object [diy-adsr~] doesn't work for me...
Should I do anything particular like install a library or something?
well i faced the same problem now too.
Very very helpful.