Mac Mini G4 - sound on OS 9.2

  • Nominations will close March 25th. If you'd like to join the board and influence how TinkerDifferent runs in the next year, put your name in now!
  • Hey Guest, MARCHintosh 2026 is upon us. Check out community projects, join GlobalTalk, and have fun!

x7x

New Tinkerer
Mar 20, 2026
2
2
3
Hi everyone,
I was sick for a week and I wanted to play some games, but the sound was almost not audible even with external speakers. I must say, I am a beginner in programming classic macs and especially anything low level. Anyways, I consulted the problem with AI and other forums and I always found, that I should buy some amplifiers and speakers. That is ridiculous, because the internal speaker as well as the jack work on different systems and Linux developers figured it out as well, so there must be a solution.

After several hours over few days I vibe-coded a "fix". Well, now the speakers and jack are at maximum volume all the time, but for the use case it is actually fine. It is now perfectly capable gaming machine.

You can find the code bellow with the extension. Hopefully, someone more capable in Mac programming could use it as starting point and maybe finish the sound management properly. I would assume, there must be enable disable pins and than some pins for the volume setting. But vibe-coding pin selection is actually tricky. The system crashed anytime I tired something more advanced. Well anyway, the antisolution as it is now works fine. I have tested it for hours and I did not find any problems and since it is an extension, you can disable it anytime.

Demo video:

Code:
 

x7x

New Tinkerer
Mar 20, 2026
2
2
3
Impressive this actually works, here for the prebuilt extension ready to install: https://macintoshgarden.org/apps/macmini-audio-fix

I really need to restore my iBook G4 to see if it works there too.
It won’t work straight out of the box by design . There is checking for machine type (Power Mac G4 Cube, which is used for the unsupported mac hackaround, and it should show icon with cross as not loaded), I didn’t want to enable random stuff on other devices.
But if the symptoms are same, that means very weak audio on external
speakers and no on internal, I would assume the same problem and similar solution. The problem should be, that there are just amplifiers, that are not enabled - but maybe on different addresses. That should be consulted with someone more knowledgeable. I don’t know if I can find iBook G4 anytime soon and I am busy the whole next week. I will try it as soon as possible.
 
  • Like
Reactions: jackoverfull

davecom

New Tinkerer
Oct 27, 2021
8
8
3
os9.shop
Congrats; I found most interesting the TECHNICAL.txt that explained the issue. Sounds like the amplifier wasn't even turned on before. Do we know of another Mac OS 9 compatible machine that used the same sound hardware as that now identified? See the "Root Cause" section in TECHNICAL.txt