[Csnd] Cross-fading to avoid "pops"

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Csnd] Cross-fading to avoid "pops"

I'm trying to implement the following block diagram in the code also attached

it uses an envelope to crossfade between two inputs ( A and B...in the code
theres an A and B for the left and right channel. the envelope moves from 0
to 1.

but what i can't see is how to trigger the envelope. When can I tell it the
sample is about the loop or, when the phase is about to change ( the
variable phaseSet will eventually be a k variable to allow this to happen
within a note event)

Hopefully that is clear, Many thanks.

Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

Csound mailing list
[hidden email]
Send bugs reports to
Discussions of bugs and features can be posted here