Multi-stage envelope

Still a rough cut, but interesting enough to break out as a separate thread.
Added controls to pick the stage and to update X,Y with touch or with controls.

Multi-stage with touch and controls

Martin will probably not be happy with the use/abuse of the event callback as well as the graphics callback to implement this.

probably.

Need to set boundaries of course to limit the X,Y travel for each stage, but it’s moving along in my random slices of free time.

4 Likes

Had some time to make it a bit more generic and now the stages can’t cross each other. Next up is showing the X,Y as MIDI values that align with what is typically on a synth display.

Still not plug n play into a typical editor preset yet

1 Like

Here’s a newer/different version.
More cleanup, time/level generates standard MIDI range of 0 to 127, displays all env values.

NOTE NOTE - this version spits out MIDI sysex possibly appropriate for a Waldorf XT, but not guaranteed. Just note that MIDI sysex messages are being generated here.
I decided to make it public for folks to play with, ask questions, suggest changes, and more.

The plan will be to eventually have something like this as parameterized as possible to make it easier for others to adopt and add to their editor presets.

Multi-stage env with MIDI and more

2 Likes

created the final iteration at this point.
It now support 2 different sets of envelope points. (note that the second envelope doesn’t respond to touch)
It also has a sustain portion to the envelope since I need that for the Waldorf XT. (see pages 74 and following of the XT manual for the gory details)

It also supports setting loops for key on and key off and has color bars and markers to indicate that going on.
Finally, the second envelope supported has a range of -64 to +63, so there’s a zero line and the values show negatives below the line.

This is probably more than most will need, but I wanted it for the XT. My next versions will be supremely XT specific, so when that preset is public, you’ll see that, but this version should be enough for folks to implement their own if desired.

enjoy

2 Likes

Superb!