Envelope generator

Hey @Flyweight (welcome to Midihub, btw)

FYI, After this & similar discussions, I looked into building an ADSR envelope using current firmware.
(More as a proof of concept, really - there’s a link there to a diagram which shows the hoops I had to jump through)

It looks like there might be a firmware update soon-ish which should at least enable the ditching of a physical-loopback connection (to get MH to map to itself).

If an Envelope pipe was introduced during some update, I’m pretty sure it would be a pipe for a single arc/stage, enabling users to build their own complex envelopes…

(that would have a main “amplitude” CC and a secondary “notifier” message which would indicate “I’m done, time for next stage to start”)

… rather than an all-in-one AD/ADR/ADSR - just cos it fits Midhub’s building-block style (and because users ~including me!~would then soon be saying “Gimme DX7 & CS1 envelopes”!)

Either approach would have further considerations/limitations:

  • polyphony – (assuming note on/off = begin/end,) you want any envelope pipe to handle each note with it’s own env, meaning that the pipe would need to be like Dispatcher in its Attack phase.
    (of course, up to you to ensure your ext synth(s) can handle this)
  • CC rate – the max rate for LFOs is 256Hz – I guess to avoid MIDI logjams– so short duration stages will always be a bit steppy.



Having said all that, this is the closest @Giedrius has come to commenting on this since the intro of One-Shot LFOs.