Toneglass pYIN (experimental browser implementation) Algorithm: Matthias Mauch and Simon Dixon, "pYIN: A Fundamental Frequency Estimator Using Probabilistic Threshold Distributions", ICASSP 2014. https://webspace.eecs.qmul.ac.uk/s.e.dixon/pub/2014/MauchDixon-PYIN-ICASSP2014.pdf The threshold and trough priors and two-grid HMM design are adapted from librosa's pYIN implementation. This is not the Python library, the original Vamp plugin, or an exact reproduction of their offline outputs. Toneglass uses a fixed-half-window YIN difference, anti-aliased decimation, causal Viterbi endpoint decoding, a 12 octaves/second transition bound, and an explicit weak-evidence gate. No learned model or server is involved. https://librosa.org/doc/latest/_modules/librosa/core/pitch.html ISC License Copyright (c) 2013--2026, librosa development team. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.