an open-source digital signal processing and sound synthesis language
about · links · contact

midipch

convert frequency (Hz) to midi note #

It apparently does convert frequency (Hz) to a midi note number.
    #include "ugens.h"

    float freq; float midinote

    midinote = midipch(freq);