Analyse oscillation of the soundwave, live recording

lalalali's icon

Hello,

I have a question about the scope,
I would like to work with the live recording and transform the soundwave of each recording into a simply pattern.
This pattern may varie, by its thickness , its lenghts etc... according the intensity and the the of the sound,
I was thinking of working with the scope object but i can't find how to analyse the oscillation of the soundwave,
Anyone can help me?

thanks!

Frans-Jan Wind's icon

This sounds like you're interested in [fft~]. MSP tutorial 25

lalalali's icon

thank you,
i had a look at it already but it only explains the oscillation of the sound wave.
How can translate the soundwave into a pattern?
I

Frans-Jan Wind's icon

What do you mean by "oscillation"? With fft~ you'll get the presence (amplitude) of different frequencies on a given moment. I can imagine you compare the resulting frequencies to a database of possibilities. If a certain frequency collection matches a record in your database you could trigger a pattern. But maybe I don't understand your goal exactly

lalalali's icon

What I mean by oscillation is the soundwave.
my goal is to record someone saying a word, for example, in max msp,
so in my patch there will be the part recording and the part "translation" of the recording into a pattern( which will vary according the intensity of the sound (so according how the soundwave of the recording is)
what i thought was to attach a scope object on my record object to visual the soundwave,
but now i am stuck as i do not know how to translate the soundwave into a pattern ,
is that clear? :s

thanks

lalalali's icon

anyone?

Frans-Jan Wind's icon

You could take a look at zsa.discriptors this is an extensive library for sound analysis
http://www.e--j.com/?page_id=499