Working on an Arduino + Raspberry Pi project and hoping that this question fits into this category. I'm recording audio using a MEMS microphone on the Arduino and transmitting it over to the Pi to store in a playable file (WAV).
What I currently have setup is TCP transmission from the Arduino to the RaspPi. This part is fine and dandy for the purpose of seeing the data transmission that I am looking for.
Where my issue lies, is the audio data being recorded on the Arduino.
At the moment, I see data from my
analogRead() function displaying like the following:
2035 2046 2030 2031 2044 2038 2034 2031 2034 2019 2028 2030 2024 2032 2028
My question is, what does this mean? How would I translate this, preferably on the Pi, as usable data that I can store in a WAV file?
Any libraries or hints/clues that can steer me in the right direction would be great.