Contribute
Register

Another Apple Startup Chime Solution

Status
Not open for further replies.
Joined
Nov 25, 2010
Messages
1,211
Motherboard
AsRock X570M Pro4
CPU
Ryzen 3700x
Graphics
RX 580
Hi Everyone,

I've recently worked out a simple solution for the Apple Startup Chime. Its installed in three completed iMac G5 A1076 projects that I've done for myself and other family members over the last 2 months. There are other methods of doing this, I'm sure, but this was an inexpensive and versatile solution which produced excellent results.


The Old Way

Up until recently, I've used the Arduino ISD1820 sound recorder module to emulate the Apple Chime. It worked, but was only an 8KHz recording that was done over-the-air to the module from an iPad. Althought the solution worked, the sound quality simply wasn't that great due to the limitations of the module.

The details of that method are found in this post.

This video of the old chime shows that the ISD1820 lacks the rich sound of the original Apple.

[video=youtube;CyXzjWAAi-Q]https://www.youtube.com/watch?v=CyXzjWAAi-Q[/video]



The New Way

The updated method uses an MOL-AU5120 mp3 module from MDFly Electronics. The link is found here. Also required is an SDHC MicroSD card to store the Chime MP3 file. I used a 4GB card, but any size could be used. For Audio output, a volume-adjustable 3W PAM8403 amp and two Apple iMac G4 internal speakers are utilized for 44KHz stereo playback. Total cost for the parts was around 50 dollars.

screenshot_51.png
MWpPG7.png

oNr1t0.png
NapQNZ.png


The Chime playback is triggered by a microcontroller, in this case a Picaxe 08M2. It uses an identical circuit linked in the Old Way above, with the exception of a small software change in the Picaxe code. This MDFly module requires a low signal from the Picaxe chip, where the ISD1820 used a high signal. Its a simple change to one line of the microcontroller code. It was essentially plug 'n play; remove the old playback module and replace with the newer one.

I was also successful in getting the chime to work at startup without a microcontroller; using a simple 5V DC relay instead. The only drawback was that the chime plays upon re-wake from sleep, too. Its not a huge deal, really. More authentic function requires a microcontroller to initiate the chime only during system power-up. I'm unsure of how to get the chime to play upon an OSX restart, as it does with genuine Apple computers.

A labeled diagram of the connections is shown below.

LabeledChimePic.jpg



The operating sequence of the Chime is...

1. MOL-AU5120 MP3 Module live in 5V Standby mode
2. iMac Power Button pressed
3. USB Power supplied to MicroController
4. MicroController sends 'Low' signal to Pin 1 of MOL-AU5120
5. Chime Plays through 3W PAM8403 amp to iMac G4 speakers
6. After re-wake from sleep, no chime played
7. Upon system shutdown, MOL-AU5120 stays live on 5VSB power


Picaxe MicroController Code

Code:
Pause 1000

Low C.1

Pause 1000

High C.1



Videos of Chime operating in 44KHz Stereo

[video=youtube;LJGgr21UVmM]https://www.youtube.com/watch?v=LJGgr21UVmM[/video]

[video=youtube;MSxb_8MLbSM]https://www.youtube.com/watch?v=MSxb_8MLbSM[/video]


The 44KHz MP3 of the Apple Chime is attached to this post. It contains a 1.5 second silent delay at the start, this worked better with the MP3 Playback Module. The file must be saved on a FAT32 formatted MicroSD card with the same filename as shown.

In my opinion, this new method provides a much more authentic chime than the previous. It wasn't difficult or expensive to achieve. Well worth the effort, thanks for reading!


-Ersterhernd
 

Attachments

  • 001.mp3
    58.8 KB · Views: 578
This is impressive work. Did you notice, however that in the video and the MP3 you supplied, the chime is a semitone too sharp? (D as opposed to the regular C#) Or is this a recent change on Apple's part? I haven't heard the startup chime on a Yosemite mac.
 
All that is required to change the chime tone would be to find a different MP3 file that is a 1/2 step lower. I just used one that I found in a google search. Good point you made though.


Cheers!
 
I would totally buy one of these if you made it so it was prepackaged into a nice little box that you can velcro to the inside of any case and literally just needed to be plugged into an internal USB header.

I would totally buy one of these too. Very impressive!
 
Count me in as well! I'd purchase one :)
 
Hi Everyone,
I was also successful in getting the chime to work at startup without a microcontroller; using a simple 5V DC relay instead. The only drawback was that the chime plays upon re-wake from sleep, too. Its not a huge deal, really. More authentic function requires a microcontroller to initiate the chime only during system power-up. I'm unsure of how to get the chime to play upon an OSX restart, as it does with genuine Apple computers.

I think I have a solution for that:
1. Where are you getting your 5V DC power source from? (PSU or USB)
It sounds like usb since it replays on wake...

2. Connect it to the power supply instead because unless the motherboard disconnects standby power from ground, the PSU will stay on... Which means (I don't know what OS X does with power management, it's weird) the chime will only be played when the system turns on the power supply. In case you're confused, the power supply is only turned off on Shutdown and Hibernate.

Keep in mid that this solution is based off my observations on a standard desktop computer running Windows and seeing how the power management works, so I may not be right, but I have a feeling I am.

Also great work using an MP3 Playback module, I know a lot of people want to do the whole chime thing to make it seem like a real mac. I'll point people in your direction to show them it can be done without too much cost.
 
:D Think that, for many years, I've always relied on tricks to mute that damned Startup Chime on original Macs! :lol:
MacPilot, Tinker Tool System, Startup Chime Stopper...
How was I happy to get rid of those workarounds when I had my first Hackintosh! ;)

Amazing job, anyway! :clap:
 
Status
Not open for further replies.
Back
Top