5
\$\begingroup\$

I've been reading Unity's manual on the AudioManager's properties. Speed of Sound is the only undocumented option. What is it for?

\$\endgroup\$
  • 1
    \$\begingroup\$ lol just based on the title I was like "...what does this have to do with game development" but I see this is actually a good question \$\endgroup\$ – jhocking Apr 23 '14 at 19:01
  • \$\begingroup\$ Now that I think about it, it sure looks like if I were trolling a moderator: that sudden urge to press the flag stops when you read the body. lol \$\endgroup\$ – Fabián Apr 23 '14 at 21:39
6
\$\begingroup\$

It looks like this value is a measure of the physical speed of sound, and likely plays a part in the result of the simulation of the Doppler effect (if enabled).

The value shown in the screenshot in the documentation is 347, which is very close to the actual speed of sound (343 meters-per-second at sea level).

It doesn't appear to have anything to do with the observed playback speed of the sound.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.