First, thanks for creating the Teensy audio board and library. For me it is one of the most useful things to come along in a long time.
What I am trying to do is to create custom envelopes for sine waves. The problem is the clicks and pops that occur when changing the amplitude any significant amount in real time. As I read some of the other comments on the forum, I’m guessing this is a relatively common issue. Perhaps the best solution to this (though I’m open to other suggestions) is to only change the amplitude of the sine generator at zero crossings.
Unfortunately, my programing skills aren’t up to me mucking around with this, but if someone out there with the right skills would like to take a shot at it, I and perhaps many others would be grateful.
A similar feature might be nice for the mixer object, but I’m guessing that detecting and managing the zero crossings might be more challenging with arbitrary waveforms.
What I am trying to do is to create custom envelopes for sine waves. The problem is the clicks and pops that occur when changing the amplitude any significant amount in real time. As I read some of the other comments on the forum, I’m guessing this is a relatively common issue. Perhaps the best solution to this (though I’m open to other suggestions) is to only change the amplitude of the sine generator at zero crossings.
Unfortunately, my programing skills aren’t up to me mucking around with this, but if someone out there with the right skills would like to take a shot at it, I and perhaps many others would be grateful.
A similar feature might be nice for the mixer object, but I’m guessing that detecting and managing the zero crossings might be more challenging with arbitrary waveforms.