Enter mathematical expressions (in javascript). t is time and n is the number of samples so far.
You can use mx and my for the signal from microphone, if it's active.
x is the left channel, y the right.
Unavailable in Safari. Only stereo in Chrome.
To get audio from another program,
you can either physically connect your audio output to your audio input,
or use third party software,
such as VB-CABLE on Windows
or Soundflower with
SoundflowerBed on MacOS.
Based on dood.al oscilloscope renderer by Neil Thapen.
Line-drawing code adapted from woscope by m1el.
Works best on Firefox,Chrome and Edge on Desktop.