An engine which demonstrates sound attenuation, the Doppler effect and panning. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Controls - • The person can be dragged around the stage to change the point at which the sound is measured. • The car will always point towards the mouse. Pressing W or the up arrow will move it forward, and S or the down arrow will move it backward. • The E Key can be pressed to show/hide the variables. • Speed controls the car's speed (in steps). The other speed value at the bottom displays the car's actual speed in kilometres per hour. • Sound Intensity adjusts the loudness of the sound measured at a metre from the source. • Scale adjusts how wide the stage is in metres. • The black-and-white scale board measures 10 metres, with each segment measuring 50 centimetres. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Terminology - • Sound Attenuation - The volume of the sound depending on distance. • The Doppler effect - This phenomenon occurs when sound moves away or toward a listener and causes the sound to change frequency; for example, when a car passes. • Panning - The distribution of audio between the left and right speakers. • Decibels - The unit of measurement used to measure sound intensity. 60 decibels is the loudness of a conversation, while a motorcycle is about 90 decibels. An increase is 10 decibels is equivalent to doubling the loudness of the sound. :O Didn't expect you to read this far...
Made by @FissionIX Car engine sound by MarlonHJ on Freesound: https://freesound.org/people/MarlonHJ/sounds/242738/ Curently in version 1.0 V1.0 - - Volume adjusts accurately depending on distance. - Pitch adjusts depending on the net distance moved. - Sound panning calculated based on angle and distance between the car and the listener. - Sound adjusts for both the car and the listener. V1.0.1- - Changed the formula for the Doppler effect to a real formula.