Polyphonic Pitch Detection - Creating a MAX/MSP External w/ Openframeworks Addon

Aidan Anthony O'Leary's icon

Hi Guys,

I'm currently doing a College project where I am designing a patch than can do monophonic as well as polyphonic pitch detection in real-time. Currently the monophonic detection is not a problem thanks to implementing sigmund~ and fiddle~. However the polyphonic detection is more tricky of course. I have used the external chromogram designed by Adam Stark which is great, but the latency is a bit too much for what I need. Ultimately I've found the Openframeworks Addon "ofxFilterbank" which does fantastic real-time analysis. My issue here is that we have just barely touched on c++ programming in our course and I'm simply not competent enough in the field yet. So my main question is, are there any directions you can point me in towards figuring out how to use the ofxFilterbank addon within openframeworks in order to export it as a max external object to be used within my patch? Any help would be very much appreciated. I've been researching this for a while now but I'm finding it very difficult to teach myself the processes involved in creating the external.

Thankyou

Jesse's icon

I think you'd be far better off sending the analysis data from Open Frameworks to MAX as OSC, and then just do whatever you want with it. I don't know of anyone who has ported an ofx add-on to a Max external, but it's likely non-trivial if possible at all.