Closed joshwcomeau closed 8 years ago
Ah, apparently this is just what happens when you use a mono source (eg. an oscillator) with a stereo splitter/merger.
For anyone else using oscillators, I found a solution on StackOverflow: http://jsbin.com/ayijoy/16/edit?html,js,output
Sorry to bug you with this!
First, thanks so much for building such an awesome library!
I'm having an issue where Phaser and Tremolo are both only audible on the Left channel. Bitcrusher does not share the issue.
The value I set for
stereoPhase
does not seem to have any effect.To check what was going on, I set up an interval to log out the values for L/R channels, but nothing appears to be amiss:
Beyond that, I'm pretty stumped. My setup is fairly straightforward; After creating the node I connect it to an output (either another effect node, or context.destination).
When I use Bitcrusher or native Web Audio nodes, stereo works properly. When I set
bypass
to 1, as well, the stereo works.If seeing the source would help, the tremolo node is created here, and updated here.
EDIT: It appears that the issue is just with Web Audio oscillators. I updated the example pen to use a Tremolo and a simple sine oscillator, and the left-channel-only bug exists: http://codepen.io/anon/pen/JRYawk?editors=0010