[sharing] early serge modular envelope generator emulation

bertrandfraysse's icon

I keep working on a timing and event generation system inspired by serge modular music system and analog modular synthesis in general.

Here is an emulation of the early serge modular envelope generator.
You can see it on the far right of Doug Lynner's mystery serge
http://www.serge.synth.net/gallery/dl/pic/mystery_3_l.jpg

You can watch this video, he explains how it works on this same panel.
creating polyrhythms with two of these envelope generators.
https://www.youtube.com/watch?v=psLT_xTa5I0

and some explanations by Ken Stone

-

It features 6 main inputs.
It's a ramp/triangle envelope generator.
The first input is the start, or trigger input.
The second one is the rise length of the triangle.
The third is the falling length of the triangle.
The fourth is controlling the length of the triangle.
The fifth is an hold function, while a pulse is fed to it, it freezes the envelope to it's current state. (it works only while the window pulse is on, see the sixth parameter)
The sixth generate a pulse delay in correlation to the length of the envelope.
a seventh parameter was added to cycle the envelope generator, to turn it into an LFO.

I decided to split the rise and falling parts of the envelope to be able to later process them independently (exponential/logarithmic shapes)

It never re-triggers while the envelope is on, generating nice rhythm events/pulse divisions, related to the start trigger.
you can use more than one to generate polyrhythms.

The interface on the patch is shitty, the same goes for the parameter ranges.
If anyone wants to try on making a nice interface, he is more than welcome.

Max Patch
Copy patch and select New From Clipboard in Max.

Here is the patch.
I hope you'll enjoy it !
Don't hesitate to leave a message.

Jochen's icon

Thanks for sharing, Bertrand!
Excellent!

hzd's icon

Hi. This is what I've been looking for.

I'm not very good at gen~ and I'm trying to get it to retrigger. How would I go abouts doing that?

thx

Ernest's icon

Hi, you can find some discussion of that here:

https://www.yofiel.com/software/cycling-74-patches/adsr-envelope

The gen library contains the patch and is $15. If you dont want to buy it, the design is fully illustrated.

bertrandfraysse's icon

you are lucky, I've been interested in re-creating it again, so here is the new version.
it's badly documented, if you can't use it, I'll make it more user-friendly.
there's one more input, so you can use it as an actual slope generator, or you can trigger it like an envelope with the second input.
there's a re-trigger mode, as you wanted, it's on by default, but you can change it.
the positive and negative slew values are inverted, the smaller, the longer.
It's on exponential mode, it can easily be linear if needed, but it sounds better as it is when used as an envelope generator.
enjoy !

Max Patch
Copy patch and select New From Clipboard in Max.

hzd's icon

Nice. Gig coming up next week :)

Looking forward to take this baby for a spin.

thx

hzd's icon

Loving this.

good job

bertrandfraysse's icon

good to know you like it ! and If you find some crazy use and abuse of it, don't hesitate to share.

hzd's icon

I’ve attached a youtube clip of a impro jam in my livingroom, where I’m using the patch to send CV to Moddemix via Expert Sleepers ES-8.
Somewhere in the beginning, where you can see me fiddeling with the Launch Control, I’m using the patch in cycle mode. I like the Maths module in this mode :)

Anyway, probably not the craziest way of using or abusing the patch, but still :)

Phil Maguire's icon

Bertrand, did you ever make an annotated version of your patch? I'm not familiar with [codebox] so some simple explanations of what the code is doing would be handy to learn from!