home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultra Mac Games 1 & 2
/
UltraMacGames1.iso
/
Newton
/
ROMSounds
/
RomSounds.Readme
next >
Wrap
Text File
|
1993-10-21
|
2KB
|
35 lines
Newton ROM Sounds Package
Programmed by Jerry Isdale
© 1993 The Dreamers Guild
This package is a quickie I did to find out what the built-in sounds of the Newton Message Pad
sound like. Working from a list of the sounds provided by Apple PIE, I created a button for each
sound. To distinguish the button sound from the default BUTTON CLICK, and to play a bit with using
the ViewIdleScript, each button sets a global ID value and calls :SetupIdle(delay). This allows for
a short delay between the click and subsequent button sound. There is one common Player view
which is actually the idle player.
There were several interesting oddities I ran into while creating this little package:
• I initially tried to run it with the root view having the idleScript, but got a runtime Undefined
Variable error. Anyone know why?
• I had originally put the sound names (ROM_click, etc) for all the sounds, including the dialtones
into the SoundArray. However, it seems that you cant put the individual ROM_Dialtones[0] items
into a EVALUATE slot. The compiler gives a "Bad Magic Pointer" error. So I went with the curent
method which uses negative numbers for the dialtones.
• There doesnt seem to be a way to turn off the button click effect for individual buttons. You can
turn it off for the MP using the Sound Prefs, however, this has the effect of disabling ROM_click.
Try turning of Pen Sound Efx and selecting the CLICK button. You get nothing. With the sound efx on
you get a double click.
Just for the record the way to play these sounds normally is:
PlaySound(ROM_click);
or
PlaySoundSync(ROM_click);
Look in SoundArray[] for the names of the sound effects.
Jerry Isdale
October 21, 1993