Sean Bradley Oscilloscope Save

HTML5 X Y Oscilloscope

Project README

X Y Oscilloscope

Demo : https://sean-bradley.github.io/Oscilloscope/

X Y Waveform Spectrum

Accepts live input from 'microphone' or 'stereo mix' sources.

This has 3 modes,

  • X Y
  • Waveform
  • Frequency Spectrum

In X Y mode, left input channel affects X axis and right input channel affects Y axis.

The X Y Mode requires Stereo Input to draw pictures properly, otherwise it draws just a diagonal line since left and right are identical.

You will need to allow your browser to access your microphone when alerted.

Playing a sine wave in left channel and cosine wave in right channel draws a circle.

Works best on Windows 10 and Microsoft Edge Browser.

I can't get Chrome to split left and right channels properly at the moment, and firefox seems to have some AGC i can't override. You may not have these issues with your setup.

On windows,

  • Open 'Privacy' Settings from the Cortana input near the windows start button.
  • Allow Microsoft Edge to access Microphone
  • Open 'Sound' settings from the Cortana input box input near the windows start button.
  • Manage 'Recording' devices to select desired audio input, stero input preferred.
  • Refresh Oscilloscope Page in Edge Browser, Press 'START' button and allow website to access your microphone.
  • Make some noise

You can watch this video to see the same patterns that are drawn on the X Y view, as are drawn in the video. The images are transferred between your application windows using audible sound waves. And can even work across air gapped devices.

Search for lissagous sound videos to see other examples. Disclaimer, this software isn't as good as a real hardware XY Oscilloscope, but it's a good temporary replacement for the time being.

To get stereo input in windows its best to use the 'Stereo Mix' option set as default device in the recording device sound options and make sure it's level is set to 100 for best results.

If 'Stereo Mix' option is not visible, right click in devices area and tick 'Show Disabled Devices' and 'Show Disconnected Devices'

If 'Stereo Mix' is still not visible, you may need to update the RealTek High Definition Audio drivers from the RealTek website.

If all settings are correct then playing synth music from your desktop will produce patterns in the display.

Written by seanwasere ytbe

https://www.youtube.com/seanwasere

Example of using the Oscillioscope to draw pictures with sound

Draw pictures with sound

Open Source Agenda is not affiliated with "Sean Bradley Oscilloscope" Project. README Source: Sean-Bradley/Oscilloscope
Stars
35
Open Issues
0
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating