pizzaoverhead/AtmosphericSoundEnhancement — pull request #2 by velusip (2013-11-17 00:26:20+00:00)
Title: Dev

There are some redundant variables in the Mach/angle calculations which need to be pared. I am not sure which need to go. They take different approaches in calculating angles and are used in different contexts. One set were created by Pizzaoverhead and another set created by SZDarkhack. I can't judge which are more apt since I'm not sure where these formulae came from.

I provided a little tool under the new /docs directory called machtoy.html to quickly preview changes. The Mach calculations are performed and displayed (drag the slider to select Mach Number).

* e.g. As-is, you can clearly see a bug begin at Mach 8.5 where the trailingEdge angles overlap.

There is currently a bug with the volume setting rapidly jittering per frame that I believe is directly related to misuse of unaligned angle variables.

Other changes:

* Added .gitattributes to enforce LF line endings. See https://help.github.com/articles/dealing-with-line-endings
* Pruned Soundscape states (also provided diagram of Soundscape hierarchy under /docs). e.g. Hypersonic is an attribute of the 4 high-Mach states.
* further clarified some variable names for easy debugging