mpf-mc error: "could not load sound file due to an error: b'Unrecognized audio format'"

43 views
Skip to first unread message

Aziz Pinball

unread,
Mar 23, 2026, 5:01:30 PM (10 days ago) Mar 23
to MPF Users
Hey!

I just installed a fresh mpf 0.56.2 .with mpf-mc 0.56.1 on a fresh Ubunti 24.04 LTS on the computer of my game. That is the same setup I use on my dev laptop. When I run the game code on my laptop connected to the hardware, everything works fine. When I run the same game code on the machine computer, mpf-mc has a problem with my .wav-files and will not run. 
Is that a problem with the OS? Can anybody give me some hints?

Thank you!
-zap

2026-03-23-21-40-38-mc-hypnotron.log

chud...@gmail.com

unread,
Mar 24, 2026, 8:55:26 AM (9 days ago) Mar 24
to mpf-...@googlegroups.com

Hi ,

 

Just curious. Can WAV files be played correctly directly from the fresh OS?

 

Cheers,

 

De : mpf-...@googlegroups.com <mpf-...@googlegroups.com> De la part de Aziz Pinball
Envoyé : lundi 23 mars 2026 22:02
À : MPF Users <mpf-...@googlegroups.com>
Objet : [mpf-users] mpf-mc error: "could not load sound file due to an error: b'Unrecognized audio format'"

--
You received this message because you are subscribed to the Google Groups "MPF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpf-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mpf-users/a34c9a46-c85c-4ad5-9183-19191caf3a47n%40googlegroups.com.

Aziz Pinball

unread,
Mar 24, 2026, 8:59:10 AM (9 days ago) Mar 24
to MPF Users
Hi! 

Yes, mplayer will play the files just fine.

Aziz Pinball

unread,
Mar 24, 2026, 9:32:15 AM (9 days ago) Mar 24
to MPF Users
However, when I removed the questionable files from the /sounds/sfx directory and config files, my sound is working now. So there is something fishy about those files. Does not seem to be an mpf mc issue though. 

chud...@gmail.com

unread,
Mar 24, 2026, 10:57:41 AM (9 days ago) Mar 24
to mpf-...@googlegroups.com

Fine.  Just try to edit and re-encode one wav file and see what happen.

 

De : mpf-...@googlegroups.com <mpf-...@googlegroups.com> De la part de Aziz Pinball

Envoyé : mardi 24 mars 2026 14:32
À : MPF Users <mpf-...@googlegroups.com>
Objet : Re: [mpf-users] mpf-mc error: "could not load sound file due to an error: b'Unrecognized audio format'"

Reply all
Reply to author
Forward
0 new messages