[Csnd] pyin
| Date | 2026-03-10 17:46 |
| From | Eduardo Moguillansky |
| Subject | [Csnd] pyin |
For those interested in pitch tracking in csound, I just implemented the pyin algorithm as an opcode. It is not as accurate as the offline version since we cannot use lookahead to improve the hmm prediction without incurring in extra latency. This version bases its confidence tracking only on past predictions, but the results are actually quite good so far and there is still some room for improvement. To my knowledge this is the first "realtime" pyin tracking out there, at least I have not seen any other implementation in supercollider, pd or max. cheers, eduardo |
| Date | 2026-03-10 18:07 |
| From | "Jeanette C." <000015cdd0ffa6cd-dmarc-request@LISTSERV.HEANET.IE> |
| Subject | Re: [Csnd] pyin |
Hello Eduardo,
thanks this is great! I must see if I can get this to work. I had issues in
the past with getting third-party plugins to run. But it's been a while. --
Hm, or is this part of the latest Csound?
Best wishes,
Jeanette
Eduardo Moguillansky, Mar 10 2026:
> For those interested in pitch tracking in csound, I just implemented the
> pyin algorithm as an opcode. It is not as accurate as the offline version
> since we cannot use lookahead to improve the hmm prediction without
> incurring in extra latency. This version bases its confidence tracking only
> on past predictions, but the results are actually quite good so far and
> there is still some room for improvement. To my knowledge this is the first
> "realtime" pyin tracking out there, at least I have not seen any other
> implementation in supercollider, pd or max.
>
> https://csound-plugins.github.io/csound-plugins/opcodes/pyin.html
>
> cheers,
> eduardo
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
> https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>
--
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |