You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
If "f" is an mp3 file or anything besides wav it won't be accurate, I don't know why author uses mp3 in demo app. Even with wav you should discard the first 44 bytes as it is the header.
Come to think of it, I'm not sure if anything but 8-bit pcm data would be accurate, for some reason library used byte[], I think it should be short[] for the typical 16-bit data. I guess you could divide short /2.
But I know if your array accurately represents the amplitudes of the song it will work.
Also why you call setScaledData, then setRawData, that is pointless I think.
Hi
i record voice in telegram and final wave form is like following image
but when i used from this audio for test app the result was like this!
my code is
How Detect Correct Raw Data?
The text was updated successfully, but these errors were encountered: