SynthMaker

Simple 'Curvey'AHD envelope...

Archive · 2005 15 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.