Skip to content

Commit 9a99148

Browse files
committed
FluidSynth docs: merge new and old information
1 parent 31dcb13 commit 9a99148

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

mingus/midi/fluidsynth.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
need fluidsynth and a nice instrument collection (look here:
2424
http://www.hammersound.net, go to Sounds → Soundfont Library → Collections).
2525
26+
An alternative is the FreePats project. You can download a SoundFont from
27+
https://freepats.zenvoid.org/SoundSets/general-midi.html. Note that you will
28+
need to uncompress the .tar.xz archive to get the actual .sf2 file.
29+
2630
To start using FluidSynth with mingus, do:
2731
>>> from mingus.midi import fluidsynth
2832
>>> fluidsynth.init('soundfontlocation.sf2')

unittest/test_fluidsynth.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ class test_fluidsynth(unittest.TestCase):
1818
You must provide the path to a SoundFont file (*.sf2) in the SOUNDFONT
1919
environment variable.
2020
21-
In case you're looking for one, you can download a free and open SoundFont
22-
from the website below. Note that you will need to uncompress the .tar.xz
23-
archive to get the actual .sf2 file.
24-
25-
https://freepats.zenvoid.org/SoundSets/general-midi.html
21+
Check the :py:mod:`mingus.midi.fluidsynth` module for tips on finding
22+
SoundFonts.
2623
"""
2724
def setUp(self):
2825
soundfont = os.getenv("SOUNDFONT")

0 commit comments

Comments
 (0)