IIRC: By *default*, the destination node will set itself to stereo.
However, you can observe from the maxChannelCount on the destination node
that it has more channels available, and you can set its channelCount to <=
that number (e.g. 4, for a 4-output device or the first four channels of a
6-channel device), then use a MergerMode to construct the 4-channel stream
you want to send to that device. Don't forget to set channelMode to
"explicit" so it doesn't upmix/downmix using the defined layouts.
On Sun, Sep 14, 2014 at 10:29 AM, Yehonathan Sharvit <viebel@gmail.com>
wrote:
> Hi Stéphane,
>
> I don't understand your question.
> In the standard (
> http://webaudio.github.io/web-audio-api/#speaker-channel-layouts), it is
> specified that you can work with a 5.1 channel layout.
>
>
>
>
> On Sun, Sep 14, 2014 at 8:20 AM, Stéphane Letz <letz@grame.fr> wrote:
>
>> Hi,
>>
>> It seems that AudioContext are currently only stereo. What are the plan
>> in this area? Will multi-channel audio interfaces be usable in a near
>> future, so that each audio channel can be accessed independently?
>>
>> Thanks.
>>
>> Beat Regards
>>
>> Stéphane Letz
>>
>
>
>
> --
> "Are we what we become or do we become what we are?" - Prof. Beno Gross
>