James Sleeman wrote > > Hi Maik, > > Maik Justus wrote: > > the effect you are discussing is not the Doppler effect, but just the > > > Yes, I know it's not a function of the Doppler itself, but I was > thinking more along the lines of the volume drop off, if it were better, > might help the convincingness of the Doppler, if you see what I mean. > > > volume as a function of the distance. Every aircraft has its own sound > > definition including the distance, where the volume is halved > > (<reference-dist>) and the distance where the volume is cutted off > > (<max-dist>). > Hmm, interesting. It seems that a great many aircraft do not define > these values at all. Is there a default definition for these somewhere, > is one calculated by openal maybe in the absence of these specific > settings? > > At the end of this message is a quick grep showing the aircraft which do > not define reference-dist. Quite a list. > > Just to clarify on the reference-dist, is it that this value is a > diminishing effect, that is for reference-dist of 1 after distance 1 the > volume is half original, after distance 2 the volume is 1/4 original > (half of a half), distance 3 it's an 1/8th (half of a quarter). Or is > it simply that at that specific distance, and for infinity beyond until > max-dist the volume is always half the original? >
snip ... In simgear\source\simgear\sound\xmlsound.cxx I see that default values for reference-dist and max-dist seem to be specifed. It seems possible that these default values are no longer honoured. I think they worked at one time. It is going to be extremely tedious and time consuming to explicitly apply specific values to _every_ sound in fg. I would think that the attenuation of sound in air is amenable to mathematical calculation. Surely we shouldn't be guessing at some arbitrary "reference distance"? Vivian ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

