Music Mode
Music mode is a new setting for transmitting a high-quality audio stream into a conference. The mode includes audio enhancements that improve the perceptual quality of music content. Music mode is available in the Dolby.io Communications SDK for Web version 3.8 or later when running on Chrome or Edge on desktop operating systems.
With Music mode, the captured audio is transmitted with a high-quality stream. A standard stream is 32kHz/32kbps; music mode increases this to 48kHz/96kbps. In addition, turning on music mode enables new processing designed to enhance the captured music.
Setting the mode in a client changes the stream sent from that client. When a Music mode stream is received by other clients in the call, the stream is rendered in stereo using technology developed for the highly popular DolbyOn application.

Use cases
Music mode is designed to work well in the following use cases:
- Webinars which include a segment where a live or prerecorded performance is played
- Interactive music events with a music performance followed by a Q&A session
- Online music lessons where a teacher and a student use music mode, one at a time
Music mode is not designed to allow remote musicians to play together over the Internet.
Prerequisites
Music mode is available in the Dolby.io Communication SDK for Web version 3.8 or later. The system and hardware requirements are different for sending and receiving music.
Receiving music only requires using Web SDK 3.8 or later.
Sending music requires using Web SDK 3.8 or later and either Chrome or Edge browser on a desktop operating system. Additionally, the minimum hardware requirements are:
- i5 dual-core or Apple Silicon CPU
- 8GB of RAM
- 64-bit operating system
When used with other CPU-intensive features, such as bokeh for video, then a higher-performing CPU is required, such as i7 dual-core or Apple Silicon CPU.
Creating and joining a conference with music support
Music mode is supported only in Dolby Voice conferences. To create a Dolby Voice conference, set the dolbyVoice parameter to true:
const createOptions = {
alias: conferenceAlias,
params: {
dolbyVoice: true,
...
}
};
await VoxeetSDK.conference.create(conference, createOptions);
The mode is supported only when the SDK uses the Dolby Voice Codec (DVC), therefore, participants who want to be able to send music using Music mode must join the conference with the dvwc parameter enabled:
const joinOptions = {
constraints: { audio: true, video: true },
dvwc: true,
};
await VoxeetSDK.conference.join(conference, joinOptions);
The parameter setting cannot be modified during a call. Setting the dvwc parameter to true is not required to receive music.
Enabling Music mode
To send music, an application must set the capture mode. This is only required for the sender; receivers do not need to change the mode. Recordings include stereofied music.
You can change the mode using the method setCaptureMode with a mode of "music":
VoxeetSDK.audio.local.setCaptureMode({mode: "music"});
The mode can be set before or during a conference and can be changed as needed. Music mode can be turned off by changing to another mode, such as standard or unprocessed mode:
VoxeetSDK.audio.local.setCaptureMode({mode: "standard"});
Music mode should be enabled only as needed by the application as this mode allows more background audio into a conference. If everyone is using Music mode, a conference may become too noisy. An application should swap between music and non-music modes as appropriate.
Echo cancellation
Echo cancellation prevents a participant’s microphone from capturing other participants' audio played from the participant's speakers. Without echo cancellation, if any participant uses speakers and a microphone, the other participants will hear themselves echoed back. To prevent this, echo cancellation is enabled by default.
However, additional audio processing required for echo cancellation can impact the quality of the music. Therefore, we recommend disabling echo cancellation and using Music mode with headphones that prevent echo.
The echo cancellation setting can be turned on or off when enabling Music mode. As it defaults to "on", the sample code mentioned before enabled music mode with echo cancellation. To disable echo cancellation and improve the quality of music, use the echo cancellation setting that is included in the mode options:
VoxeetSDK.audio.local.setCaptureMode({mode: "music", modeOptions: {echoCancellation: "off"}});
Backward compatibility
Music mode is backward compatible with older SDKs. As these SDKs do not have music mode enhancements, the music stream is transmitted to the clients as a mono 32kHz/24kbps stream.
Troubleshooting
In the case of experiencing issues while using the mode, see the Troubleshooting guide.
Updated 3 months ago