Page 1 of 1

Help with aircraft sound.cfg

PostPosted: Tue Oct 01, 2013 12:56 pm
by StargazerWoods
Hi,

I've done a couple of flights in the Aaroplane Heaven/Just Flight DH106 and am absolutely loving it. However, realistic though it may be, I'm finding the sound of the engines a little over-whelming on the internal views.

I've taken a look in the sound.cfg file in the hopes that volume would simply be a case of changing one integer for a slightly lower one, however, it would appear that engine volumes are all dealt with very differently to the more simple sounds like 'landing gear up/down' and 'flap warning' and so on.

I've taken a peek on the Microsoft knowledge base and read the entry for what the sound values mean, but I'm not really grasping the exact meaning of what it's saying. Very much a case of recognising the individual words, but the sentence is gibberish.

For example, Microsoft say "vparams: Defines the sounds amplitude envelope. Represents the sounds volume as a function. Each pair of values specified in vparams represents a single point, you can use up to eight points to describe the amplitude envelope. The first number in the pair is a generic value that can range from 0.0 to 1.0 the second number specifies the volume."

However, in the DH106 sound.cfg an entry may look like:-
[JET_WHINE.1.02]
filename=Com13
flags=0
viewpoint=1
rparams=0.322000,0.977000,1.000000,1.977000
vparams=0.000000,0.000000,0.387000,0.000000,0.525000,12.800000,0.590000,64.800000,0.764000,69.600000,0.995000,83.200000,0.998000,83.200000,1.000000,83.000000
link=JET_WHINE.1.03

I can't seem to make what Microsoft say translate into anything based on the live file for the aircraft. Can anyone either provide me with some pointers on how to decipher what numbers mean what or link me to something written for peeps with no aircraft-development background?

Many thanks,

Rob.

Re: Help with aircraft sound.cfg

PostPosted: Tue Oct 01, 2013 2:03 pm
by garymbuska
I Goggled rparams and came up with this link http://msdn.microsoft.com/en-us/library/cc526952.aspx
I hope it helps you.

<<r

Re: Help with aircraft sound.cfg

PostPosted: Tue Oct 01, 2013 3:53 pm
by StargazerWoods
Thank you for the link, however, that's the article I found earlier.

No matter how many times I read it, I jus can't reconcile it as a valid statement. On one hand, I'm looking at the parameter definition and it's saying something about two values with the second being the volume, on the other hand, I'm looking at the sound.cfg entries and they have something like 16 sets of parameters.

I'm no Enron or Worldcom, so I simply can't make 16 turn into 2... I must be mis-understanding, but until I know how I'm getting all turned around, I can't even begin to figure out where to go.

Re: Help with aircraft sound.cfg

PostPosted: Wed Oct 02, 2013 2:02 pm
by StargazerWoods
After much pondering and head scratching, I eventually deduced that the VParams is where it's all happening. Eight sets of two numbers with the second number being the one that decides the volume.

I adjusted all the Jet_Whine and Combustion entries that were assigned to interior sounds and reduced them based on a formula to ensure that they all adjusted by the same percentage. Loaded up the Comet and there was no change. Silly me wa so confident it would work, I cranked the volume on my Amp back up to normal levels and conswequently blew little bits of kevlar speaker cone all over my lounge.

I then adjusted all the VParams to a low number, "10", and then reloaded with the amp turned back down just in case. Lo and behold, plane volume unaffected.

So I've resorted to reducing the wav volume and now the sounds are silent. I can only imagine that the wav files have re-encoded at a higher bit-rate thanks largely to Cyberlinks crappy software. So before I go and adjust them in another program, is there a hard limit on the file parameters that I have to stick with? Is there a preferred bitrate?

Any help at all would be greatly appreciated. This is driving me crazy.

Cheers,

Rob.