i can’t get any audio to play. here’s the error i’m getting:
DirectStart: Starting the game.
Known pipe types:
(all display modules loaded.)
:movies(error): Could not open /c/Panda3D-1.8.1/bin/theme.mid
:audio(error): Cannot open file: /c/Panda3D-1.8.1/bin/theme.mid
:audio(error): Could not open audio /c/Panda3D-1.8.1/bin/theme.mid
:pgraph(warning): No bin named ground; creating default bin.
You can’t use MIDI files. You will have to use a synthesiser to convert it to a sound like .wav or .ogg.
so why is it then when i download someone elses file and look at their main.py they have .mid and it plays when i run it?
maybe he is using FMOD, which supports midi files
it works even though it’s on my computer and not his?
Indeed: Panda can, I believe, be built to include FMOD (I’m not sure of whether the standard pre-built SDK downloads include it), in which case you should get the FMOD dlls with the game.
The main reason that you might not use FMOD yourself is, I believe, that it uses a commercial licence.
You’d have to switch to FMOD in your Config.prc file: