pure-data / pddp

Pure Data Documentation Project
9 stars 2 forks source link

Add an ADSR envelope example to [slop~] and improve 'slew' example. #226

Closed porres closed 4 days ago

porres commented 1 month ago

I have been teaching and using [slop~] to implement an ADSR envelope since this object came out. I'd like to also add this as an example to [slop~] documentation.

Here's it as an abstraction, I would adapt it not to be an abstraction.

Screenshot 2024-07-06 at 16 37 28

As for an abstraction, I should probably open a new issue, but I'd also like to propose yet another [adsr~] abstraction for the control examples that uses this mechanism.

porres commented 1 month ago

For the record, this is what an actual usual non linear envelope generator works, right? What do you people say?

porres commented 1 month ago

I'm also adding another patch for the slew limiting example to make it clear how it works

Screenshot 2024-07-06 at 18 10 45
porres commented 1 month ago

And here's the envelope example

Screenshot 2024-07-06 at 18 14 08