Contribute
Register

DIY Startup Sound - a clean way to do....

Joined
Nov 30, 2012
Messages
66
Motherboard
Gigabyte
CPU
i7
Graphics
280x + HD4600
Mac
iMac, MacBook Pro
Classic Mac
Mobile Phone
iOS
Hi, I have tried to make a good chime sound on boot with clover, but the absence of the audio driver (in my case, only HDMI audio) was a problem. So, the best way to do , without any application or intrusive program, was create a clean launchd plist with the instructions to play the sound.


1) first: locate a good copy of chime.aiff on internet (google "carillon 1.2b")
2) copy the Chime.aiff file to /System/Library/Sounds/
3) on terminal: sudo chown root:wheel /System/Library/Sounds/Chime.aiff
4) copy com.hackintosh.sound.plist to /System/Library/LaunchDaemons/
5) on terminal: sudo chown root:wheel /System/Library/LaunchDaemons/com.hackintosh.sound.plist


and that is it. You can change the time interval (I use 2 seconds) until it runs, but it only run once, since it success, it exits.


The Chime sound will be play before the login screen, at the end of the apple logo progress bar.

To uninstall, just delete the /System/Library/LaunchDaemons/com.hackintosh.sound.plist and the /System/Library/Sounds/Chime.aiff

this is not the best, but it simple and works fine for my taste.

View attachment com.hackintosh.sound.plist
 
Joined
Nov 30, 2012
Messages
66
Motherboard
Gigabyte
CPU
i7
Graphics
280x + HD4600
Mac
iMac, MacBook Pro
Classic Mac
Mobile Phone
iOS
ahh, almost forgot, you can try the daemon using on terminal:

launchctl load /System/Library/LaunchDaemons/com.hackintosh.sound.plist

and


launchctl unload /System/Library/LaunchDaemons/com.hackintosh.sound.plist

the code on
com.hackintosh.sound.plist is:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ThrottleInterval</key>
    <integer>2</integer>
    <key>KeepAlive</key>
    <dict>
        <key>SuccessfulExit</key>
        <false/>
    </dict>
    <key>Label</key>
    <string>com.hackintosh.sound</string>
    <key>RunAtLoad</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/afplay</string>
        <string>/System/Library/Sounds/Chime.aiff</string>
    </array>
</dict>
</plist>

 
Joined
Feb 10, 2013
Messages
1
Motherboard
ASUS P8Z77-V PRO
CPU
Core i7 3770k
Graphics
Radeon HD6870
Mac
Mac Pro
Classic Mac
Performa
Mobile Phone
iOS
Good work, worked very well here!
 
Joined
Mar 22, 2014
Messages
194
Motherboard
GA-H170N-WIFI
CPU
I5-6500
Graphics
GeForce GTX 750 Ti
Mac
MacBook Pro
Mobile Phone
iOS
Worked for me too! I have a question though. What is the time for? i.e. two seconds after what makes it chime?
 
Joined
Jan 12, 2017
Messages
13
Motherboard
MSI H170 Gaming M3
CPU
i5-6600
Graphics
GTX 1060
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
I have tried to make a good chime sound on boot with clover
I'm really interexted in this, as EFI version of Clover in theory can play sound at very startup as real macs.

How you was trying to achieve that? I want to work to something similar.
 
Joined
Oct 13, 2011
Messages
96
Motherboard
Asus ROG Maximus IX Hero
CPU
i7-7700k 4.2GHz
Graphics
EVGA GTX 1070 SC2
Mac
MacBook Air, Mac mini
Mobile Phone
iOS
Superb work!
 
Joined
Jan 22, 2016
Messages
5
Motherboard
Z370 AORUS Gaming 7 (rev. 1.0)
CPU
i7-8700
Graphics
GTX 1060
Mac
iMac
Mobile Phone
Android
Great work fine !
Can we set audio volume in .plist ?

EDIT:
It's okay! I have replaced by that
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ThrottleInterval</key>
    <integer>2</integer>
    <key>KeepAlive</key>
    <dict>
        <key>SuccessfulExit</key>
        <false/>
    </dict>
    <key>Label</key>
    <string>com.hackintosh.sound</string>
    <key>RunAtLoad</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/bin/afplay</string>
        <string>-v</string>
        <string>1</string>
        <string>/System/Library/Sounds/Chime.aiff</string>
    </array>
</dict>
</plist>
 
Last edited:

Top