Git Product home page Git Product logo

Comments (4)

TMRh20 avatar TMRh20 commented on August 24, 2024

I don't think these libraries are compatible. The problem is most likely that both libraries are trying to use the I2S peripheral.
Unfortunately there is probably not an easy solution.

from autoanalogaudio.

alcarazolabs avatar alcarazolabs commented on August 24, 2024

I don't think these libraries are compatible. The problem is most likely that both libraries are trying to use the I2S peripheral. Unfortunately there is probably not an easy solution.

Thanks for the reply. I want record an audio and then play it, its possible by using AutoAnalogAudio.h library? I saw an example here https://tmrh20.github.io/AutoAnalogAudio/SdAudioWavPlayer_8ino-example.html that it inside the switch condition it call a method called playAudio() I tested this method but I can't listen it in my speaker, I'm using a MAX98357 amplifier where this are my connected pins:

#define I2S_DOUT 25 //DIN PIN
#define I2S_BCLK 27
#define I2S_LRC 26
As you can see dear, my idea is use a library which allows me to record and play this audio files.
I tried Audio.h because this can play a remote .wav file and with AutoAnalogAudio it can't.

I will spect the answer from the author of Audio.h library and see if I can enable I2S. Now I ask you, how I can play audio by using a MAX98357 amplifier with AutoAnalogAudio.h

thanks in advance.

from autoanalogaudio.

TMRh20 avatar TMRh20 commented on August 24, 2024

I developed AAAudio on the board shown below, which uses pins 25 and 26 for I2S output.

image

I would suggest looking at the included ESP32 example and stealing code from there to make it playback audio.
Please note that ESP32 support is still a bit buggy, so you may find better luck if you can get the Audio library working.

from autoanalogaudio.

alcarazolabs avatar alcarazolabs commented on August 24, 2024

I developed AAAudio on the board shown below, which uses pins 25 and 26 for I2S output.

image

I would suggest looking at the included ESP32 example and stealing code from there to make it playback audio. Please note that ESP32 support is still a bit buggy, so you may find better luck if you can get the Audio library working.

Thanks man I will do.

from autoanalogaudio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.