Board index FlightGear Development Aircraft

engine sounds question

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

engine sounds question

Postby glazmax » Wed May 30, 2007 1:16 pm

Hello all!

I'm currently working on some engine sounds and stumbled across some questions I couldn't find answers for. First off I looked at a sound.xml file similar to the one of the b52.
Quite self explanatory but 2 questions arise:

1.)Where is the origin/direction of the sounds played since there is no position/orientation specified in the file?

2.)What means factor and offset here? Offset direction?

<pitch>
<property>/engines/engine[0]/n2</property>
<factor>0.010</factor>
<offset>0.15</offset>
</pitch>

The second sound file is the one of the f16 and has major differences:
There more variables available but how are they applied (is x/y/z a position or a directional vector?) and how/where is inner-/outer-cone applied (units?)?

<orientation>
<x>-9.0</x>
<y>0.0</y>
<z>180.0</z>
<inner-cone>180.0</inner-cone>
<outer-cone>360.0</outer-cone>
<outer-gain>0.2</outer-gain>
</orientation>

Thanks in advance for pointing me in any direction in order to solve this questions,
glazmax
User avatar
glazmax
 
Posts: 453
Joined: Sat Jan 27, 2007 11:38 am
Location: Austria
Callsign: jettoo/OE-JTO
Version: cvs

Postby Harald » Wed May 30, 2007 10:18 pm

There is some explanations here README.xmlsound
Harald
 
Posts: 179
Joined: Fri Mar 02, 2007 5:30 pm
Location: Strasbourg, France
Version: nightly
OS: Windows 10

Postby glazmax » Thu May 31, 2007 8:31 am

Harald wrote:There is some explanations here README.xmlsound


Thanks for the link, I overlooked that one! :roll:
Answers most of the questions except the one about the source of the sound.
I will keep experimenting.

g,
glazmax
User avatar
glazmax
 
Posts: 453
Joined: Sat Jan 27, 2007 11:38 am
Location: Austria
Callsign: jettoo/OE-JTO
Version: cvs

Postby Maik » Sat Jul 07, 2007 1:09 pm

Hi glazmax,

there is a bug within the directions and positions of sound. It was fixed in the last days and will be in cvs within the next days for the plib-branch, (in the head/osg branch it is fixed since one week. Please update your readme. xmlsound, too).

Maik
Maik
 
Posts: 12
Joined: Sat Jul 07, 2007 1:02 pm

Postby glazmax » Sat Jul 07, 2007 7:33 pm

Thanks for reporting Maik!

I withnessed a stereo sound feeling several days ago when updating my osg branch :D .

Now, after satisfying the eyes, finally the ears can deliver some info. Sound is an underestimated factor when it comes to deliver an image of reality.

Roar free,
markus
User avatar
glazmax
 
Posts: 453
Joined: Sat Jan 27, 2007 11:38 am
Location: Austria
Callsign: jettoo/OE-JTO
Version: cvs


Return to Aircraft

Who is online

Users browsing this forum: No registered users and 10 guests