This is a sound "scanner" that allows the user to see the waveform/spectrogram of the particular time/sample in the sound being played. Yep, this is open source; you can look inside to see how it works and it has comments to make it easier for some.
Demo sound made in Audacity. Waveforms: Chirp - Start: End: Frequency (Hz): 4000 100 Amplitude (0-1): 0.1 1 Interpolation: Linear ⬍ Duration: 00 h 00 m 00.30 s Chirp - Start: End: Frequency (Hz): 100 4000 Amplitude (0-1): 1 0.1 Interpolation: Linear ⬍ Duration: 00 h 00 m 00.30 s Chirp x4 - Start: End: Frequency (Hz): 4000 100 Amplitude (0-1): 0.1 1 Interpolation: Logarithmic ⬍ Duration: 00 h 00 m 00.10 s Chirp - Start: End: Frequency (Hz): 1000 100 Amplitude (0-1): 0.1 1 Interpolation: Linear ⬍ Duration: 00 h 00 m 00.20 s Chirp x2 - Start: End: Frequency (Hz): 4000 100 Amplitude (0-1): 0.1 1 Interpolation: Logarithmic ⬍ Duration: 00 h 00 m 00.10 s Chirp - Start: End: Frequency (Hz): 1000 100 Amplitude (0-1): 0.1 1 Interpolation: Linear Duration: 00 h 00 m 00.20 s DTMF Tones - DTMF sequence: ____________ (I lost this one) Amplitude (0-1): 0.8 Duration: 00 h 00 m 01.20 s Tone/silence ratio: 98_ (I lost the last digit) DTMF Tones - DTMF sequence: 0123456789 Amplitude (0-1): 0.8 Duration: 00 h 00 m 01.20 s Tone/silence ratio: 98_ (I lost the last digit) Pluck - Pluck MIDI pitch: 60 Fade-out type: abrupt ⬍ Duration [seconds]: 1.00 Risset Drum - Frequency (Hz): 1025. Decay (seconds): 2.00 Center frequency of noise: 500.0 Width of noise band: 400.0 Amount of noise in mix (%): 25.0 Amplitude (0 - 1): 0.800