Display anything on an oscilloscope @256byteram
Display anything on an oscilloscope  @256byteram
Uploaded July 2013 | Updated September 2026, 1 week ago
I've taken a few utilities and patched them together to convert any picture or movie to an audio file, which can be played on an oscilloscope in XY mode to display a vector drawing of the picture or video.

This is a demonstration of my oscilloscope playing the first few minutes of "Felix the Cat in April Maze" which is available at archive.org/details/Felix_AprilMaze_NoAudio

This video shows the weaknesses of my current method. The frame rate isn't constant and dependent on the total length of the lines in any given frame. Because of this it is very possible for the trace time to become so long the image starts to flicker, which happens in the scene where it's raining. The next thing I'll do is make the utility I've written repeat the same frame until a maximum number of samples have been created.

The oscilloscope was recorded with a Sony Vidicon camera and colourised with my JVC KM-3000 video effects processor. A short view of the oscilloscope itself is at youtu.be/Mq1dKtgaWHI

I'm using Linux to do the conversion (it will probably be more tricky in Windows)

The task is this:
1) Convert the picture or movie to a PPM file, or array of PPM files (if it's a movie) with a resolution of 256x256 pixels.
2) Run potrace (potrace.sourceforge.net/) on the PPM file/files to convert them to SVG files.
3) With Inkscape installed, run "/usr/share/inkscape/extensions/hpgl_output.py" on the SVGs, outputting it to HPGL files.
4) Render the HPGL file/files to raw audio. I've written a small utility to do this. The output of it can be appended to the raw audio file.
5) Convert the raw audio file to a WAV or FLAC at 96000Hz, 16-bits, little-endian and two channels with Audacity.

The quality of the vector image is very dependent on the sound card's bandwidth (both upper and lower cutoff frequencies).

More information at kaput.hopto.org/oscilloscope
Display anything on an oscilloscopeAnother Brandenburg on a SIDLine controller for SynthesiserVidicon DreamsAmstrad CPC6128 Raycast demo (time lapse)555 Video Game tournamentBush Simpson 21BC92 TelevisionColour FeedbackAirvoyce Radiogram chassis & turntable on test benchABC Transmission FailureTube VCO using Theremin techniquesApple II Colour Demodulator
256byteram |

Display anything on an oscilloscope

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER