Page 1 of 2
Pitch Tracking Patch
Posted: Tue Mar 12, 2013 7:55 am
by mauronedj
Hi to all,
I can't find online any patch for Max that translate the pitch of an audio track (or a VST) into a midi CC output!
For me it's very useful for automate the filters cutoff, so I can remove, for example, the first harmonic, even if the pitch change!
Thanks!
Re: Pitch Tracking Patch
Posted: Tue Mar 12, 2013 7:07 pm
by kleine
Hello,
This is a bit effort and some problems need to be solved.
a) Audio effects can not output MIDI. One would need to send the MIDI to a receive device and distribute it further from there. (track routing)
b) accurate Pitch tracking is not easy if the material has a lot of harmonics
c) the tracked data needs a "good smoothing" in order to be usable.
btw: which OS do you use?
Christian
Re: Pitch Tracking Patch
Posted: Tue Mar 12, 2013 7:11 pm
by mauronedj
Hi Christian, thanks for the reply!
I'm on Windows (but I also have Osx)!
For the a) point, Live already have a default device that analyze the audio peacks and output CC's, why we can't do it with pitch?
Mauro.
Re: Pitch Tracking Patch
Posted: Tue Mar 12, 2013 7:22 pm
by kleine
Which of the devices output CC data? I just made it as a bonus in the MIDI LFO... the other ones use mapping - maybe this is sufficient?
Re: Pitch Tracking Patch
Posted: Tue Mar 12, 2013 8:41 pm
by mauronedj
kleine wrote:Which of the devices output CC data? I just made it as a bonus in the MIDI LFO... the other ones use mapping - maybe this is sufficient?
Yeah mapping would be great, I refer to that!
Could you try to work on it?
Mauro.
Re: Pitch Tracking Patch
Posted: Wed Mar 13, 2013 10:40 am
by kleine
Re: Pitch Tracking Patch
Posted: Wed Mar 13, 2013 9:35 pm
by mauronedj
Hi Christian,
Thanks for the patch, on mac it does not work,
I'll try it on my daw tomorrow and I report back here!
Many thanks for your time,
Mauro.
Re: Pitch Tracking Patch
Posted: Thu Mar 14, 2013 10:00 am
by clement.m
Re: Pitch Tracking Patch
Posted: Thu Mar 14, 2013 1:43 pm
by aberkow
You can use the [~fzero] object to track pitch within Max. If you connect it to [ftom] it will output the midi note value of the pitch you're playing which can be scaled or routed as you like. I've found [~fzero] works best when it doesn't have to listen to too many things though.
Re: Pitch Tracking Patch
Posted: Thu Mar 14, 2013 8:57 pm
by mauronedj
I'm on win, I'ts still not work, I donwloaded the right version!
The patch is not recognize the pitch!
Anyway thanks for your time man!

Re: Pitch Tracking Patch
Posted: Tue Mar 19, 2013 8:20 am
by mauronedj
Still can't make it work, please Christian can you help me?
The patch does not recognize incomings audio signal, it stay's to C root note!
Re: Pitch Tracking Patch
Posted: Tue Mar 19, 2013 8:25 am
by kleine
Are there any errors in the Max Message window?
Re: Pitch Tracking Patch
Posted: Tue Mar 19, 2013 6:24 pm
by mauronedj
Oh Yes,
newobj: fiddle~.mxe: No such object
I'm on the 64bit version of live and Max.
I'm a noob, sorry for that stupid question!
Re: Pitch Tracking Patch
Posted: Tue Mar 19, 2013 6:39 pm
by kleine
Right. I did forget about 64bit - this external (the fiddle~ object) does not exist in a 64 bit version so far.
When i have some (spare) time, i'll see how far i can get with the "built-in" external fzero~.
(about these externals: externals are small C++ code objects for Max/Msp. Many are part of Max/Msp (an M4L) but some are from
individual persons or institutions - like e.g. this particular fiddle~object, which does the pitch-tracking here. It's not a given that the developers of those port them to 64bit or whatever comes around in the computing future....)
Re: Pitch Tracking Patch
Posted: Tue Mar 19, 2013 7:11 pm
by mauronedj
Thanks!
I know what the External pieces of codes are but I don't know where to put them!
It's difficoult to port an Object?
Mauro.