<===A modified version of Loudness Detector v1===> Link here: https://scratch.mit.edu/projects/321855894/ Instructions are inside. Please allow your microphone for use. Click the green flag twice to start recording. While recording audio, you will get to see a graph of your loudness recorded overtime! 'F' to see FPS (Program is running slowly if FPS is under 10.) 'L' to see length of current list. 'R' to turn on rainbow mode. Lagging (Or FPS < 10)? Set your 'wait time' variable to 0 for a more smooth recording experience! Set your 'scrollon' variable to 1 (this enables scrolling so the 'pen' sprite does not have to render so much.) Set your 'Scroll rate' variable to 50. If the length of the list (press 'l' to see) is in the high thousands (i.e. 8000, 9000) or even in the ten thousands, it is totally fine if the fps is below 10. That is a lot of data that the computer has to process! <=Variable Definitions=> Previous Trial (Loudness): Gets the loudness recorded 0.01 seconds ago and compares it to the current loudness. For example, if '734%' is displayed, your current loudness is 8.34 times louder than the loudness recorded 0.01 seconds ago. First trial (Loudness): Gets the loudness recorded at the very beginning and compares it to the current loudness. For example, if '734%' is displayed, your current loudness is 8.34 times louder than the loudness recorded at the very beginning. Previous Trial (Average): Gets the average loudness recorded 0.01 seconds ago and compares it to the current average loudness. First Trial (Average): Gets the average loudness recorded in the very beginning and compares it to the current average loudness. Glitching? Could be the amount of data processing. The computer is taking the sum of up to 10000+ trials and averaging them! Although I'm running everything without screen refresh, it still tends to glitch if you record for long enough. Congrats! you read this far. Now enjoy this program :)
Fun things you can do: Wait for the graph to settle (Do not make any noises.) All of a sudden, make a loud noise. Your graph and your 'previous trial (loudness)' variable should skyrocket! Why not try screaming, shouting, or hollering at the computer?