https://xxyh.xiaoli.icu/api/p_tempo.phphttps://xxyh.xiaoli.icu/api/p_tempo.php?bpm=120&beat=4传 BPM 与每小节拍数,返回各音符时值(毫秒)、整小节时长与每分钟小节数,做节拍器与音游谱面用。
QQ 音乐接口结果缓存 5-10 分钟;乐理工具为纯本地计算,毫秒级返回。
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
bpm |
int | 选填 | 120 | 每分钟拍数 |
beat |
int | 选填 | 4 | 每小节拍数 |
https://xxyh.xiaoli.icu/api/p_tempo.php
此处将显示接口返回结果…
{
"code": 200,
"msg": "ok",
"data": { "…": "字段随接口不同,详见在线调试" }
}
—