-->
Page 6 of 6

Re: MP3, FLAC, MOD, & WAV with SW or HW DAC in Arduino IDE

PostPosted: Mon Feb 05, 2018 1:12 pm
by renegade
I managed to fix that issue with some updates and bug fixes by earle.

I have a new problem : https://github.com/earlephilhower/ESP82 ... /issues/53 it's a bumpy ride.

Re: MP3, FLAC, MOD, & WAV with SW or HW DAC in Arduino IDE

PostPosted: Tue Jun 05, 2018 3:31 am
by npashine
Hi earlephilhower and all,

I have used your library and its awesome, but it don't fulfill my requirement kindly help.

I have to play a dynamic generated samples from I2SNODAC, without any SPIFFS or SD card.

Also i need to record from I2SIN line and process the data into my SDK.

Last but not least i need to know how to make ESP8266 I2S TX and RX both as Slave and clock should be input.

Re: MP3, FLAC, MOD, & WAV with SW or HW DAC in Arduino IDE

PostPosted: Tue Mar 26, 2019 8:17 am
by kokuam
Hello! Thank you for your great libraries!

I'm runnung slightly altered myPlayAACFromPROGMEM.ino example sketch with following results : https://youtu.be/ufrhHSXVtr4

Power source is more than powerfull, I've tried various, I tried different speakers (4 and 8Ohm) as well but hear loud crackle. Could you please take a look if it's possible to get a better quality? thank you!

------------------------------------------------------------------

#include <Arduino.h>
#include "AudioOutputI2SNoDAC.h"
#include "AudioGeneratorAAC.h"
#include "AudioOutputI2S.h"
#include "AudioFileSourcePROGMEM.h"
#include "sampleaac.h"

AudioFileSourcePROGMEM *in;
AudioGeneratorAAC *aac;
//AudioOutputI2S *out;
AudioOutputI2SNoDAC *out;

void setup(){
Serial.begin(115200);
in = new AudioFileSourcePROGMEM(sampleaac, sizeof(sampleaac));
aac = new AudioGeneratorAAC();
//out = new AudioOutputI2S();
out = new AudioOutputI2SNoDAC();
aac->begin(in, out);
}

void loop() {
if (aac->isRunning()) {
aac->loop();
} else {
Serial.printf("AAC done\n");
delay(1000);
}
}