Number of channels in the JavaScriptAudioNode

Hi,

In the process of working up some simple synthesis examples, I've come 
across some behaviour I don't understand. Perhaps Chris, Raymond or 
someone familiar with the Web Audio API can help.

I'm trying to create a JavaScriptAudioNode that adds two mono signals 
together (generated by my javascript node-based sine wave generator).

When I execute:

   context = new webkitAudioContext
   node = context.createJavaScriptNode(1024, 2, 1)

I see that 'node' has

   numberOfInputs: 1
   numberOfOutputs: 1

(at least in Chrome 18.0.1025.142)

Is it possible at the moment to create javascript nodes with multiple 
inputs and outputs?

In general what's a good way of working with mono signals? I admit to 
being a little unsure of the best way to use the various splitter and 
merger nodes.

Best,

Chris

Received on Tuesday, 3 April 2012 15:32:19 UTC