Agora Java API Reference for Android
|
Public Attributes | |
int | beatsPerMeasure |
int | beatsPerMinute |
boolean | publish |
The metronome configuration, which is set in startRhythmPlayer
or configRhythmPlayer
.
int io.agora.rtc.audio.AgoraRhythmPlayerConfig.beatsPerMeasure |
The number of beats per measure. The range is 1 to 9. The default value is 4, which means that each measure contains one downbeat and three upbeats.
int io.agora.rtc.audio.AgoraRhythmPlayerConfig.beatsPerMinute |
Tempo (beats per minute). The range is 60 to 360. The default value is 60, which means that the metronome plays 60 beats in one minute.
boolean io.agora.rtc.audio.AgoraRhythmPlayerConfig.publish |
Whether to publish the sound of the metronome to remote users: