Csound Csound-dev Csound-tekno Search About

[Csnd] Cross-fading to avoid "pops"

Date2018-05-10 12:25
Fromfauveboy
Subject[Csnd] Cross-fading to avoid "pops"
I'm trying to implement the following block diagram in the code also attached
Screen_Shot_2018-05-10_at_11.png
  
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
Csound@listserv.heanet.ie
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