This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The readonly mozAudioChannelType property of the AudioContext interface can be used to set the audio channel that the sound playing in an audio context element will play in, on a Firefox OS device.

It is a non-standard property, defined in the AudioChannels API; see Using the AudioChannels API for more details.


var audioCtx = new AudioContext();
var myAudioChannelType = audioCtx.mozAudioChannelType;

You can only set the audio channel type of your AudioContext by using the following constructor:

var audioCtx = new AudioContext('ringer');


A DOMString value.




The AudioChannels API has no official spec at the moment; see for implementation details, WebIDL, etc.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
General support Not supported Not supported Not supported Not supported Not supported
Feature Android Chrome Firefox Mobile (Gecko) Firefox OS IE Phone Opera Mobile Safari Mobile
General support Not supported Not supported Not supported 1.2 Not supported Not supported Not supported

See also

Document Tags and Contributors

 Contributors to this page: fscholz, teoli, kscarfone, chrisdavidmills
 Last updated by: fscholz,