Elektrine lite

← Feed

@sjaehn@fosstodon.org

Post #2411783

2021-11-26 11:56 UTC

@murks@social.tchncs.de OK, I didn't explain the purpose of ADSR. Maybe I'm too focused on electronic musicians who want to start programming. For them the purpose was clear before. ADSR envelopes are put on top for each key. To softly fade in (A_ttack), softly go down (D_ecay) to a S_ustain level, and softly fade out (R_elease). Othewise you would only have on (1) or off (0). This would produce very nasty clicks. adsr() simply returns the level of the envelope function for the actual time when a key is on.

Replies (1)

  • @sjaehn@fosstodon.org 2021-11-26 13:35

    @murks@social.tchncs.de And last but not least. The next video will contain a lot of new information. As we will switch to C++11 and have to rewrite parts of the code. Therefore I recommend to take breaks in the video. Go to the resources. There are often additional examples provided.

    Open ##2411784