Comments (4)
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.
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.
I developed AAAudio on the board shown below, which uses pins 25 and 26 for I2S output.
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.
I developed AAAudio on the board shown below, which uses pins 25 and 26 for I2S output.
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)
- Sdfat HOT 1
- Can't compile for any arduino board? HOT 1
- Communication problem HOT 15
- esp32 support HOT 1
- Documentation not updating properly HOT 7
- Missing declaration of variable adcChannel on AutoAnalogAudio.h HOT 2
- AutoAnalogAudio HOT 5
- Useing AAAudio for rec sound's from mic with esp32 HOT 9
- Can we get support esp8266 board? HOT 3
- Record sound from esp-cam HOT 1
- How Pin use to record audio on esp32 in AAAudio library? HOT 1
- Use on new Nano33BLE format boards HOT 1
- Low / Distorted Input and Output HOT 1
- Does it supports esp8266? HOT 1
- I can't make it stream over radio nrf24l01. HOT 3
- Which code Example can i use to record sound with the Arduino Due HOT 2
- Does the library Support Audio recording on an STM32 Board/Architecture HOT 1
- Example Confusion of hardware definition HOT 2
- SD compability HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoanalogaudio.