Academo has an online virtual oscilloscope which allows visualisation of simulated waves or live sound input and allows for adjustment of the display.
An oscilloscope is a useful tool for anyone working with electrical signals because it provides a visual representation of the signal’s shape, or waveform. This allows you to measure properties of the wave, such as amplitude or frequency.
The initial signal above is a 200Hz sine wave, which has an amplitude of 5 volts. The frequency of this wave can be adjusted by using the “Input Wave Frequency” slider. (You can also choose to display a square wave.)
If you are browsing using the latest version of Google Chrome, the input dropdown box allows you to select “live input”. This will take data from any microphone connected to your computer and display the live audio data. (Different microphones send different voltages to the computer, so for consistency we have normalised the input so the raw input signal will always be limited to somewhere between -5 and +5 volts.)
Since waveforms come in a wide variety of shapes, amplitudes and frequencies, oscilloscopes need to have a number of controls to adjust the display of the waveform so it can comfortably fit inside the viewport.
The ‘scope may be embedded into another website via some HTML supplied. And the code is on GitHub under a GPL v3 license.
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.