-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8bit DAC's of the ESP32 #302
Comments
#include "Audio.h"
#include "FS.h"
#include "SPIFFS.h"
#define I2S_DOUT 25
#define I2S_BCLK 27
#define I2S_LRC 26
Audio audio(true, I2S_DAC_CHANNEL_BOTH_EN);
void setup() {
Serial.begin(115200);
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT);
audio.setVolume(21);
SPIFFS.begin();
audio.connecttoFS(SPIFFS, "alert.mp3");
}
void loop()
{
audio.loop();
} |
speaker is connected to GPIO 26 and GND |
@Fire-Dragon-TW, this issue is not related to the library itself, it is a problem with the Espressif Arduino Core. The last version that the internal DAC works is the 2.0.0. The issue was discussed here: espressif/arduino-esp32#5938 |
I want to implement this library because it enables the internal DAC of ESP32 without any other hardware. Can you post a sample audio output recording, to judge the quality of simple speech voice? It would be really helpful to make a final decision. Thank you |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
How can I use 8bit DAC's of the ESP32
The text was updated successfully, but these errors were encountered: