Skip to main content

Background music

Function Description

Background Music(BgMusic) adds background sounds to the space guide and enriches lecture scenes (background concerts play in parallel with the speech audio).

Effect Display

tip

This example contains voices, please view it in the right context.You can listen to the effect by clicking thebackground musicbutton, and you can re-select the type of function you want to experience after clicking the pause button.

Use Instructions

Using the background music feature, you only need keyframes for the schema add type=BgMusic data such as the 3D space play player that will parse such frame data and render playing as background music.

Field description

info

Specific content parameter types can be seen Vreo API document.

背景音乐类型数据样例
// snippet example
{
"uuid": "daf3e3a8-7b48-4df3-eec5-bdc2a1a1c123",
"type": "BgMusic",
"start": 2000,
"end": 46000,
"parsed": false,
"data": {
"url": "" // .mp3 background music CDN address
}
}
tip

Multiplex music frame data for multiple segments json is sufficient.