Hallo, padawan12 hat gesagt: // padawan12 wrote:
At the risk of being controvertial, there really are certain units that one would consider ** absolutely essential ** that haven't found their way into the intrinsic core of Pd, from the top of my head things like [adsr~], [ead~] [inv] (simple reciprocal) come to mind.
An ADSR is included in Pd as an abstraction, once in the audio examples, once as "gadsr" in doc/7.stuff/synth
[inv] is simply:
[f ] | [1 $1( | [/ ]
or [expr 1/$f1], one could make it an abstraction as well.
Cloning [ead~] is a bit more tricky, but not too much. Btw: Cloning ead~ and using [vline~] while doing so would allow envelopes to start in the middle of a 64-sample block, which would have important advantages for timing (see the recent "metro below 1ms" thread).
doc/3.audio.examples/D03.envelope.dB.pd could be a starting point. Any takers?
Frank Barknecht _ ______footils.org_ __goto10.org__