The Process: Oscilloscope Music

Share this post

An oscilloscope is a device used to measure the frequency of electrical signals and display waveforms of those signals against a graph. If that sounds boring, it's because you haven't considered the creative capacity of this kind of tool. Jerobeam Fenderson, the man behind the Oscilloscope Music project, realized the oscilloscope's potential years ago, and he's been incorporating it into his live performances ever since.

We asked Fenderson if he'd walk us through the process of turning sound into images. He did us one better and gave us a complete walkthrough, which you can follow at home using the open source software he suggested. Enjoy!

First of all, in case you don't have an oscilloscope around, don't worry: the patch below includes a simple software scope to start playing right away. However, if you do have one, particularly an analog one, it will give you the advantage of looking way nicer. Just switch it to XY-mode (also called lissajous mode) and plug the left and right audio channels from your soundcard into it's horizontal and vertical inputs.

So, let's build a simple patch in Pure Data to draw some lissajous figures on an oscilloscope!

Pure Data (aka Pd) is an open source software, that let's you plug objects together to create sounds in a quick and effective way. If you're not familiar with it yet, it's best to download and install Pd-extended from puredata.info. To be able to hear the sounds you make, you need to check the DSP box in the main window, maybe adjust your audio preferences (Media → audio settings), and create a new file (File → New).

First we need an audio output from Pd. Pressing Ctrl+1 will create an object, specified by what you then write into it. For the audio output, type in "dac~" (digital to analog converter) and you will get an object with two inlets for left and right audio channels. As our first sound source we create a phasor~ object, which periodically outputs a ramp from 0 to 1 (sawtooth waveform), with the frequency specified at its input. Herefore we need a number box, created with Ctrl+3. To type in numbers you need to switch to "Play mode" with Ctrl+E. You can also click and drag to change the frequency. To go on editing your objects, switch back to "Edit mode" by pressing Ctrl+E again. Before you connect the phasor~ to the dac~ object, I suggest you turn your speakers down a little, because the sound can be quite harsh.

Now, to draw images with sound, we need two different audio channels. We're going to use the simplest possible waveforms, sine and cosine, which look similar to each other, but phase-delayed.

The respective Pd objects sin~ and cos~ take the phasor~'s periodical ramp as input and convert it into a sine and a cosine wave.

These audio signals are fed into the oscilloscope, so that one of them moves the green dot horizontally, while the other one moves it vertically, and it's happening so fast that we don't actually see the movement anymore, but rather the stable image of a circle.

To change the circle's size we need to multiply the signal with a number between 0 and 1. This can be done with a slider (Ctrl+Shift+V) and a *~ (multiplication) object. Right click on it to edit it's value range. To smooth out changes and avoid crackling, it's advisable to put a line~ object in between. The message box above (created with Ctrl+2) just tells it to use the sliders value with a change rate of 10 milliseconds.

Now finally we want more complex images. To experiment for yourself, an additive synthesizer will be a good start. Just select all the objects, except for the dac~, and press Ctrl+D to duplicate them, then add the signals with a +~ object.

Changing both parts' frequencies and volumes will already give you quite a variety of lissajous figures, and this is just the beginning. If you play around by yourself a little, you can easily find out about lots of possibilities to create new waveforms and images on your oscilloscope.

The complete Pd patch, including a little scope visualization subpatch, is available here.

More information, including an incredible 'How to Draw a Mushroom' video tutorial, is available on the Oscilloscope Music project page.

Comments
    1. John Overstreet on June 23, 2015

      This reminds me of back in high school when I modified a tube TV to be an o-scope and fed early electronica into it. Of course back then, all TVs were tube TVs...

      Synergy had great lissajou patterns of the bass line - Pink Floyd too. Now I have a real Tektronics oscilloscope on my bench and I haven't fed it music in YEARS...

      Thank you for the kick start!

    2. Robin Beckett on June 24, 2015

      This is so cool. I love it.

    3. Syed Hussain on June 27, 2015

      Very Good interesting.

      Can i make http://www.clickpackers.com/ as a main hub for packers and movers in india ? Im looking to start a new venture on packers and movers

    4. Missing avatar

      Sachin Agarwal on August 13, 2015

      This comment has been removed by Kickstarter.

    5. Soni Gupta on September 4, 2015

      This comment has been removed by Kickstarter.

    6. Soni Gupta on September 4, 2015

      This comment has been removed by Kickstarter.

    7. Soni Gupta on September 4, 2015

      This comment has been removed by Kickstarter.

    8. Soni Gupta on September 4, 2015

      This comment has been removed by Kickstarter.

    9. Missing avatar

      indra on September 4, 2015

      This comment has been removed by Kickstarter.

    10. Missing avatar

      Amine on September 15, 2015

      This comment has been removed by Kickstarter.

    11. Missing avatar

      Upeksha Pawar on September 19, 2015

      This comment has been removed by Kickstarter.

    12. Missing avatar

      indra7 on September 26, 2015

      This comment has been removed by Kickstarter.

    13. Jivanlal Kumar on September 29, 2015

      This article is really fantastic and thanks for sharing the valuable post.
      Packers and Movers Hyderabad @
      http://www.expert5th.in/packers-and-movers-hyderabad/
      Packers and Movers Delhi @
      http://www.expert5th.in/packers-and-movers-delhi/
      Packers and Movers Gurgaon @
      http://www.expert5th.in/packers-and-movers-gurgaon/
      Packers and Movers Noida @
      http://www.expert5th.in/packers-and-movers-noida/

    14. Jivanlal Kumar on September 29, 2015

      Thanks for post this helpful post - Please visit for More information about -
      Packers and Movers Bangalore @
      http://www.expert5th.in/packers-and-movers-bangalore/
      Packers and Movers Mumbai @
      http://www.expert5th.in/packers-and-movers-mumbai/
      Packers and Movers Chennai @
      http://www.expert5th.in/packers-and-movers-chennai/

    15. Jivanlal Kumar on September 29, 2015

      Thanks for all your information, Website is very nice and informative content.
      Packers and Movers Pune @
      http://www.expert5th.in/packers-and-movers-pune/
      Packers and Movers Thane @
      http://www.expert5th.in/packers-and-movers-thane/
      Packers and Movers Navi Mumbai @
      http://www.expert5th.in/packers-and-movers-navimumbai/
      Packers and Movers Ghaziabad @
      http://www.expert5th.in/packers-and-movers-ghaziabad/
      Packers and Movers Faridabad @
      http://www.expert5th.in/packers-and-movers-faridabad/

    16. Missing avatar

      indra7 on October 1, 2015

      This comment has been removed by Kickstarter.

    17. Missing avatar

      jack parker on October 5, 2015

      This comment has been removed by Kickstarter.

    18. Missing avatar

      David Pollart on October 7, 2015

      I was so amazed with the article, it was incredible, I loved it. sorry if I deviated, I want to share health articles, money may be useful as the following articles:

      http://thebigbangtheory.otavo.tv/
      http://bones.otavo.tv/
      http://criminalminds.otavo.tv/
      http://csi.otavo.tv/
      http://how-i-met-your-mother.sequd.com/
      http://supernatural.otavo.tv/
      http://ncis.otavo.tv/

    19. Missing avatar

      Mir Azhar on October 9, 2015

      Thanks for nice share. Things are in fact pleasant here with the actuality that is great on Whatsapp Download.
      http://whatsappforme.com/whatsapp-for-pc-free-download-windows-computer/

    20. Missing avatar

      iddesign on October 15, 2015

      here is a link to the application drive as Whatsapp
      http://www.bluestacks.com/ and the designer http://www.iddesign.pro.

      Thank you for sharing

    21. Missing avatar

      Namaku Keren on October 20, 2015

      This comment has been removed by Kickstarter.

    22. Missing avatar

      teguhbejo on October 22, 2015

      This comment has been removed by Kickstarter.

    23. Missing avatar

      teguhbejo on October 22, 2015

      This comment has been removed by Kickstarter.

    24. Missing avatar

      Doa Ibu Tersayang on October 23, 2015

      This comment has been removed by Kickstarter.