[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"

fauveboy
I'm trying to implement the following block diagram in the code also attached
Screen_Shot_2018-05-10_at_11.png
<http://csound.1045644.n5.nabble.com/file/t339654/Screen_Shot_2018-05-10_at_11.png>  
sampler_table.csd
<http://csound.1045644.n5.nabble.com/file/t339654/sampler_table.csd>  

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]
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here