我试图找到帧列表的能量。我想将它们分为四个标准。例如“弱、正常、强、太强”并制作一个混合数组
normal_frames_array = [
6, 34, 52, 71, 88, 107, 125, 143, 161, 198, 216, 234, 271, 289,
352, 397, 416, 434, 461, 479, 498, 516, 552, 571, 589, 644, 662, 716,
.
.
.
8204, 8222, 8241, 8259, 8277, 8295, 8313, 8332, 8350, 8368, 8386, 8404, 8423, 8441
]
classified_array = [
[6, "weak"],
[34, "normal"],
[52, "strong"],
[71, "very strong"],
.
.
.
[8167, "weak"]
]
我如何在 librosa 中做到这一点?