In general I think it’s safe to treat a gate as a high/low signal with the exception of the gate from the keyboard node. In that case the gate height is proportional to the MIDI velocity. Most envelopes in Audulus take this into account and vary their height as the gate height varies as opposed to modifying the envelope output downstream.
BTW my apologies if this is “old news”. It’s sometimes hard to know what is and isn’t obvious.
Sorry for the confusion, there. The -1 doesn’t serve a purpose for this particular patch. The sequencer I built has that output as another source of modulation that triggers on the beat to give a random alternating value that can be +/-1 that I thought some could use.
If you sub in this new version, this one can work with the negative signals as the inverse envelope.
Edit: It has to be either the positive env or the -env. I am not aware of a way that it can go both ways, but that doesn’t mean it is not possible.
Edit 2: Re-thinking this, after reading @stschoen comment above, and it should not react to the negative input, but it can take the positive input and flip that over and make it negative. Sorry for my idiocy, there. I am simultaneously working on a refresher course of RedHat OpenShift/Kubernetes container management, and so the lights were on, but nobody was home as I made that adjustment hahah
Btw, here’s the SH3-style vibrato module. A4 version. It’s a hz transformation, ie, input/output hz + vibrato in cents. (I began my Audulus journey sidestepping the Audulus octave standard, using units most familiar, hz + cents, easy enough to translate to octave/CV range…)
Wait, haven’t tried to sort it out yet but looking at the waveform viewer there are constant unexpected/undesired peaks/valleys at stage points, expected or A4 change?
Yeah I was afraid that something like that might happen. I haven’t debugged much yet. I’m waiting till A4 is a bit more stable. There are a few feedback loops in the generator that probably need to be tweaked. “Timing is everything”
Gave the multi-stage envelope a shot to see if I could pull something together on my own. First run, not sure I like my counter/mux approach, not sure yet if it’ll stand up to much knob twiddling.
I had a look at your envelope. Interesting design. I like the addition of a sustain toggle and attenuverter knob. I think you may have a bit of an issue when the gate is shorter than the total envelope time. Of course that depends on what you want the envelope to do.
Definitely an issue, I was chasing the same/similar graph yours had… Something to do with the counter/mux setup used to go to each stage. I was going to try to fix it then you posted your update. Also, imo your curve formulas are nicer. Sustain toggle is also in the V4 “Core AD/R” envelope (which thus far is an unfinished Library patch), I thought it was a good idea.