I’m currently using Audacity with the pYin:Notes plugin to recognize notes in a melody by extracting their frequencies. However, I’m looking for a way to automatically convert these frequencies into note names (e.g., E3, D#4) and have them displayed directly in Audacity.
It seems like a simple thing, but I can’t find a solution and feel a bit stuck.
By the way, there is a plugin called Chordino:Chord Estimate, and it works fine with chords.
I want to replace frequency values with note names.
I also found a plugin named note-frequency.ny pitch-detect.ny , which does something similar but only for a single note.
So, is there a way to create or use an existing plugin (maybe Nyquist?) or any other method in Audacity to automatically convert the frequencies detected by pYin into note names?
Hello again. I tried to create nyquist plugin to convert the frequencies detected by pYin into note names. That was a real challenge for me as I have no knowledge of LISP/Nyquist/SAL.
I analysed some plugins and made a script which creates a copy of label track.
The end variable was used for testing:
Line (setf notevalue (format nil “~a” (- end 5))) - works fine;
Line (setf notevalue (format nil “~a” (- notevalue 5))) - doesn’t…
Error: bad argument type. It seems like notevalue is being treated as a string…
I guessed that I have to replace dots by commas, cause my labels looks like 103.596. So I add subst #, #. notevalue* - didn’t help (and it was wrong idea).
Later I found a function number-string-p and that was exactly what I was looking for. Notevalue became a float and I did that: