# AgoraRhythmPlayerConfig (/zh-CN/api-reference/rtc/flutter/class-agorarhythmplayerconfig)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_agorarhythmplayerconfig__prototype"></a>

```dart
class AgoraRhythmPlayerConfig {
  const AgoraRhythmPlayerConfig({this.beatsPerMeasure, this.beatsPerMinute});

  @JsonKey(name: 'beatsPerMeasure')
  final int? beatsPerMeasure;
  @JsonKey(name: 'beatsPerMinute')
  final int? beatsPerMinute;
  factory AgoraRhythmPlayerConfig.fromJson(Map<String, dynamic> json) =>
      _$AgoraRhythmPlayerConfigFromJson(json);
  Map<String, dynamic> toJson() => _$AgoraRhythmPlayerConfigToJson(this);
}
```

<a id="class_agorarhythmplayerconfig__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="beatspermeasure"></a>
<Parameter name="beatsPerMeasure">

每小节的拍数，取值范围为 [1,9]。默认值为 4，即每小节包含 1 个强拍和 3 个弱拍。

</Parameter>
<a id="beatsperminute"></a>
<Parameter name="beatsPerMinute">

节拍速度（拍/分钟），取值范围为 [60,360]。默认值为 60，即 1 分钟有 60 拍。

</Parameter>
</ParameterList>
