Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Sound on the Raspberry Pi

Last updated on 2 hours ago
BohunBohunDistro Maintainer
Posted 2 months ago
Does the sound from apps/games work for you?

My Prefs/AHI test sound beeps, but I can't hear any sound from any of the games/demos available in Extras.
J
Jeff1138Senior Member
Posted 2 months ago
Hi,

Sometimes, shell Play filename.ext works for me with good mp3 wav and aac but Echo "Hello World" >SPEAK:A1 does not

Nothing from the radio internet channels from Amelinium

Make sure you save for Music and Unit 0 from Prefs
Edited by Jeff1138 on 04-10-2026 05:35, 2 months ago
B
bsekNewbie
Posted 2 months ago
@Bohun can you please give me one example of an demo or game where sound does not work? And which pi model do you use?
BohunBohunDistro Maintainer
Posted 2 months ago
@bsek
I ran SuperTrevorLand on my RPi 3B+ and the sound is working! I just need to set the output in AHI to the audio jack, not HDMI. I apologize for my mistake.
J
Jeff1138Senior Member
Posted 2 months ago
Hi,

Amelinium 1.31 has a AHI audio setting which now works as well as Say "Hello world"

Thanks
Edited by Jeff1138 on 10-10-2026 02:12, 2 months ago
M
miker1264Software Dev
Posted 18 hours ago
I'm trying to get my AHI audio on my pi400 to work.

I set AHI prefs to unit 0 to use HDMI audio. I connected to a smart TV to see if HDMI audio works. I can see wav files playing in MultiView but I get no sound output. Volume is 100.

Are there any steps I missed? How do I get the HDMI sound to work?
J
Jeff1138Senior Member
Posted 9 hours ago
Hi,

In Prefs AHI, does RPiHDMI:16bit stereo++ Play a test sound work?

Did you press Save button?

Apart from that cannot think of anything else.
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 9 hours ago
miker, in envarc, delete the ahi.prefs file; if you had an old configuration for different hardware, delete it
M
miker1264Software Dev
Posted 4 hours ago
There's no ahi.prefs file to delete.

I was able to figure out that it has to be set to unit 0 and HDMI slider can be set to 0 or 2 which corresponds to HDMI 1 and HDMI 2. My pi was connected to HDMI 2. I was then able to play a test sound which was an audible beep. It was very loud.

But it won't let me save ahi.prefs As soon as I select save ahi closes. But when I open it again everything is reset to the previous settings. Also, when playing wav or 8svx music in MultView I don't get HDMI sound.

Why does it play a beep but no sound and why won't prefs save?
J
Jeff1138Senior Member
Posted 4 hours ago
Hi,

If you are using a SD card, can you save anything to the card? It not, the card might have gone faulty and gone into read only mode
M
miker1264Software Dev
Posted 4 hours ago
I copied all my test files to RAM: and the micro sd card can store data correctly.

I'm going to try saving AHI prefs on x86-64 so I can examine the file.
Then I may try to compile ahihdmi.device again for Aarch64.
Edited by miker1264 on 26-11-2026 13:45, 2 hours ago
M
miker1264Software Dev
Posted 2 hours ago
Sometimes when you set out to do something it gets more difficult as you get deeper into the task. Such as with testing ahi audio on my Pi400.

Copilot AI says using MultiView isn't the preferred way to test ahi sound.

So, I compiled PlayMp3-GUI that AMIGASYSTEM put together for us. But then it's a frontend to miniMP3. So, had to compile that too. The PlayMp3-GUI had a couple compile errors that I fixed then it compiled.

The miniMP3 is a cli app to play MP3 files. It needed an ahi audio wrapper mimimp3_aros.c along with the .h files from miniMP3 project. After I set up a mmakefile.src for that it compiled for Aarch64. :-)

Well, if this all works then Raspberry Pi users for Pi_Aros will have new toys, I mean apps to play with. ;-)
Edited by miker1264 on 26-11-2026 13:41, 2 hours ago
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Moderator: Administrator
Users who participated in discussion: AMIGASYSTEM, miker1264, Jeff1138, Bohun, bsek