Open shmup opened 3 months ago
Howdy! So this is working for me, but here was my experience:
pip install pygame numpy cvxpy mido
curl -o temp.mid -s https://bitmidi.com/uploads/72257.mid python pong.py temp.mid
dnf install timidity++ export TIMIDITY_CFG=/etc/timidity++.cfg python pong.py temp.mid
export SDL_SOUNDFONTS=/usr/share/soundfonts/fluid3gm.cfg python pong.py temp.mid 🎉🎉🎉
Figured you might know exactly what a system will need for midi playback, and also curiously, why I had to specify both? I imagine it didn't actually use both timidity and fluid3gm. Anyways, opening this for clarity and potentially an updated README
I'm not sure about the requirements for pygame. I tried a few midi players, and found pygame supported more of the midi's I tested than others.
Howdy! So this is working for me, but here was my experience:
pip install pygame numpy cvxpy mido
then:Figured you might know exactly what a system will need for midi playback, and also curiously, why I had to specify both? I imagine it didn't actually use both timidity and fluid3gm. Anyways, opening this for clarity and potentially an updated README