There is a melody, there is HTML5 audio api , the goal is to get the frequency, taking into account the time. To further compare them. I basically did audioCоntext connected the output, I connected with audioCоntext , volume, time, events - everything audioCоntext out. But the frequency ...
- sampling rate in different compression formats may vary. For example The mp3 file consists of independent “frames” (frames), each can have its own frequency: one at 44100Hz, the next at only 11025Hz. - Sergiks
- Here I would like to get it :) - venanen
- Try AudioContext.sampleRate , but there is a suspicion that it gives not the details of the file being played, but the frequency at the output of the decoder, and there will always be 44.1k or 48 or 96 - depending on the audio interface. - Sergiks
|