osx - Is it possible to output more than 8 channels with Web Audio API? -


I am experimenting with the Web Audio API to control the playback of interactive music in a multi-channel setup. So far, I have been able to direct the voice of 8 different channels on my 12 channel sound card to 8 oscillators, but as soon as I try to use more than 8 channels, all the channels are muted suddenly . After a lot of research I have also come to know that Audio Contexture Sequentimes gets stuck at a value near zero.

This is my result from Mac OSX 10.8.5 Google Chrome version 39.0.2171.27 beta (64-bit) and version 40.0.2192.0 Canary (64-bit).

Safari does not allow me to address more than 2 channels Firefox finds my 12 channel with audioContext.destination.maxChannelCount but my sound is channel 1 & amp; nbsp; ; 2 does not matter if i oscillator gain.connect (channel margar, 0, i) .

What are you working there?

Here is the code:

  var AudioContext = window.AudioContext || Window.webkitAudioContext; Var audioocontex = new audiocontent (); Var maxChannelCount = AudioContext.destination.maxChannelCount; // If set to maximum 8 then it works fine in Chrome, but this line breaks // audio if sound card audio converting more than 8 channels. AudioContext.destination.channelCountMode = "Clear"; Audiocontacttitanation.channelInterpretation = "discrete"; Var channelMerger = audioContext.createChannelMerger (maxChannelCount); ChannelMerger.channelCount = 1; ChannelMerger.channelCountMode = "Clear"; ChannelMerger.channelInterpretation = "Discrete"; ChannelMerger.connect (audioContext.destination); (Var i = 0; i & lt; maxChannelCount; i ++) for {var oscillator = audioContext.createOscillator (); Oscillator.connect (Channel Marger, 0, I); Oscillator.start (0); }  

We have not implemented multi-channel support in Firefox. This is being given priority and will be at some point in the next two quarters, and will be released shortly thereafter.


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

android - how to get distance of 2 beacons and make a condtion base on that distance -

c# - WPF Expander overlay used in ItemsControl -