Hello all,
Running Pd version 0.54.1 (Vanilla) on Mac
To repro, simply run doc/3.audio.examples/D05.envelope.pitch.pd, and click either of the attack messages. You'll notice the sound fades out immediately when it should sustain.
The problem is the fact that D05 has two instances of the D02.adsr abstraction, but the instances use the same remote message without the unique $0 identifier.
So to fix, just change "s line" to "s line-$0" and similar for receive objects.
I found an unresolved post from 13 years ago that references the same issue:
https://forum.pdpatchrepo.info/topic/5058/problem-with-d05-envelope-pitch-pd
But rather than try to necro that post, figure I'll make a new post. Is this just me? Am I missing something? Should we update the doc examples?
Cheers,
-Michael
PS: The doc/examples are super helpful, and the only reason I know about the $0 thing at all is from doc/2.control.examples/13.locality.pd