![]() ![]() Set the spatial position, number of loops, playback position, volume, and other playback options of an audio effect.Play local or online audio effect files. ![]() ![]() Supported functions include the following: Usually, you can play multiple audio effects at the same time.Īgora provides a group of methods to play and manage audio effect files. In this context, the audio effects are ambient sounds with a short duration, such as applause, cheers, fighting sounds, and gunshots. You can view the source code on Github or download the project to try it out. Sample project Īgora provides an open-source demo project on GitHub that implements playing audio effect files and a music file. Agora provides two independent groups of methods so that you can play audio effect files and a music file separately. For example, users might add fighting sounds when playing an action game or include an accompaniment when singing. During real-time audio and video interaction, for better atmosphere or entertainment, users often need to play audio effects or background music and make all users in the channel hear them. ![]()
0 Comments
Leave a Reply. |