Howto:Add sound effects to aircraft: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:


Some sound effects are added other ways.  For example, sounds from avionics like navigation radio receivers are automatically added when you add those radios.
Some sound effects are added other ways.  For example, sounds from avionics like navigation radio receivers are automatically added when you add those radios.
{{FGCquote|1= The volume calculation due to distance and orientation of the sounds source ONLY work on mono samples!|2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/28505220/  | title  = <nowiki>Re: [Flightgear-devel] Stereo sounds no longer supported?</nowiki>  | author = <nowiki>syd adams</nowiki>  | date  = Dec 7th, 2011  }}}}
{{FGCquote|1= All sounds must now be mono point sources, and stereo simply requires the two sound sources to be positioned in the 3D environment. |2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/34100151/  | title  = <nowiki>[Flightgear-devel] Audit and proposal for handling non-supported stereo sound files in FGAddon via the 3D sound engine.</nowiki>  | author = <nowiki>Edward d'Auvergne</nowiki>  | date  = May 10th, 2015  }}}}


{{FGCquote|1= We use OpenAL for 3D positional audio and most OpenAL implementations can only handle one stereo file.Also Stereo files will not work in 3d space, so they will not be positional.But  most aircraft developers did not know that and used several stereo files expecting everything to work properly but the truth was that in most implementations just one of those stereo files was played.And if you think of it, stereo separation does not work for boarding music either since it plays left channel to your left ear and right channel to your right ear. But in reality boarding music is played left channel to the left audio channel in the aircraft and right channel to the right audio channel in the aircraft.This works the same as normal stereo if you enter the aircraft, but will, reverse once you turn around.So the solution is to split up the stereo file into two mono files and play the proper channel at the proper side of the passenger compartment.|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=257289#p257289  | title  = <nowiki>Re: 787-8 Boarding music</nowiki>  | author = <nowiki>erik</nowiki>  | date  = Sep 14th, 2015  }}}}
{{FGCquote|1= We use OpenAL for 3D positional audio and most OpenAL implementations can only handle one stereo file.Also Stereo files will not work in 3d space, so they will not be positional.But  most aircraft developers did not know that and used several stereo files expecting everything to work properly but the truth was that in most implementations just one of those stereo files was played.And if you think of it, stereo separation does not work for boarding music either since it plays left channel to your left ear and right channel to your right ear. But in reality boarding music is played left channel to the left audio channel in the aircraft and right channel to the right audio channel in the aircraft.This works the same as normal stereo if you enter the aircraft, but will, reverse once you turn around.So the solution is to split up the stereo file into two mono files and play the proper channel at the proper side of the passenger compartment.|2= {{cite web  | url    = http://forum.flightgear.org/viewtopic.php?p=257289#p257289  | title  = <nowiki>Re: 787-8 Boarding music</nowiki>  | author = <nowiki>erik</nowiki>  | date  = Sep 14th, 2015  }}}}

Navigation menu