HEOAudio
Label | function |
---|---|
Audio Type |
Choose from BGM, SE, or SystemSE |
Audio Clip |
Specify the audio file. Currently, only mp3 files are supported. |
loop |
Set if you want it to loop. |
autoplay |
If you want the audio to play automatically after joining. e.g. world BGM. |
Each Audio Type
matches the In-game config label.
Audio Type | In-game config label |
---|---|
BGM |
Music |
SE |
Effects |
System SE |
Interface |
By accessing the in-game config, the player may set the volume of each audio type.
Audio file format
When setting an audio file, please follow the format below:
Label | Value |
---|---|
File format | mp3 |
Sampling rate | 44100 Hz |
Bit rate | 160 kbps |
Note
Upon using HEOAudio for playing BGM, consider the following:
- When a video file is playing, the video audio will be prioritized.
- SDK does not support distance falloff.