Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/copych/esp32-i2s-audio-helper-class
I2S helper class for ESP32 family. Makes I2S Audio really easy.
https://github.com/copych/esp32-i2s-audio-helper-class
esp-arduino esp32 esp32-arduino esp32-s3 i2s i2s-audio
Last synced: 18 days ago
JSON representation
I2S helper class for ESP32 family. Makes I2S Audio really easy.
- Host: GitHub
- URL: https://github.com/copych/esp32-i2s-audio-helper-class
- Owner: copych
- License: mit
- Created: 2024-10-30T20:31:20.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-10-30T21:24:39.000Z (20 days ago)
- Last Synced: 2024-10-30T22:21:36.447Z (20 days ago)
- Topics: esp-arduino, esp32, esp32-arduino, esp32-s3, i2s, i2s-audio
- Language: C++
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32-I2S-Audio-Helper-Class
A helper class to make I2S easy. Compatible with ESP Arduino cores 2.x.x and 3.x.x.
Access audio capabilities of ESP32 family with a few lines of code like
```
#include "i2s_config.h"
#include "i2s_in_out.h"I2S_Audio AudioPort;
float sampleL = 0.0f;
float sampleR = 0.0f;void setup() {
AudioPort.init(I2S_Audio::MODE_IN_OUT);
}void loop() {
// get one input sample
AudioPort.getSamples(sampleL, sampleR);// process it the way you like
SomeOfYourEffects.process(&sampleL, &sampleR);// output processed sample
AudioPort.putSamples(sampleL, sampleR);
}
```