hi,
I need to play ringtone by using esp32. How can i play? pls revert back.
audio streaming
Re: audio streaming
If I had a project that needed to play a sound, I would use a module similar to this one:
http://www.ebay.com/itm/4-Channel-Contr ... 5d634b9ce8
It can store a few minutes of quality audio and has an amplifier built in. All one needs is to connect a speaker and trigger it to play from a GPIO from the ESP32.
http://www.ebay.com/itm/4-Channel-Contr ... 5d634b9ce8
It can store a few minutes of quality audio and has an amplifier built in. All one needs is to connect a speaker and trigger it to play from a GPIO from the ESP32.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: audio streaming
Between the DAC and the I2S features of the ESP32, it is possible to play audio directly with some external hardware (amplifier or I2S codec, respectively.) Until the I2S driver is available, the simplest option would be to use a timer to call the dac_out_voltage() function at a particular sample rate. There isn't an example available to do this out of the box, but I believe it would work.
There are more complex audio examples in the pipeline, but not yet I'm afraid.
There are more complex audio examples in the pipeline, but not yet I'm afraid.
Who is online
Users browsing this forum: Google [Bot] and 113 guests