Search found 7 matches

by zenman
Thu Nov 01, 2018 4:09 pm
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

Re: A2DP source

Mark would you mind sharing the SPIFFS code that you almost got to work? Maybe if we are working on the same codebase we can figure it out together.
by zenman
Thu Oct 11, 2018 11:14 pm
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

Re: A2DP source

You found a repo that can play audio files? What is the link?

I have been able to get the sample code from the latest esp codebase, it plays a pretty annoying garbage sound. But I still can't figure out how to go from an SD card to a bluetooth speaker.
by zenman
Wed Sep 26, 2018 12:02 am
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

Re: A2DP source

Bump.

Anyone have any thoughts on how to play a .wav file or .mp3 file?
by zenman
Mon Sep 17, 2018 1:37 pm
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

Re: A2DP source

I haven't solved this yet, but I think I'm on the right track to a solution. I figure I'll just keep posting my notes here in case someone else is trying to do the same thing and ends up searching this forum for the answer. My latest realization is that i'm using code from the esp-adf library which ...
by zenman
Sun Sep 16, 2018 6:43 pm
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

Re: A2DP source

I feel like the code I need to make this work exists in the ADF library, but at this time I'm not smart enough to get it working. (still trying though!) There is an example called play_sdcard_wave_example.c that seems like, with some modifications, it should work. At the moment in that example, I'm ...
by zenman
Sat Sep 15, 2018 5:03 pm
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

Re: A2DP source

I feel like I am a tiny bit closer. The docs say it is a PCM data stream. After a bit of research a .wav file is a PCM format. My next plan is to put a .wav file on an SD card, and see if I can somehow use that as the audio data. If anyone out there knows how to do any part of this, I would love to ...
by zenman
Sat Sep 15, 2018 5:22 am
Forum: ESP-IDF
Topic: A2DP source
Replies: 14
Views: 18220

A2DP source

After quite a bit of trial and error with different bluetooth headphones and speakers, I finally got a speaker (and a set of headphones) connected. When it played a sound I thought it was broken, but then found out that it was designed to play some static. Can someone explain the bt_app_a2d_data_cb(...