Best technique #696
-
Sr i am working on sending microphone stream data from one esp to another via ESPNOW . . initially i was working on wave encoding format but found its size is VERY huge , then realize to work on Mp3 encoding , but still i am confuse which scheme is best . Is their any other better option ? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Just use one of the low complexity codecs. I think the ones also used by bluetooth might be interresting: If you need more info about each codec: google is your friend! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detail response , and apology if mis any documentation . I Recorded audio in SBC encoded format ,but Now I want to play/listen the file in computer , mostly i uses audacity to play wav or Mp3 file , but cant open SBC , i search other way to play SBC file in computer but have no success . |
Beta Was this translation helpful? Give feedback.
-
You can compile and run a sketch written with the arduino-audio-tools on the desktop... |
Beta Was this translation helpful? Give feedback.
-
I record file i2s microphone with SBCencoder , Attached is the recorded file .. But when I play with SBC decoder , I am getting noise only . How to counter check the file recorded is ok ? Pre test : I successfully record wave file and play wav file . Below is log of SBC decoder playing . [I] I2SConfig.h : 104 - rx/tx mode: TX_MODE |
Beta Was this translation helpful? Give feedback.
-
You can find a test case in the tests... |
Beta Was this translation helpful? Give feedback.
-
i test-codec-sbc , and i can hear the sine tune from speaker , Also below are success test : 1:Mp3 play from SPIFFS work , Then were the problem is , My recorded sampling rate is 44100 , bits per sample: 16 . What else should check ? |
Beta Was this translation helpful? Give feedback.
Just use one of the low complexity codecs. I think the ones also used by bluetooth might be interresting:
https://github.com/pschatzmann/arduino-audio-tools/wiki/Encoding-and-Decoding-of-Audio
The only ones I would avoid are mp3 and aac because they use too much resources...
If you need more info about each codec: google is your friend!