2021-03-01 09:33 PM
Can someone help me figuring out how do we conclude the obtain pcm values are accurate and can there be any references to validate it and test it back?
Any suggestions please help?
Solved! Go to Solution.
2021-03-01 10:21 PM
> ...how to convert them into .WAV format ?
WAV is a simple container format. There are many good libraries available, like portaudio, asoundlib, alsa, or bass.
I would do that on PC side, but you could port one of those libs to the MCU if you like.
> ... and How to validate the the values are exactly accurate?
Specify "exactly accurate".
Sound is differential air pressure. Unless you can produce an exact quantity of this non-electrical unit, there is no "exactly accurate".
You can record with a reference system, and compare both recordings.
2021-03-01 10:21 PM
> ...how to convert them into .WAV format ?
WAV is a simple container format. There are many good libraries available, like portaudio, asoundlib, alsa, or bass.
I would do that on PC side, but you could port one of those libs to the MCU if you like.
> ... and How to validate the the values are exactly accurate?
Specify "exactly accurate".
Sound is differential air pressure. Unless you can produce an exact quantity of this non-electrical unit, there is no "exactly accurate".
You can record with a reference system, and compare both recordings.