Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!think!ames!ucbcad!ucbvax!cartan!grayson From: grayson@cartan.Berkeley.EDU (Matthew Grayson) Newsgroups: comp.sys.mac Subject: Re: Mac ][ First Impressions... Message-ID: <1157@cartan.Berkeley.EDU> Date: Tue, 23-Jun-87 11:52:05 EDT Article-I.D.: cartan.1157 Posted: Tue Jun 23 11:52:05 1987 Date-Received: Thu, 25-Jun-87 01:59:54 EDT References: <10396@decwrl.DEC.COM> <3355@sdcsvax.UCSD.EDU> Reply-To: grayson@cartan.Berkeley.EDU.UUCP (Matthew Grayson) Organization: Math Dept. UCB Lines: 36 Keywords: Beep Sounds In article <3355@sdcsvax.UCSD.EDU> jww@sdcsvax.UCSD.EDU (Joel West) writes: > >I sure wish someone had an alternate sound to supplement the std. >four: beep, boing, monkey, kling-klang. Most of those are not >suitable for a standard alert error: I WANT A GONG (as in the >Chinese variety.) >-- The sounds you want are stored in resources of type 'snd ' in the System. Each resource, except for the simple beep, consists of a 42 byte header followed by a standard SoundCap digitized sound file. An application called SoundWave, a successor to SoundCap, can store SoundFiles as resources. Unfortunately, you have to go in by hand with FEdit to change the resource type and add the header. Luckily, SoundWave is extensible. I wrote a code resource which saves the current sound as a SysBeep 'snd '. You add the 'snd ' to your system, and POOF! it appears in the control panel. Anyway, if you don't have SoundWave, and you can change data to resources comfortably, then use the following header 0001 0001 0005 0000 0000 0001 8051 0000 0000 0014 0000 0000 XXXX XXXX 2b77 45d2 0000 0000 0000 0000 003c The XXXX XXXX is the length of the Post-header part of the resource. Usually, the first 2 bytes are zeros. For a better look, examine the 'snd ' resources with ResEdit. You'll see what's happening. The two sounds which I have added as SysBeeps are HAL's "I'm sorry, Dave..", and Don Giovanni's final scream as he's dragged off to hell (Fischer-Dieskau). Have Fun, Matt