CorePitchDetector
Waveform pitch detection in Core

DESCRIPTION
Pitch Detector.rcc, FrequencyToPitch.rcc
In the forums I read the post by chaircrusher at http://www.native-instruments.com/forum/showthread.php?t=61892
Using his module as a reference I implemented CList's description of what the equivelent Core module would be.
My DSP is in it's baby steps, so I had to google a bit to find the formula for frequency to pitch which I eventually found at http://www-crca.ucsd.edu/~msp/techniques/v0.08/book-html/node8.html
A sample accurate mono signal analyzer that outputs the detected MIDI pitch as a float, all maths at default precision.
The construction is measuring the positive zero crossings of incoming data, measure the distance between them to get frequency and then converting that to MIDI pitch.
Since the factory lib has an P2F but not an F2P core module, I built an F2P macro
which might be of use to other people as well. I've included it seperately in this zip.
This module is released under an LGPL license, for details see
http://www.gnu.org/licenses/lgpl.html
(edit fixed PitchDetector's suffix, uploaded originally as RCC, actually an MDL)..
COMMENTS (10)