- Can I use my own custom soundfont?
- I get a
ImportError("Couldn't find the FluidSynth library.") - OSError: undefined symbol ffi_type_uint32
You are free to use a soundfont of your choosing, just make sure to update SF2_PATH in robopianist/__init__.py to point to its location. Note only .sf2 soundfonts are supported.
See this stackoverflow answer for a solution.
Add the following to your ~/.bashrc:
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libffi.so.7