Plug-In Design:How do I make a new sound?

Ingredients:

- a sound, formatted to 8 bits, 11kHz, no compression
- ResEdit or a 'snd ' resource editor to add the sound to the plug-in file

Uses:

Sounds are used in many aspects of EV, but plug-ins usually add sounds for weapon fire and ambience sounds heard when you land on a planet. You have the ability to use a sound already in the game, or you can use a sound that you have created yourself.

Construction:

1. Record the sound using some sort of sound recording software. There exist a number of shareware apps out there that can be used, and SoundEdit (any version) always works.

2. If you didn't record in 11.127 kHz, or if you're not sure, convert the sound to that format (uncompressed). SndConverter Pro is good for this, as is SoundEdit.

3. Either:

a) Save the sound as a System 7 sound, open this with ResEdit, and put the sound in the appropriate place;

OR

🆒 If using SoundEdit, open the plug-in as a resource file from within SoundEdit and add it to the file using the application directly.

4. Make sure the sound has the proper ResID. When specifying which sound to use for your weapon sound, use (sndID - 200). Weapon sounds should be stored in ID range 200-263. Other types of sounds have certain ID ranges as well. Make sure you use the proper ID convention.