Well like i asked in the title, i dont get how the adsr class works, and how to implement it. I wrote a wavetable oscilator, works properly with midi, mono and polyphone, so now i wanted to implement an adsr. But i dont get the documentation and haven’t found a detailed tutorial. Does it output float values between 0 and 1 or does it acctually repeat the sound in the buffer while its release phase? Thanks for help:)
It’s easiest to just use the getNextSample method of the ADSR. That outputs a number between 0 and 1.
Thanks a lot, i’ll try:)