Difference between revisions of "Chime"

From The iPhone Wiki
Jump to: navigation, search
(Added info about startup chimes.)
 
(removed plagiarised content from Wikipedia, and did some formatting fixes)
Line 1: Line 1:
The startup '''chime''' used in Mac computers indicates that the Mac succesfully passed the diagnostic tests at startup.
+
The startup '''chime''' used in Mac computers indicates that the Mac successfully passed the diagnostic tests at startup.
 
== History of the startup cime ==
 
The first sound version in the first three Macintosh models is a simple square-wave "beep", and all subsequent sounds are various chords.
 
Mark Lentczner created the software that plays the arpeggiated chord in the Macintosh II. Variations of this sound were deployed until Jim Reekes created the startup chime in the Quadra 700 through the Quadra 800. This startup chime was created in Reekes's home studio on a Korg Wavestation EX. It's a C major chord, played with both hands stretched out as wide as possible. He is also the creator of the iconic (or "earconic", as he calls it) "bong" startup chime in most Macintoshes since the Quadra 840AV. A slightly lower-pitched version of this chime is in all PCI-based Power Macs until the iMac G3. The Macintosh LC, LC II, and Macintosh Classic II do not use the Reekes chime, instead using an F major chord that just produces a "ding" sound. The first generation of Power Macintosh computers also do not use the Reekes chime, instead using a chord strummed on a Yamaha 12-string acoustic guitar by jazz guitarist Stanley Jordan. Further, the Power Macintosh 5200–6300 computers (excluding the 5400 and 5500, which have the "bong" chime like the one in the PCI-based Power Macs) use a unique chime, which is also in the television commercials for the Power Macintosh and PowerBook series from 1995 until 1998, and the 20th Anniversary Macintosh uses another unique sound. The chime for all Mac computers from 1998 to 2013 is the same chime used first in the iMac G3. The chord is a F-sharp major chord, and was produced by pitch-shifting the 840AV's sound. Since 2012, the Mac startup chime is a registered trademark in the United States, and is featured in the 2008 Pixar film WALL-E when the titular robot character is fully recharged by solar panels as well as in the 2007 Brad Paisley song "Online". Starting with the 2016 MacBook Pro, all new Macs were shipped without a startup chime, with the Macs silently booting when powered on. In 2019, it was discovered that the startup chime could be still enabled using a Terminal command. On the T2 Mac computers, it was discovered that bridgeOS included a newer version of the chime. In 2020 with the release of macOS Big Sur, Apple added a revised version of the startup chime to all Mac computers that supported macOS Big Sur including the unsupported 2013 iMac.
 
   
 
== Enabling/disabling the startup chime ==
 
== Enabling/disabling the startup chime ==
 
=== macOS Catalina or older ===
 
=== macOS Catalina or older ===
To disable the chime, type in the following Terminal command: <syntaxhighlight> sudo nvram SystemAudioVolume=%80 </syntaxhighlight> <br>
+
To disable the chime, type in the following Terminal command: <code> sudo nvram SystemAudioVolume=%80 </code> <br>
To enable the chime, type in the following Terminal command: <syntaxhighlight> sudo nvram -d SystemAudioVolume </syntaxhighlight>
+
To enable the chime, type in the following Terminal command: <code> sudo nvram -d SystemAudioVolume </code>
  +
 
=== macOS Big Sur or newer ===
 
=== macOS Big Sur or newer ===
Choose Apple menu > System Preferences, then click Sound. In the Sound Effects pane, use the “Play sound on startup” setting to turn the startup sound on or off.
+
Choose Apple Menu -> <code>System Preferences...</code>, then click <code>Sound</code>. In the Sound Effects pane, use the “Play sound on startup” setting to turn the startup sound on or off.
  +
 
== Extracting the chimes ==
 
== Extracting the chimes ==
 
=== Regular Intel Macs ===
 
=== Regular Intel Macs ===
The startup (and attach) chimes are located in the UEFI firmware. To extract it, use [https://github.com/LongSoft/UEFITool UEFITool]. From here, search for the BootChimeAudio section. From here, extract the Raw Section inside it by right clicking on it, and selecting Extract body.... Since it is a CoreAudio file, make sure to add the .caf extension on the file. The similar method applies to the attach chimes, but the section has no codename on it. To easily look for the chimes, after opening the UEFI firmware on UEFITool, select Action, Search.... From here select Text and search for caff. Make sure to disable the Unicode option. <br> On T2 Macs, the UEFI Firmware contains the older 1998 chime.
+
The startup (and attach) chimes are located in the UEFI firmware. To extract it, use [https://github.com/LongSoft/UEFITool UEFITool]. Then, search for the BootChimeAudio section. Finally, extract the Raw Section inside it by right clicking on it, and selecting <code>Extract body...</code>. Since it is a CoreAudio file, make sure to add the .caf extension on the file. The similar method applies to the attach chimes, but the section has no codename on it. To easily look for the chimes, after opening the UEFI firmware in UEFITool, select <code>Action</code> -> <code>Search...</code>. From here select <code>Text</code> and search for <code>caff</code>. Make sure to disable the Unicode option. <br> On T2 Macs, the UEFI Firmware contains the older 1998 chime.
 
The chimes are CoreAudio (CAF) files with the following attributes: 16-bit, Mono at 44100 Hz with the IMA QT ADPCM Audio (ima4) codec.
 
The chimes are CoreAudio (CAF) files with the following attributes: 16-bit, Mono at 44100 Hz with the IMA QT ADPCM Audio (ima4) codec.
 
=== T2 Macs ===
 
=== T2 Macs ===
  +
On T2 Macs, the chime is located in bridgeOS in System/Library/PrivateFrameworks/BridgeAccessibilitySupport.framework/AXEFIAudio_VoiceOver_Boot.aiff. While it has the .aiff extension the chime is actually encoded in the Apple Lossless Audio Codec (ALAC) in a CoreAudio (.caf) container. The attributes are: 16-bit, Stereo at 48000 Hz with the ALAC (Apple Lossless Audio Codec). <br>
 
On Macs with bridgeOS 4.6 or earlier, the boot chime file name is the same, but the file is in an AIFF (Audio Interchange File Format) container and the attributes are different: 16-bit, Mono at 24000 Hz in the IMA QT ADPCM Audio (ima4) codec. <br>
+
On T2 Macs, the chime is located in bridgeOS in <code>/System/Library/PrivateFrameworks/BridgeAccessibilitySupport.framework/AXEFIAudio_VoiceOver_Boot.aiff</code>. While it has the .aiff extension the chime is actually encoded in the [[wikipedia:Apple Lossless Audio Codec|Apple Lossless Audio Codec]] (ALAC) in a CoreAudio (.caf) container. The attributes are: 16-bit, Stereo at 48000 Hz with ALAC. <br>
The charging chime is stored in System/Library/Audio/Sounds/connect_power.aif. It is in an AIFF (Audio Interchange File Format) container with the following attributes: 16-bit, Stereo at 44100 Hz in the twos codec.
+
On Macs with bridgeOS 4.6 or earlier, the boot chime file name is the same, but the file is in an [[wikipedia:Audio Interchange File Format|Audio Interchange File Format]] (AIFF) container and the attributes are different: 16-bit, Mono at 24000 Hz in the IMA QT ADPCM Audio (ima4) codec. <br>
  +
The charging chime is stored in <code>/System/Library/Audio/Sounds/connect_power.aif</code>. It is in an AIFF container with the following attributes: 16-bit, Stereo at 44100 Hz in the twos codec.
  +
 
=== Apple Silicon Macs ===
 
=== Apple Silicon Macs ===
 
Apple Silicon Macs use raw audio files to play the startup/charging chime. They are located in the macOS IPSW in Firmware/embeddedaudioresources/image4.
 
Apple Silicon Macs use raw audio files to play the startup/charging chime. They are located in the macOS IPSW in Firmware/embeddedaudioresources/image4.
To extract them, first extract the img4 header, and from here, open [https://www.audacityteam.org Audacity], click File --> Import --> Raw data and specify the parameters. To export, click File --> Export --> Export as WAV/MP3/OGG/other. Some devices use the same chime despite being put into separate files. <br>
+
To extract them, first extract the img4 header, and from here, open [https://www.audacityteam.org Audacity], click <code>File</code> -> <code>Import</code> -> <code>Raw data</code> and specify the parameters. To export, click <code>File</code> -> <code>Export</code> -> <code>Export as WAV/MP3/OGG/other</code>. Some devices use the same chime despite being put into separate files. <br>
 
The parameters:
 
The parameters:
  +
* ([[J274AP|j274]]/[[J375cAP|j375c]]/[[J375dAP|j375d]])-boot-chime.im4p: <code>32 bit PCM, Mono at 24000 Hz</code>.
<syntaxhighlight>
 
J274 (Mac mini (M1, 2020))-J375c-J375d (Mac Studio, 2021) boot-chime.im4p: 32 bit PCM, Mono at 24000 Hz.
+
* ([[J293AP|j293]]/[[J413AP|j413]]/[[J493AP|j493]])-(attach/boot)-chime.im4p: <code>32 bit PCM, Stereo at 48000 Hz</code>.
J293(MacBook Pro (13-inch, M1, 2020)), J413(MacBook Air (M2, 2022)), J493(MacBook Pro (13-inch, M2, 2022))-attach (and boot)-chime.im4p: 32 bit PCM, Stereo at 48000 Hz.
+
* ([[J313AP|j313]])-(attach/boot)-chime.im4p: <code>32 bit PCM, Stereo at 24000 Hz</code>.
J313 (MacBook Air (M1, 2020))-attach (and boot)-chime.im4p: 32 bit PCM, Stereo at 24000 Hz.
+
* ([[J456AP|j456]]/[[J457AP|j457]])-boot-chime.im4p: <code>32 bit PCM, Mono at 96000 Hz</code>.
J456 and J457 (iMac (24-inch, M1, 2021)) boot-chime.im4p: 32 bit PCM, Mono at 96000 Hz.
+
* ([[J314cAP|j314c]]/[[J314sAP|j314s]]/[[J316cAP|j316c]]/[[J316sAP|j316s]])-(attach/boot)-chime.im4p: <code>32 bit PCM, 6 channels at 24000 Hz</code>.
J314c, J314s, (MacBook Pro (14-inch, 2021)) J316c, J316s (MacBook Pro (16-inch, 2021)) attach(and boot) chime.im4p: 32 bit PCM, 6 channels at 24000 Hz.
 
</syntaxhighlight>
 

Revision as of 12:05, 21 July 2022

The startup chime used in Mac computers indicates that the Mac successfully passed the diagnostic tests at startup.

Enabling/disabling the startup chime

macOS Catalina or older

To disable the chime, type in the following Terminal command: sudo nvram SystemAudioVolume=%80
To enable the chime, type in the following Terminal command: sudo nvram -d SystemAudioVolume

macOS Big Sur or newer

Choose Apple Menu -> System Preferences..., then click Sound. In the Sound Effects pane, use the “Play sound on startup” setting to turn the startup sound on or off.

Extracting the chimes

Regular Intel Macs

The startup (and attach) chimes are located in the UEFI firmware. To extract it, use UEFITool. Then, search for the BootChimeAudio section. Finally, extract the Raw Section inside it by right clicking on it, and selecting Extract body.... Since it is a CoreAudio file, make sure to add the .caf extension on the file. The similar method applies to the attach chimes, but the section has no codename on it. To easily look for the chimes, after opening the UEFI firmware in UEFITool, select Action -> Search.... From here select Text and search for caff. Make sure to disable the Unicode option.
On T2 Macs, the UEFI Firmware contains the older 1998 chime. The chimes are CoreAudio (CAF) files with the following attributes: 16-bit, Mono at 44100 Hz with the IMA QT ADPCM Audio (ima4) codec.

T2 Macs

On T2 Macs, the chime is located in bridgeOS in /System/Library/PrivateFrameworks/BridgeAccessibilitySupport.framework/AXEFIAudio_VoiceOver_Boot.aiff. While it has the .aiff extension the chime is actually encoded in the Apple Lossless Audio Codec (ALAC) in a CoreAudio (.caf) container. The attributes are: 16-bit, Stereo at 48000 Hz with ALAC.
On Macs with bridgeOS 4.6 or earlier, the boot chime file name is the same, but the file is in an Audio Interchange File Format (AIFF) container and the attributes are different: 16-bit, Mono at 24000 Hz in the IMA QT ADPCM Audio (ima4) codec.
The charging chime is stored in /System/Library/Audio/Sounds/connect_power.aif. It is in an AIFF container with the following attributes: 16-bit, Stereo at 44100 Hz in the twos codec.

Apple Silicon Macs

Apple Silicon Macs use raw audio files to play the startup/charging chime. They are located in the macOS IPSW in Firmware/embeddedaudioresources/image4. To extract them, first extract the img4 header, and from here, open Audacity, click File -> Import -> Raw data and specify the parameters. To export, click File -> Export -> Export as WAV/MP3/OGG/other. Some devices use the same chime despite being put into separate files.
The parameters:

  • (j274/j375c/j375d)-boot-chime.im4p: 32 bit PCM, Mono at 24000 Hz.
  • (j293/j413/j493)-(attach/boot)-chime.im4p: 32 bit PCM, Stereo at 48000 Hz.
  • (j313)-(attach/boot)-chime.im4p: 32 bit PCM, Stereo at 24000 Hz.
  • (j456/j457)-boot-chime.im4p: 32 bit PCM, Mono at 96000 Hz.
  • (j314c/j314s/j316c/j316s)-(attach/boot)-chime.im4p: 32 bit PCM, 6 channels at 24000 Hz.