11.18.17 | Week 12. Blog Debrief
Started working on ADSR envelopes: boop
While most of the code (firing / silencing notes, making checks, etc.) is only fired as needed (the entire thing doesn't use loop() in any capacity), the ADSR envelopes are being fired as part of a do-while loop when the note is playing. Due to their nature of changing volume in semi-realtime, achieving properly smooth envelope effects requires a fairly frequent rate of adjustment.
While most of the code (firing / silencing notes, making checks, etc.) is only fired as needed (the entire thing doesn't use loop() in any capacity), the ADSR envelopes are being fired as part of a do-while loop when the note is playing. Due to their nature of changing volume in semi-realtime, achieving properly smooth envelope effects requires a fairly frequent rate of adjustment.
Comments
Post a Comment