twitchax / kord

A music theory binary and library for Rust / JS.
MIT License
209 stars 10 forks source link

Feature: Guess notes from audio file (redo) #3

Closed dscottboggs closed 1 year ago

dscottboggs commented 1 year ago

While reading the documentation for rodio I found symphonia and decided to redo from scratch using that rather than shelling out to FFMPEG. This implementation, however, still suffers from the same issue of inaccuracy as the previous one, leading me to think sample rate may still be an issue. Can you tell me what sample rate your test files are using?

Edit: I tested this with a file with 48kHz sample rate and the result was the same

Edit 2: no, the problem is with the audio files themselves. My bad