# Part
声部类型。
# 属性
名称 | 类型 | 默认值 | 说明 |
---|---|---|---|
duration | number | - | 总时长 |
measures | Measure[] | [] | 小节 |
metronome | Metronome | - | 节拍 |
sign | string | 'percussion' | 标记 |
timeSignature | TimeSignature | - | 拍号 |
# 返回值
{
"duration": 14000,
"measures": [],
"metronome": {
"beatUnit": 4,
"bpm": 60
},
"sign": "percussion",
"timeSignature": {
"beats": 4,
"beatType": 4
}
}
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13