PS1 Sound Engine

This program is a MCDU module that demonstrates the mixing of engine and wind noise. The same algorithms used in WinPS1 are used here. You will need Hardy's experimental engine and wind WAV files:
http://aerowinx.com/downloads/hh_sound_tests.zip

Download
Engine v1.2 (02 Jun 04). Fixed clicking sound at idle thrust, and fixed crash-on-exit-with-LSK6R.
Engine v1.1 (31 May 04). Added gear drag wind noise. Be sure to add the new IPC.geardrag key to your VMREAD.CFG file (see below).
Engine v1.0 (09 May 04).

To do
Tweak engine startup/shutdown spooling.

Install
You can run Engine on any computer that has sound hardware and drivers installed, and that has a network connection to Broker. You don't have to run it on the same computer as PS1. You need Broker and 747IPC; MCDU is optional but recommended.

  1. Unzip Hardy's WAV files into a folder of your choice.
  2. Unzip eng.exe and eng.ini into a folder of your choice.
  3. Unzip SDL.dll and SDL_mixer.dll into the same folder as eng.exe. Alternately, you may unzip them into %WINDOWS%\SYSTEM32 (where %WINDOWS% could be C:\WINDOWS, C:\WINNT, etc).
  4. Edit eng.ini to set the correct Broker IP address and WAV folder.
  5. Edit vmread.cfg (found in your 747IPC folder) and add the following lines:
    27de 2 A_INT 2 IPC.thrust
    29c6 2 A_INT 20 IPC.geardrag
  6. Start 747IPC, Broker and MCDU.
  7. Start eng.exe. Check that Broker registers a connection from ENGINE, and MCDU registers the ENGINE module.
  8. Start VIDTSR+PS1.

Usage
There are no user-configurable options in Engine. Once it is connected properly to Broker, you can view certain parameters in MCDU, and you can hear the new wind+engine sound over your speakers.

Do visit Pierre Theillere's website to see Sound Engine and other PS1 add-ons in action. He also has good documentation and tips on setting up the add-ons.
This program uses code from SoX (http://sox.sf.net) (file rate.c):
/*
 * August 21, 1998
 * Copyright 1998 Fabrice Bellard.
 *
 * [Rewrote completly the code of Lance Norskog And Sundry
 * Contributors with a more efficient algorithm.]
 *
 * This source code is freely redistributable and may be used for
 * any purpose.  This copyright notice must be maintained. 
 * Lance Norskog And Sundry Contributors are not responsible for 
 * the consequences of using this software.  
 */

This program also uses the Simple DirectMedia Layer library (http://www.libsdl.org). In compliance with the GNU LGPL licence, the source code for this program is available upon request from the author.


Contact the author: Ivan Ngeow <rimb1991 at yahoo.com>.