Mac 用python转换midi到wav

https://blog.csdn.net/weixin_40356612/article/details/106123137

 

pip install midi2audio

pip install fluidsynth

在https://musescore.org/en/handbook/3/soundfonts-and-sfz-files#list中下载

MuseScore 2 (as of version 2.2) and 3 come with MuseScore_General.sf3 (35.9 MB) (SF2 version (208 MB)) and are being updated from time to time (see the Changelog).中208MB的文件

在访达中搜索报错的路径,或者是.fluidsynth,替换里面的文件并重命名

 

 

from midi2audio import FluidSynth
s = FluidSynth()
fs.midi_to_audio('input.mid', 'output.wav')

 

posted @ 2022-05-21 07:20  星涅爱别离  阅读(195)  评论(0编辑  收藏  举报