Boeing 727 panel Просмотр ZIP-архива

aircraft/Panels/Rp727/FSSound.txt

FSSound -- A sound module for FS98, CFS and FS2000       =

Copyright (c) 1999-2000 by Daniel Steiner <[email protected]> =


This module allows you to play back sound files in Microsoft Flight Simulator 98, Flight Simulator 2000 and Combat Flight Simulator gauges trough an easy to use interface. Check the header file and the modified example from the FS98 SDK to figure out how to use it (read the comments!).


installation:
-------------
1) Copy the FSSound.dll file to the modules subfolder of your Flight Simulator installation.

2) I'd bet you know what to do with all the other files. Since the module is built with the GNU C compiler, I don't have a clue whether one of the provided import libraries (FSSound_msvc.lib or FSSound_bor.lib) works for you. If it doesn't, you should be able to build a new one with the tools that come with your compiler. Something like "LIB /OUT:FSSound.lib /DEF:FSSound.def" should actually do the job for the Microsoft compiler and "IMPLIB -c FSSound.lib FSSound.dll" should work for the Borland compiler. If you use the GNU Compiler Suite you can use the libfssound.a import library which DOES work.


some things you should know:
----------------------------
1) The macros that are used in the example are provided for convenience only and don't have to be used. However, you should check the play macros to find out more about error handling.

2) The paths to the wave file need to be specified relative to the main installation directory of FS (not the sound, modules or gauges subfolder).

3) If you don't have hardware that does the sound mixing, you should use the same format for all wave files. Else, the CPU needs to convert them on the fly while mixing (normally 8bit, 22kHz and mono should be good enough).

4) Before sounds can be played back, they need to be registered by calling the appropriate method.

5) The module will only play back resources of type "SOUND". Check the example to see how resources can be used.

6) Since the FSSound module is not unloaded, when the user selects an other panel (which nobody hopes), it is absolutely necessary to unregister sounds that are no longer needed. Else, you start filling the sound card memory and later the main memory with sound data, that is no longer referenced and that can never be played back again anyway, until the user of your panel decides to or is forced to close FS.

7) The volume is specified in hundredths of decibels. So 0 (0dB, the default) means maximum volume and -10000 (-100dB) means silence. Note: Even when the volume is set to the minimum and you cannot hear the sound any more, the mixing process consumes CPU cycles that FS could use for better things. So: stop play back when you mute the sound.

8) The pan is also specified in hundredths of decibels. A value of -10000 (-100dB) means full left, 10000 (100dB) means full right and 0 (0dB) means both channels are at full volume. When you give (e.g.) 3412 as parameter, the left channel is attenuated by 34.12dB and the sound source appears to be more to the right.

9) The frequency is specified in hertz. The value must be between 100Hz and 100000Hz. The special value 0Hz resets the frequency to the default as in the sound file.

10) Do not mess around with the FSSound struct. Usually, the FSSound module knows better what to do with its data than you ;-)


Have a lot of fun with that module and feel free to provide any kind of feedback!
Daniel Steiner


--------------------------------------------------------------------------------
Distribution rules:
This package and all parts of it are freeware and not Public Domain software.
It may NOT be included or used in any commercial or shareware package without a written agreement from its author.
It may NOT be distributed on any kind of media, such as CDROM, disk or other without a written agreement from its author.
It may NOT be uploaded to any online library and may not be published on the Internet without a written agreement from its author.
It may be included in a freeware panel package free of charge, if the copyright information and this distribution rules are marked clearly in the documentation of the package.

rp727pn3.zip

Имя файла Дата Размер
gauges/Rp727.gau 29.08.2002 01:05 12 MB
aircraft/Panels/ 30.08.2002 01:47
aircraft/Panels/Rp727/ 30.08.2002 01:47
aircraft/Panels/Rp727/panel.cfg 23.08.2002 01:19 8 KB
aircraft/Panels/Rp727/forward_right.bmp 15.02.2002 19:49 769 KB
aircraft/Panels/Rp727/left.bmp 08.04.2002 06:42 769 KB
aircraft/Panels/Rp727/main.bmp 16.07.2002 04:15 769 KB
aircraft/Panels/Rp727/overhead.bmp 04.06.2002 18:31 222 KB
aircraft/Panels/Rp727/forward_left.bmp 04.06.2002 18:36 769 KB
aircraft/Panels/Rp727/rear.bmp 29.01.2002 05:09 973 KB
aircraft/Panels/Rp727/rear_left.bmp 29.01.2002 05:09 769 KB
aircraft/Panels/Rp727/rear_right.bmp 29.01.2002 05:10 769 KB
aircraft/Panels/Rp727/right.bmp 17.03.2002 00:00 769 KB
aircraft/Panels/Rp727/up.bmp 29.01.2002 05:11 769 KB
aircraft/Panels/Rp727/landing.bmp 06.08.2002 06:07 769 KB
aircraft/Panels/Rp727/trim.bmp 13.07.2002 01:37 181 KB
aircraft/Panels/Rp727/FSSound.txt 19.09.2000 14:48 4 KB
aircraft/Panels/Rp727/rp727pn3.jpg 29.08.2002 02:00 9 KB
aircraft/Panels/Rp727/screen_night.jpg 29.08.2002 01:49 80 KB
aircraft/Panels/Rp727/screen_windows.jpg 29.08.2002 01:57 114 KB
aircraft/Panels/Rp727/screen_landing.jpg 29.08.2002 01:57 80 KB
aircraft/Panels/Rp727/screen_day.jpg 29.08.2002 02:00 106 KB
aircraft/Panels/Rp727/Readme.txt 30.08.2002 01:35 2 KB
aircraft/Panels/Rp727/Manual/ 30.08.2002 01:47
aircraft/Panels/Rp727/Manual/index.htm 29.08.2002 17:50 5 KB
aircraft/Panels/Rp727/Manual/installation.htm 31.08.2002 15:25 6 KB
aircraft/Panels/Rp727/Manual/anti_ice.htm 29.08.2002 17:50 7 KB
aircraft/Panels/Rp727/Manual/contact.htm 29.08.2002 17:50 3 KB
aircraft/Panels/Rp727/Manual/autoflight.htm 29.08.2002 17:50 11 KB
aircraft/Panels/Rp727/Manual/flightdir.htm 29.08.2002 17:50 6 KB
aircraft/Panels/Rp727/Manual/cruise.htm 29.08.2002 17:50 3 KB
aircraft/Panels/Rp727/Manual/lighting.htm 29.08.2002 17:50 8 KB
aircraft/Panels/Rp727/Manual/misc.htm 29.08.2002 17:50 13 KB
aircraft/Panels/Rp727/Manual/warnings.htm 29.08.2002 17:50 10 KB
aircraft/Panels/Rp727/Manual/faq.htm 29.08.2002 17:50 11 KB
aircraft/Panels/Rp727/Manual/flying.htm 29.08.2002 17:50 6 KB
aircraft/Panels/Rp727/Manual/radios.htm 29.08.2002 17:50 6 KB
aircraft/Panels/Rp727/Manual/landing.htm 29.08.2002 17:50 3 KB
aircraft/Panels/Rp727/Manual/images/ 30.08.2002 01:47
aircraft/Panels/Rp727/Manual/images/winzip.jpg 04.08.2002 14:52 5 KB
aircraft/Panels/Rp727/Manual/images/windshield_heat.jpg 30.07.2002 14:14 7 KB
aircraft/Panels/Rp727/Manual/images/weight.jpg 22.07.2002 01:04 24 KB
aircraft/Panels/Rp727/Manual/images/v_speeds.jpg 29.07.2002 14:12 108 KB
aircraft/Panels/Rp727/Manual/images/trim_rudder.jpg 02.08.2002 01:48 7 KB
aircraft/Panels/Rp727/Manual/images/trim_elev.jpg 02.08.2002 01:49 5 KB
aircraft/Panels/Rp727/Manual/images/transp.jpg 31.07.2002 05:16 6 KB
aircraft/Panels/Rp727/Manual/images/tcas_test.jpg 31.07.2002 05:17 5 KB
aircraft/Panels/Rp727/Manual/images/tat.jpg 31.07.2002 09:56 3 KB
aircraft/Panels/Rp727/Manual/images/tank_switch.jpg 29.07.2002 15:12 4 KB
aircraft/Panels/Rp727/Manual/images/surface.jpg 29.07.2002 14:54 5 KB
aircraft/Panels/Rp727/Manual/images/start.jpg 30.07.2002 15:12 5 KB
aircraft/Panels/Rp727/Manual/images/speed_bugs.jpg 29.07.2002 14:35 6 KB
aircraft/Panels/Rp727/Manual/images/smoke_cfg.jpg 08.08.2002 01:53 25 KB
aircraft/Panels/Rp727/Manual/images/smoke.jpg 15.07.2002 06:16 3 KB
aircraft/Panels/Rp727/Manual/images/radio_cfg.jpg 06.08.2002 00:39 19 KB
aircraft/Panels/Rp727/Manual/images/pnue_gauge.jpg 27.07.2002 18:07 3 KB
aircraft/Panels/Rp727/Manual/images/pneu_handle.jpg 27.07.2002 18:06 5 KB
aircraft/Panels/Rp727/Manual/images/pitot.jpg 05.08.2002 04:15 6 KB
aircraft/Panels/Rp727/Manual/images/pitchsys.jpg 04.07.2002 15:44 2 KB
aircraft/Panels/Rp727/Manual/images/panelcfg.jpg 05.07.2002 01:06 7 KB
aircraft/Panels/Rp727/Manual/images/paddles.jpg 04.07.2002 15:32 4 KB
aircraft/Panels/Rp727/Manual/images/oil_lights.jpg 18.07.2002 01:50 3 KB
aircraft/Panels/Rp727/Manual/images/oat.jpg 22.07.2002 01:20 2 KB
aircraft/Panels/Rp727/Manual/images/nav_com.jpg 31.07.2002 05:18 7 KB
aircraft/Panels/Rp727/Manual/images/me.jpg 25.07.2002 15:44 12 KB
aircraft/Panels/Rp727/Manual/images/marker_switch.jpg 18.07.2002 01:46 2 KB
aircraft/Panels/Rp727/Manual/images/manknob.jpg 04.07.2002 16:13 3 KB
aircraft/Panels/Rp727/Manual/images/mangs.jpg 04.07.2002 16:03 3 KB
aircraft/Panels/Rp727/Manual/images/lights_ext.jpg 19.07.2002 01:37 16 KB
aircraft/Panels/Rp727/Manual/images/light_mouse.jpg 19.07.2002 01:34 920 B
aircraft/Panels/Rp727/Manual/images/le_light.jpg 18.07.2002 01:50 8 KB
aircraft/Panels/Rp727/Manual/images/landing_speeds.jpg 31.07.2002 11:16 36 KB
aircraft/Panels/Rp727/Manual/images/landing.jpg 09.07.2002 15:18 7 KB
aircraft/Panels/Rp727/Manual/images/hdgsel.jpg 04.07.2002 15:36 2 KB
aircraft/Panels/Rp727/Manual/images/gpws.jpg 20.07.2002 22:07 3 KB
aircraft/Panels/Rp727/Manual/images/goaround.jpg 09.07.2002 14:38 2 KB
aircraft/Panels/Rp727/Manual/images/fuel_test.jpg 29.07.2002 15:06 2 KB
aircraft/Panels/Rp727/Manual/images/fuel_shutoff.jpg 29.07.2002 15:18 4 KB
aircraft/Panels/Rp727/Manual/images/fuel_menu.jpg 22.07.2002 01:09 5 KB
aircraft/Panels/Rp727/Manual/images/fuel_light.jpg 19.07.2002 20:26 960 B
aircraft/Panels/Rp727/Manual/images/fuel_boost.jpg 29.07.2002 15:09 3 KB
aircraft/Panels/Rp727/Manual/images/fsuipc_vs_sign.jpg 06.08.2002 18:08 16 KB
aircraft/Panels/Rp727/Manual/images/flightdir.jpg 04.07.2002 15:56 9 KB
aircraft/Panels/Rp727/Manual/images/flap_cfg.jpg 06.08.2002 07:33 19 KB
aircraft/Panels/Rp727/Manual/images/fire_test.jpg 18.07.2002 01:38 13 KB
aircraft/Panels/Rp727/Manual/images/fire_handles.jpg 18.07.2002 17:15 10 KB
aircraft/Panels/Rp727/Manual/images/eng_fail.jpg 27.07.2002 18:07 1 KB
aircraft/Panels/Rp727/Manual/images/cutout.jpg 15.07.2002 07:40 4 KB
aircraft/Panels/Rp727/Manual/images/cruise_speeds.jpg 31.07.2002 06:28 68 KB
aircraft/Panels/Rp727/Manual/images/console_light.jpg 25.07.2002 15:32 5 KB
aircraft/Panels/Rp727/Manual/images/config.jpg 04.08.2002 14:50 10 KB
aircraft/Panels/Rp727/Manual/images/comparator.jpg 09.07.2002 14:38 2 KB
aircraft/Panels/Rp727/Manual/images/clock.jpg 20.07.2002 22:35 6 KB
aircraft/Panels/Rp727/Manual/images/boxes.jpg 25.07.2002 14:57 21 KB
aircraft/Panels/Rp727/Manual/images/banner4.jpg 31.07.2002 17:05 47 KB
aircraft/Panels/Rp727/Manual/images/background.jpg 30.07.2002 17:07 641 B
aircraft/Panels/Rp727/Manual/images/autotaxi.jpg 10.07.2002 18:31 926 B
aircraft/Panels/Rp727/Manual/images/autopilot_cfg.jpg 06.08.2002 00:48 24 KB
aircraft/Panels/Rp727/Manual/images/atc_hotkeys.jpg 18.07.2002 01:33 4 KB
aircraft/Panels/Rp727/Manual/images/artifacts.jpg 31.07.2002 03:50 4 KB
aircraft/Panels/Rp727/Manual/images/aprollknob.jpg 04.07.2002 15:29 3 KB
aircraft/Panels/Rp727/Manual/images/apdisc.jpg 04.07.2002 16:24 2 KB
aircraft/Panels/Rp727/Manual/images/apd.jpg 04.07.2002 15:49 4 KB
aircraft/Panels/Rp727/Manual/images/anti_ice.jpg 30.07.2002 15:00 9 KB
aircraft/Panels/Rp727/Manual/images/altimeter.jpg 22.07.2002 01:32 6 KB
aircraft/Panels/Rp727/Manual/images/altalert.jpg 10.07.2002 18:41 3 KB
aircraft/Panels/Rp727/Manual/images/alt_flaps.jpg 04.08.2002 14:58 3 KB
aircraft/Panels/Rp727/Manual/images/adf.jpg 31.07.2002 05:13 7 KB
aircraft/Panels/Rp727/Manual/images/727_icon.gif 30.07.2002 12:27 4 KB
aircraft/Panels/Rp727/Manual/images/cargo_aft.jpg 18.08.2002 20:38 6 KB
aircraft/Panels/Rp727/Manual/images/cargo_test.jpg 18.08.2002 20:36 6 KB
aircraft/Panels/Rp727/Manual/images/duct_temp.jpg 18.08.2002 21:00 6 KB
aircraft/Panels/Rp727/Manual/images/interior_lights.jpg 25.08.2002 16:13 21 KB
aircraft/Panels/Rp727/Manual/_borders/ 30.08.2002 01:47
aircraft/Panels/Rp727/Manual/_borders/left.htm 25.08.2002 16:22 2 KB
aircraft/Panels/Rp727/Manual/_borders/top.htm 25.08.2002 16:22 289 B
aircraft/Panels/Rp727/Manual/_borders/right.htm 03.07.2002 01:46 489 B
modules/FSSOUND.DLL 12.11.2001 02:53 13 KB
sound/rp727_trim_down.wav 30.03.2002 23:07 52 KB
sound/rp727_air_cond_run.wav 12.08.2002 01:47 86 KB
sound/rp727_air_cond_start.wav 12.08.2002 01:47 16 KB
sound/rp727_alt_alert.wav 18.02.1997 17:59 12 KB
sound/rp727_alt_flap.wav 04.08.2002 13:09 500 B
sound/RP727_AP_DISC.WAV 08.04.2002 04:56 6 KB
sound/rp727_ap_mode.wav 06.04.2002 02:02 6 KB
sound/rp727_ap_mode_disc.wav 08.04.2002 04:42 990 B
sound/rp727_ap_sys.wav 02.04.2002 08:44 5 KB
sound/rp727_apd_test.wav 13.08.2002 06:26 4 KB
sound/rp727_button.wav 16.08.2002 16:08 512 B
sound/rp727_command_bars.wav 28.03.2002 21:52 47 KB
sound/rp727_continuous_horn.wav 14.07.2002 21:50 108 KB
sound/rp727_crossfeed.wav 04.08.2002 12:59 536 B
sound/Rp727_cutout.wav 16.07.2002 05:04 13 KB
sound/rp727_ding.wav 26.07.2002 17:24 11 KB
sound/rp727_ding_dong.wav 26.07.2002 17:22 24 KB
sound/rp727_dme_switch.wav 30.04.2002 07:59 252 B
sound/rp727_fire_bell.wav 14.07.2002 23:10 86 KB
sound/rp727_fire_in.wav 09.04.2002 08:00 5 KB
sound/rp727_fire_out.wav 09.04.2002 08:00 3 KB
sound/rp727_fuel_lever_down.wav 31.07.2002 01:59 5 KB
sound/rp727_fuel_lever_up.wav 31.07.2002 01:59 6 KB
sound/rp727_glideslope.wav 19.09.2000 14:02 21 KB
sound/rp727_ground_crew.wav 26.07.2002 17:12 67 KB
sound/rp727_guard_close.wav 04.08.2002 14:37 3 KB
sound/rp727_guard_open.wav 04.08.2002 14:37 1 KB
sound/rp727_horn.wav 01.04.2002 11:12 11 KB
sound/rp727_knob.wav 04.08.2002 13:06 250 B
sound/rp727_knob_center.wav 02.04.2002 09:32 2 KB
sound/rp727_landing.wav 02.10.2001 03:13 4 KB
sound/rp727_paddle_on.wav 07.08.2002 01:29 1 KB
sound/rp727_park_brake_release.wav 09.04.2002 07:59 5 KB
sound/rp727_park_brake_set.wav 02.04.2002 00:14 11 KB
sound/rp727_pull_up.wav 19.09.2000 13:25 36 KB
sound/rp727_reverse_off.wav 09.04.2002 07:59 21 KB
sound/rp727_reverse_on.wav 08.04.2002 05:58 1 KB
sound/rp727_rotary_click.wav 02.05.2002 22:43 446 B
sound/rp727_selector.wav 04.08.2002 14:38 650 B
sound/rp727_stab_brake_release.wav 16.07.2002 04:52 15 KB
sound/rp727_strut.wav 02.04.2002 03:40 2 KB
sound/rp727_takeoff_config.wav 25.03.2002 06:42 20 KB
sound/rp727_tcas_test.wav 04.08.2002 13:08 25 KB
sound/rp727_toggle_light.wav 17.08.2000 19:42 2 KB
sound/rp727_trim.wav 26.03.2002 07:08 62 KB
sound/rp727_400hz.wav 16.07.2002 05:06 81 KB
sound/rp727_trim_short.wav 26.03.2002 07:10 16 KB
sound/rp727_trim_up.wav 30.03.2002 23:07 60 KB
sound/rp727_windshear.wav 18.09.2001 05:55 25 KB
avsim_ru.diz 14.03.2004 00:21 407 B
Итого: 22 MB
The best frishnaya development. One of the masterpieces panel for B727 Richard Probst.
→ Size: 8 MB
→ Date: 23 years ago (06.02.2003 13:37)
→ Author:
→ License: License file included in archive
→ Downloaded: 581 time(s)