From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Shifrin ·
Hi,
This is a simple Attack, Hold & Decay envelope (no release - so you will get clicks depending on it's use!) that supports variable slopes for the attack and decay stages. In the .osm you'll find the AHD module, and a little example container with draggable 'slope' indicators 😉
CurveyAHD.osm
There'll be a full AHDSR version soon, and then after that a nifty fully-graphic interface for that 😉
Shif.
skOre ·
neat 🙂
Shifrin ·
Incedently, this envelope (and the AHDSR) calculate each step only once every 16 samples - the 'in between' values are linearly interpolated - this makes it pretty CPU friendly from what I've found 😉
Shif.
lalo ·
Shifrin wrote: Incedently, this envelope (and the AHDSR) calculate each step only once every 16 samples - the 'in between' values are linearly interpolated - this makes it pretty CPU friendly from what I've found 😉
Shif.
how handles super fast attacks on sine waves ? 😈
lalo quality control 😈 😈
lalo ·
😇
great shif
Shifrin ·
lalo wrote: how handles super fast attacks on sine waves ? 😈
lalo quality control 😈 😈
Hehe, rig up an analyser and see 😉
The fastest attack you can get is 16 samples, which at 44100 is 0.363ms - you should get a silky smooth attack though - no stepping in my envelope unlike the inbuilt SM ADSR 😉
Shif.
lalo ·
interpolation magic 🙂
very clear code tho!!!
and very well commented!!
and example of clear coding practice 😍
thanx shif...thanx thanx thanx
sambean ·
Sweet.. 😀
Love the curve controls...
Thank You
Tom7777 ·
Nice, thanks for the example Shifrin 🙂
global goon ·
how could a release be added to this?....? t'would be cool if anyone knows
Shifrin ·
global goon wrote: how could a release be added to this?....? t'would be cool if anyone knows
It's a little complicated, but I actually have a fully blown DAHDSR envelope with 'curvey' sections and a little GUI for it - I keep meaning to get it finished and post it up - give me an hour I'll get it done - then someone else can make it reusable with properties etc 😈
Shif.
oddson ·
I think the devs should add a component to handle release on custom envelopes -- the workaround (to use the standard ADSR only for the release portion) seems awkward and possibily inefficient.
Shifrin ·
I agree with you there oddson 😀
Might be a little more than an hour with the example, gotta eat 😀
Shif.
oddson ·
While Shif has a nosh... you can read how in this post of his from another thread... HERE
Shifrin ·
Hmmmmmm, seems what I'd done (curvey DAHDSR) doesn't want to work now when I actually come to use it! I'm going to spend some time later tonight trying to get this to work, and most probably with the simple GUI style used in this example (my graphic envelope can be found in another thread somewhere but I never got around to finishing it to the point I was happy with!)
Shif.
Wrote something here? To have a post removed or your name hidden, write to [email protected].