My product (in development) mainly sends data direct to phones/speaker via Bluetooth a2dp. The source is wav, mp3 files (on sdcard) and program-generated tones. I have managed this part without use of the codec but I also want to capture new files received over http coded into mp3 and stored on sdcard.
Due to space constraints I don’t really have room for a codec and no need for mic/line in or wired audio out.
My questions is, what problems am I letting myself in for by dropping the codec? MP3 decode without codec is ok (tested) Any other problems in the context I’ve outlined?
Thank you.
ADF without codec
-
- Posts: 25
- Joined: Fri Nov 23, 2018 12:07 pm
Re: ADF without codec
Code: Select all
MP3 decode without codec is ok (tested)
If you want to decode an mp3 audio, you will need mp3_decoder, and related code will be pulled in.
Code: Select all
I have managed this part without use of the codec but I also want to capture new files received over http coded into mp3 and stored on sdcard.
You can mount sdcard, connect to URI using esp_http_client and store downloaded file to sdcard with some name.
Re: ADF without codec
Thanks for responding. I guess I'm trying to implement some audio functions with ADF but don't use the line or mic in and am happy with 8-bit internal DAC and A2DP for audio output. I have space issues and want to avoid using a codec chip if I can. I have a LyraT unit I'm which using for development and struggling to see the point of the CODEC chip but don't want to exclude it if it is critical. Sound sources are likely to only include wav, mp3 and aac.
Who is online
Users browsing this forum: No registered users and 25 guests