AgoraRhythmPlayerConfig

  • Android

更新时间

配置节拍器参数。

Java
public class AgoraRhythmPlayerConfig {
  public int beatsPerMeasure;
  public int beatsPerMinute;
}

属性

beatsPerMeasure

每小节的拍数,取值范围为 1 到 9。默认值为 4,表示每小节包含一个强拍和三个弱拍。

beatsPerMinute

节拍速度,单位为拍/分钟,取值范围为 60 到 360。默认值为 60,表示节拍器每分钟播放 60 拍。

这个页面有帮助吗?