Sound to Image

lpine@ryerson.ca's icon

I am trying to create a spectrogram that will display all the qualities of a sound including timbre, amplitude, frequency, pitch etc.

So far I have been only able to see the amplitude and phase. Does anyone know how to do this?

Ploki's icon

Okay, you really need to read the threads you open before posting a follow up question as a new thread that is the same as the first thread you opened, it enables us to actually help you.

Timbre = frequency + amplitude + time
Pitch = frequency

Spectrogram~ mode sonogram: display that shows Frequency + amplitude over time.
Spectrogram~ mode spectrogram: Display the current frequency and its amplitude for a given window (average of a certain time, usually a few milliseconds if you will)

You can also use both modes in "phase" mode which is a whole-nother-area i don't think is relevant for you at the moment.

You want Spectrogram~ in "sonogram" mode.
And you want pfft~ for the actual resynthesis.

lpine@ryerson.ca's icon

Sorry, somehow my first post disappeared and I only saw your response after I posted the second one. Thanks for this -- I've been looking at pfft~ to see if that is what I want, but I am not quite at the resynthesis stage yet. At this point, and maybe MAX/MSP is not the application to do this, what I want to do is SEE sound. What does any given sound actually look like? The reason I want to do this is to compare languages. The spectrogram gives me an idea but it is simply a visual representation of the sound, rather than sound waves made visible. Does this make sense?

Ploki's icon

Waveform? Okay do you need max for manipulation, because for analysis there are much more sophisticated programs for that.

waveform: (waveform~ object, via buffer~ object.)
http://www.floom.com/images/waveform_eggs.gif

frequency analyzer: (spectroscope~ object, spectrogram mode, or plot~ object via fft~ object):
http://img.tomshardware.com/us/2002/07/12/mobile_music/all.jpg

true spectrograph (spectroscope~ object, sonogram mode):
http://www.cube-tec.com/images/products/vpis/analyze/vpi_spectrograph_big.jpg

izotope rx shows you spectrograph + waveform at the same time (its very useful for analysis and ridiculously accurate)
http://woodyssoundadvice.com/wp-content/uploads/2008/11/rxstandalone.jpg

schwa schope is a realtime waveform display: (+ phase + freq analyzer)
http://www.stillwellaudio.com/?page_id=26

You can do everything in Max, but if you only need to *analyze it* there is not sense to do it in max. If you want to *manipulate* it, go ahead and make it in max.

Also, take a look at *this* patcher.
http://www.fourms.uio.no/software/AudioAnalysis/

The idea is nifty - comparing languages. There is a software whose name i can't remember that can make a source recording sound like the target recording in a different language. pretty impressive.

lpine@ryerson.ca's icon

Thanks so much. I will check all these out and if you are interested let you know how it goes.

Ploki's icon

Sure.
I'll post the link of that software as soon as i find it. :)