home *** CD-ROM | disk | FTP | other *** search
/ Ultra Mac Games 1 & 2 / UltraMacGames1.iso / Newton / ROMSounds / RomSounds.Readme next >
Text File  |  1993-10-21  |  2KB  |  35 lines

  1. Newton ROM Sounds Package
  2. Programmed by Jerry Isdale
  3. © 1993 The Dreamers Guild 
  4.  
  5. This package is a quickie I did to find out what the built-in sounds of the Newton Message Pad
  6. sound like. Working from a list of the sounds provided by Apple PIE, I created a button for each
  7. sound. To distinguish the button sound from the default BUTTON CLICK, and to play a bit with using
  8. the ViewIdleScript,  each button sets a global ID value and calls :SetupIdle(delay). This allows for 
  9. a short delay between the click and subsequent button sound. There is one common Player view
  10. which is actually the idle player.
  11.  
  12. There were several interesting oddities I ran into while creating this little package:
  13.  
  14. •  I initially tried to run it with the root view having the idleScript,  but got a runtime Undefined 
  15.  Variable error. Anyone know why?
  16.  
  17. • I had originally put the sound names (ROM_click, etc) for all the sounds, including the dialtones
  18.   into the SoundArray. However, it seems that you cant put the individual ROM_Dialtones[0] items
  19.   into a EVALUATE slot. The compiler gives a "Bad Magic Pointer" error. So I went with the curent
  20.   method which uses negative numbers for the dialtones.
  21.  
  22. • There doesnt seem to be a way to turn off the button click effect for individual buttons. You can
  23.    turn it off for the MP using the Sound Prefs, however, this has the effect of disabling ROM_click.
  24.    Try turning of Pen Sound Efx and selecting the CLICK button. You get nothing. With the sound efx on
  25.    you get a double click.
  26.  
  27. Just for the record the way to play these sounds normally is:
  28.   PlaySound(ROM_click);
  29.   or 
  30.   PlaySoundSync(ROM_click);
  31.  
  32.   Look in SoundArray[] for the names of the sound effects.
  33.  
  34. Jerry Isdale
  35.  October 21, 1993