Editing sound with Photoshop

photosound_20090127.jpg

Over at Audio Cookbook, John Keston has been running a few experiments with using image filters in Photoshop to process sound. Running the audio data through a Gaussian blur or Spherize filter, he was able to create some incredibly diverse effects from a simple electric piano input.

To test this concept I created a simple pattern with an electric piano patch and opened it in Photosounder. Without changing any settings I immediately saved the sound as a bitmap image. Next I opened the image in Photoshop and started experimenting with filters. Once I had some filtered images I loaded them back into Photosounder to see how they sounded. Gaussian blur and Liquefy created some unique effects, but my favorite of the bunch was Glowing Edges. This filter seems to transform the electric piano into a haunting choral passage.

John has a number of MP3 samples on his site. To get the audio in and out of Photoshop, he's using a tool called Photosounder which translates a waveform into bitmap data and vice-versa. I've never used the app, but from looking at the output images, time is represented on the x dimension, y represents the frequency, and the brightness of the pixel is determined by the amplitude at that frequency/time coordinate.

Anyone interested in writing a sound to image converter in Perl?

Processing Sound Using Photoshop
Audio Cookbook
Photosounder


Recent Entries

Comments

Oldest comments listed first.

Posted by: Anonymous on January 27, 2009 at 2:24 PM

Wonder how that program does the sound image conversion. How do they translate the pixels into sounds? I presume first off from what can be seen is colour -> B&W. Then do they average across a vertical stripe?


Posted by: Michael Fusion on January 27, 2009 at 2:43 PM

to first post (next time create a name or something) reread the paragraph after the text block, it explains it right there.


Posted by: robert on January 27, 2009 at 2:50 PM

It's just a simple FFT using either Welch's method or Bartlett's method.

Your favourite mathematical software ( matlab , octave , python/numpy/scipy , scilab etc... ) can easily do it.


Posted by: Jon Ziebell on January 27, 2009 at 2:53 PM

Spectrogram

"time is represented on the x dimension, y represents the frequency, and the brightness of the pixel is determined by the amplitude at that frequency/time coordinate."

Yep - a spectrogram. Very cool idea.


Posted by: Michel Rouzic on January 27, 2009 at 3:35 PM

robert : It's actually envelope detection on a filter bank. The difference with the techniques you mentioned is that it allows for a fixed pitch resolution, and therefore a time resolution that varies according to the pitch, which offers a better sounding compromise, but higher resolution algorithms are in the works anyways. By the way if you think that a basic implementation of the processing algorithms is all you need, you'll find the free and open source ARSS http://arss.sourceforge.net/ just as interesting ;-).


Posted by: ehrichweiss on January 27, 2009 at 4:11 PM

RGS-1990-ish

This program reminds me of RGS(Realtime Graphical(Granular?) Synthesizer) for the Amiga. I remember my friends thinking I was lightyears ahead of them in terms of music creation thanks to the ability to load sounds, save the image, edit the image and then reload it to see what it sounded like. I kept trying to get the source code for that so I could revamp it for 16 bit or greater sound but the creator said he thought he lost it, plus it was in some dialect of Forth that I don't recall seeing/using.


Posted by: tenax8.myopenid.com on January 27, 2009 at 6:46 PM

True Story!

Aphex Twin used a spectrogram of his face as a sound source for the second track of the Windowlicker single. So... ooh!


Posted by: DSMatthews on January 27, 2009 at 8:04 PM

The original and still the best,

http://hem.passagen.se/rasmuse/Coagula.htm


Posted by: Jean-François Charles on January 28, 2009 at 1:37 PM

If you want to make graphical sound processing in real time, you may use cycling74's Max MSP Jitter environment. I wrote "A Tutorial on Spectral Sound Processing Using Max/MSP and Jitter", that might get you started (Computer Music Journal, Fall 2008). Max MSP embeds good tools to use FFT, and Jitter matrices and matrix manipulation tools make it easy to edit spectral data. The article is available for free: http://www.mitpressjournals.org/doi/abs/10.1162/comj.2008.32.3.87

In addition, I posted a number of patches about this kind of phase vocoder on http://www.cycling74.com/twiki/bin/view/Share/Jean-francoisCharles

Hope that helps.


Posted by: robbie on March 11, 2009 at 9:55 PM

glad to see someone else is doing this!

i thought i was the only one hehe! Instead of using a sound to picture converter you can always just use cooledit pro (or adobe audition as it's now called) to open the file as raw data, this way you can just save it as a wave file when done with it.

-fluorescent grey


Posted by: Pablo on May 18, 2009 at 4:11 PM

supported by Adobe Audition 3

This workflow is now directly supported by Adobe Audition 3.0. You simply open an audio file, Save As choosing the "Spectral Bitmap Image (*.bmp)" then open the file in Photoshop and edit. After editing, import the .bmp back into Audition.

When saving an audio file as a bitmap, the phase map is automatically saved as well which should improve your results and/or provide more tweaking options with the phase bitmap file.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television




Check out more videos from MAKE.

Maker SHED

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter



    MAKE Archives

    Make: Money

    Make: Science Room
    Subscribe to MAKE Magazine!

    Make: Online editors and authors!

    Gareth BranwynGareth Branwyn
    Editor-in-Chief


    Phillip TorronePhillip Torrone
    Senior Editor
    | Web | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter


    John BaichtalJohn Baichtal
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Current Podcast

    itunesdl.gif Behind the Scenes at MAKE and CRAFT In January, many of the remote MAKE/CRAFT team members (myself included) convened at the Maker Media headquarters at O'Reilly Media in Sebastopol, California. Take a look behind the scenes of your favorite DIY publications as Goli Mohammadi gives us... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    Sign up for the Make: Newsletter

    Our Make: Newsletter covers news from maker Media, has original columns, Shed deals, and more! You can also read the archives of past issues.


     



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en Español MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog