Acoustic Resonance Other Creates différent frequencies, and measures the audio response amplitude (in arbitrary unit). Can be used to look for an audio resonance (helmotz resonnator or a tube). AR1 all_freq all_amp index temp now first_run temporary freq start_f add_f mult_f length tfull t phase audio_in audio_out audio_squared sum freq sum all_freq all_amp start_f add_f mult_f freq sum now index first_run now index 1 index index now temporary temporary 3 1 0 first_run first_run 0 freq all_freq freq add_f freq freq mult_f freq freq 0 start_f freq freq 20000 20000 freq freq 20 20 freq first_run 1 start_f freq 0.0000208333 1 tfull 1000 freq length tfull length t freq t 6.283185307 phase phase audio_out audio_in 2 audio_squared audio_squared sum first_run 0 sum all_amp all_freq all_amp