Another Apple Startup Chime Solution

Discussion in 'iMac Mods' started by ersterhernd, Jan 31, 2015.

  1. ersterhernd

    ersterhernd

    Joined:
    Nov 25, 2010
    Messages:
    1,197
    Mobo:
    MSI Z77MA-G45
    CPU:
    i7-3770k @ 4.3 GHz
    Graphics:
    Gigabyte R9 280X Windforce 3GB
    Mobile Phone:
    Android
    Jan 31, 2015 at 7:43 PM #1
    ersterhernd

    ersterhernd

    Joined:
    Nov 25, 2010
    Messages:
    1,197
    Mobo:
    MSI Z77MA-G45
    CPU:
    i7-3770k @ 4.3 GHz
    Graphics:
    Gigabyte R9 280X Windforce 3GB
    Mobile Phone:
    Android
    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.

    [​IMG] [​IMG]
    [​IMG] [​IMG]

    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.

    [​IMG]


    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 (Text):


    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
     

    Attached Files:

  2. Gordo74

    Gordo74

    Joined:
    Nov 16, 2010
    Messages:
    2,733
    Mobo:
    Asus P8Z77-I
    CPU:
    i7 3770 @ 4.1Ghz
    Graphics:
    GTX 660 Ti
    Mac:
    iMac, MacBook Pro, Mac mini
    Mobile Phone:
    iOS
    Feb 6, 2015 at 2:22 PM #2
    Gordo74

    Gordo74

    Joined:
    Nov 16, 2010
    Messages:
    2,733
    Mobo:
    Asus P8Z77-I
    CPU:
    i7 3770 @ 4.1Ghz
    Graphics:
    GTX 660 Ti
    Mac:
    iMac, MacBook Pro, Mac mini
    Mobile Phone:
    iOS
    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.
     
  3. tstones

    tstones

    Joined:
    Aug 26, 2010
    Messages:
    13
    Mobo:
    Z77E-ITX
    CPU:
    3770
    Graphics:
    680
    Feb 6, 2015 at 2:28 PM #3
    tstones

    tstones

    Joined:
    Aug 26, 2010
    Messages:
    13
    Mobo:
    Z77E-ITX
    CPU:
    3770
    Graphics:
    680
    Me too I would buy:)

    Gordo74 long time no see!
     
  4. vanmanradio

    vanmanradio

    Joined:
    Sep 13, 2013
    Messages:
    20
    Mobo:
    Gigabyte H97m-D3H
    CPU:
    Intel core i5 4590
    Graphics:
    GTX 770
    Mac:
    MacBook
    Mobile Phone:
    Android
    Feb 6, 2015 at 2:32 PM #4
    vanmanradio

    vanmanradio

    Joined:
    Sep 13, 2013
    Messages:
    20
    Mobo:
    Gigabyte H97m-D3H
    CPU:
    Intel core i5 4590
    Graphics:
    GTX 770
    Mac:
    MacBook
    Mobile Phone:
    Android
    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.
     
  5. ersterhernd

    ersterhernd

    Joined:
    Nov 25, 2010
    Messages:
    1,197
    Mobo:
    MSI Z77MA-G45
    CPU:
    i7-3770k @ 4.3 GHz
    Graphics:
    Gigabyte R9 280X Windforce 3GB
    Mobile Phone:
    Android
    Feb 6, 2015 at 4:15 PM #5
    ersterhernd

    ersterhernd

    Joined:
    Nov 25, 2010
    Messages:
    1,197
    Mobo:
    MSI Z77MA-G45
    CPU:
    i7-3770k @ 4.3 GHz
    Graphics:
    Gigabyte R9 280X Windforce 3GB
    Mobile Phone:
    Android
    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!
     
  6. brandonb927

    brandonb927

    Joined:
    Mar 11, 2011
    Messages:
    27
    Mobo:
    Gigabyte GA-B75M-D3P
    CPU:
    Intel i5-3470
    Graphics:
    EVGA GT 640 2GB
    Mac:
    MacBook Air
    Mobile Phone:
    Android, iOS
    Feb 6, 2015 at 6:37 PM #6
    brandonb927

    brandonb927

    Joined:
    Mar 11, 2011
    Messages:
    27
    Mobo:
    Gigabyte GA-B75M-D3P
    CPU:
    Intel i5-3470
    Graphics:
    EVGA GT 640 2GB
    Mac:
    MacBook Air
    Mobile Phone:
    Android, iOS
    I would totally buy one of these too. Very impressive!
     
  7. pyrolad

    pyrolad

    Joined:
    Jan 1, 2013
    Messages:
    3
    Mobo:
    iMac5,1
    CPU:
    Core2Duo
    Graphics:
    RadeonX1600
    Feb 7, 2015 at 1:03 AM #7
    pyrolad

    pyrolad

    Joined:
    Jan 1, 2013
    Messages:
    3
    Mobo:
    iMac5,1
    CPU:
    Core2Duo
    Graphics:
    RadeonX1600
    Count me in as well! I'd purchase one :)
     
  8. akhilv1

    akhilv1

    Joined:
    Jul 6, 2011
    Messages:
    190
    Mobo:
    Asus Z170i Pro Gaming
    CPU:
    Core i7 6700k @4.6
    Graphics:
    EVGA 980ti Classified
    Mac:
    MacBook Pro
    Classic Mac:
    Power Mac
    Mobile Phone:
    Android, iOS
    Feb 7, 2015 at 11:18 AM #8
    akhilv1

    akhilv1

    Joined:
    Jul 6, 2011
    Messages:
    190
    Mobo:
    Asus Z170i Pro Gaming
    CPU:
    Core i7 6700k @4.6
    Graphics:
    EVGA 980ti Classified
    Mac:
    MacBook Pro
    Classic Mac:
    Power Mac
    Mobile Phone:
    Android, iOS
    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.
     
  9. el.Charlot

    el.Charlot

    Joined:
    Dec 5, 2013
    Messages:
    84
    Mobo:
    Z97X-UD5H
    CPU:
    Core i5 4690
    Graphics:
    MSI GTX 760
    Mac:
    MacBook Pro, Mac Pro
    Mobile Phone:
    iOS
    Feb 7, 2015 at 12:39 PM #9
    el.Charlot

    el.Charlot

    Joined:
    Dec 5, 2013
    Messages:
    84
    Mobo:
    Z97X-UD5H
    CPU:
    Core i5 4690
    Graphics:
    MSI GTX 760
    Mac:
    MacBook Pro, Mac Pro
    Mobile Phone:
    iOS
    AMAZING ! I don't feel confident enough to do that (took me 16 hours to build my mHack cause just a screw is almost one of the twelve labours of Hercules to me), but really this is incredible, cheers !
     
  10. nodarkthings

    nodarkthings

    Joined:
    Jul 11, 2012
    Messages:
    197
    Mobo:
    GA Z68XP-UD3
    CPU:
    i3 2100
    Graphics:
    EVGA GF 210 - 512Mb
    Mac:
    iMac, Mac mini
    Feb 8, 2015 at 10:49 AM #10
    nodarkthings

    nodarkthings

    Joined:
    Jul 11, 2012
    Messages:
    197
    Mobo:
    GA Z68XP-UD3
    CPU:
    i3 2100
    Graphics:
    EVGA GF 210 - 512Mb
    Mac:
    iMac, Mac mini
    :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:
     

Share This Page