Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By npashine
#76290 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.
User avatar
By kokuam
#81373 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);
}
}