Forums > MaxMSP

Guitar + MAX

April 19, 2007 | 3:03 pm

I have connected a small microphone on a guitar, and the microphone is connected to my laptop with max.

I want max msp to understand what string is played (pitch recognition) on my guitar and then directly output my own wav files depending on which ones is trigered by the guitar (5 different).

Can anyone do this for me? i’m extremely new on max msp so everything will be appreciated. Please paste any code here..or explain in detail what I need to do.

Thank you


April 19, 2007 | 4:57 pm

http://crca.ucsd.edu/~tapel/software.html
fiddle~ can kinda do this.

On Apr 19, 2007, at 8:03 AM, Tomas wrote:

>
> I have connected a small microphone on a guitar, and the microphone
> is connected to my laptop with max.
>
> I want max msp to understand what string is played (pitch
> recognition) on my guitar and then directly output my own wav files
> depending on which ones is trigered by the guitar (5 different).
>
> Can anyone do this for me? i’m extremely new on max msp so
> everything will be appreciated. Please paste any code here..or
> explain in detail what I need to do.
>
> Thank you


April 19, 2007 | 8:52 pm

fiddle does the pitch recognition, spitting out midi note numbers. That’s
the easy part of the answer.

once you’ve got the note numbers you’ve got to decide what file to play
based on what note the computer hears. since there’s no pre-made object tat
does this for you, this will require you to build something, but that’s what
max is all about. Needless to say, there are many ways to do this.

One solution: you compare the numbers from fiddle to some reference. is it
between 40 and 50? no, is it between 51 and 60? etc etc, and once you get a
yes you bang one of your 5 file players, such as sfplay~.

On 4/19/07, Darren Gibbs wrote:
>
> http://crca.ucsd.edu/~tapel/software.html
> fiddle~ can kinda do this.
>
> On Apr 19, 2007, at 8:03 AM, Tomas wrote:
>
> >
> > I have connected a small microphone on a guitar, and the microphone
> > is connected to my laptop with max.
> >
> > I want max msp to understand what string is played (pitch
> > recognition) on my guitar and then directly output my own wav files
> > depending on which ones is trigered by the guitar (5 different).
> >
> > Can anyone do this for me? i’m extremely new on max msp so
> > everything will be appreciated. Please paste any code here..or
> > explain in detail what I need to do.
> >
> > Thank you
>
>


April 21, 2007 | 1:30 pm

fiddle~ is a bit fiddly though (pardon the pun). You might have better luck with a fft to analyse the spectrum and make decisions based on the results from that.

SJ.


April 22, 2007 | 2:08 pm

simonmitchell schrieb:
> fiddle~ is a bit fiddly though (pardon the pun). You might have
> better luck with a fft to analyse the spectrum and make decisions
> based on the results from that.

fiddle~ is doing its magic based on fft.
(That’s why I always wanted a pfft~ version of it to avoid unnecessary
fft’s…) If you’re able to do what fiddle does with your own fft
tweakin’ your already in the master class of patchers… (and would
easily come along with the fiddlyness of fiddle~ ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 5 posts - 1 through 5 (of 5 total)