hot swappable effects layer
there is no crossfading or envelopes built into this. the mix is always 100% wet. it is meant as a raw component that a more sophisticated switcher can use.
see PlayerSocket which does a crossfade between two voices
abus |
aplayer | |
bundle | |
releaseTime |
Even if you have prepared the players, they are spawned in a subgroup of the group the PlayerEffectSocket is playing on, and the bus the PlayerEffectSocket is assigned to.
You can also use e.preparePlayer(f); e.preparePlayer(g); which will directly prepare them for the right group and bus.
// note PlayerInputProxy on first input f.insp g.insp
setSource finds the first PlayerInputProxy in the Patch and sets its input bus