Closed fenomas closed 7 years ago
signal flow is : each note =>this.chvol[ch]=>this.chpan[ch]=>this.out=>this.conv/this.rev=>this.comp=>this.dest
chpan[] to actx.destination is not connected directly. this.out controls master volume. I recommend inserting nodes between chvol[ch] and chpan[ch].
However there is a problem that chpan[ch] may be omitted if the browser has not createStereoPanner(), that Safari does not support yet. If you need to support safari, around webaudio-tinysynth.js line 1074 should be modified.
All very clear, thanks!
Hi,
I'd like to differentiate the voices produced by tinysynth (e.g. add distortion to one channel but not others, or apply different amounts of reverb to different channels). Would inserting new audio nodes between the
chPan
nodes andactx.destination
be the correct way to do it? That is:or something along those lines? Or is there a better/safer way to do this?
Thanks!