2017-03-02 97 views
1

我已經下載mingus並希望運行pygame-drum示例。我已經安裝了各種依賴它需要如pygamefluidsynthpygame鼓在mingus中的示例給出fluidsynth soundfont.sf2加載錯誤

我碰到下面當我運行:

python pygame-drum.py 

fluidsynth: error: Unable to open file "soundfont.sf2" 
fluidsynth: error: Couldn't load soundfont file 
fluidsynth: error: Failed to load SoundFont "soundfont.sf2" 
Couldn't load soundfont soundfont.sf2 

現在缺少在這種情況下,什麼更多的,我需要安裝,使pygame-drum示例工作?

回答

0

你有沒有試過apt-get install fluidsynth?

$ sudo apt-get install fluidsynth 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
The following additional packages will be installed: 
    fluid-soundfont-gm libfluidsynth1 libqt5x11extras5 qsynth 
Suggested packages: 
    fluid-soundfont-gs timidity jackd 
The following NEW packages will be installed: 
    fluid-soundfont-gm fluidsynth libfluidsynth1 libqt5x11extras5 qsynth 
0 upgraded, 5 newly installed, 0 to remove and 210 not upgraded.