Spectroscope This uses the pitch shift effect in scratch 3.0 to generate frequencies/tones. Volume warning. [Drag] slider to change frequency [Drag] vol. knob left and right to adjust volume [Click] waveform button to toggle sine/square wave [Space] to adjust line thickness & motion Uses for this include: 1. Testing bass response of your speakers (my fav) 2. Testing hearing (high frequency sensitivity worsens with age, from 20kHz at birth to 17kHz at age 18, 16kHz by age 30) 3. Tuning instruments (440Hz = middle A on piano) 4. Visualizing sound perception This is just a small physics demo I made while working on a music visualizer. Unlike a lot of things in scratch, the pitch effect works pretty well. It does have a limit of ± 36 half steps (eg center 440Hz -> 55-3520Hz), so this project uses 3 separate audio samples to get the full range. You could also make a frequency generator with only note blocks but that causes lots of distortion This project is physically accurate except for the square wave visualizer which has some hardcoded noise to match the compressed audio samples. ------ Attribution ------ @colorgram - author ------ Version Log ------ v1.2 (01m/25d/2022) - add line crawl v1.1 (06m/22d/2020) - add motion blur v1.0 (06m/22d/2020) - initial release ------ SEO ------ Tone generator, oscilloscope, sine wave visualizer Speaker test, sound machine, pitch shifting, bass test #science #physics ------ Side notes ------ 1. Some iOS devices generate pen artifacts trying to render the square wave. This could be used to make an iOS detector. 2. Unfortunately all clones of a sprite share the same pitch, but different sprites can have whatever pitch they want. This means some very interesting things are going to happen soon 3. Some browsers glitch out with the higher frequencies