Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.audio.AgoraRhythmPlayerConfig Class Reference

The metronome configuration. More...

## Public Member Functions
int | getBeatsPerMeasure ()
int | getBeatsPerMinute ()

## Public Attributes
int | beatsPerMeasure
int | beatsPerMinute

## Detailed Description

The metronome configuration.

## Member Data Documentation

## ◆ beatsPerMeasure

int io.agora.rtc2.audio.AgoraRhythmPlayerConfig.beatsPerMeasure

The number of beats per measure, which ranges from 1 to 9. The default value is 4, which means that each measure contains one downbeat and three upbeats.

## ◆ beatsPerMinute

int io.agora.rtc2.audio.AgoraRhythmPlayerConfig.beatsPerMinute

The beat speed (beats/minute), which ranges from 60 to 360. The default value is 60, which means that the metronome plays 60 beats in one minute.