Comments (3)
Have you already looked at this: #45
from arduino-audiokit.
I tried setting AI_THINKER_ES8388_VOLUME_HACK
to 2 but it just made the volume very low again.
My main issue here is that I'm only getting audio from 1 channel (the left).
Here's my code:
#include <Arduino.h>
#include "AudioTools.h"
#include "AudioLibs/AudioKit.h"
#include "AudioCodecs/CodecFLAC.h"
#include "Password.h"
URLStream url(WIFI_SSID, WIFI_PASSWORD);
FLACDecoder dec;
AudioKitStream i2s;
void setup() {
esp_wifi_set_ps(WIFI_PS_NONE);
auto cfg = i2s.defaultConfig(TX_MODE);
cfg.sample_rate = 44100;
cfg.channels = 2;
i2s.begin(cfg);
i2s.setVolume(100);
url.begin("http://192.168.1.1:8080/44100-stereo.flac");
dec.setInputStream(url);
dec.setOutputStream(i2s);
dec.begin();
}
void loop() {
dec.copy();
}
This currently isn't an urgent issue for me, but this might be good to resolve for others that have the 3378 board.
I also have 2762 board and the above code works perfectly.
from arduino-audiokit.
Try this, after kit.begin();
es8388_write_reg(ES8388_DACCONTROL7, 0x1C);
from arduino-audiokit.
Related Issues (20)
- No headphone output for AudioKit on LyraT 4.3 board HOT 3
- Improve Input Quality HOT 3
- sd wav example no audio HOT 1
- Board selection in arduino ide HOT 6
- Output example will not compile if board type is set to 6 HOT 2
- Example sd_begin does not compile HOT 35
- LyraT 4.3 PA chip works with headphone plugged in HOT 4
- Mismatch in library properties and repo name HOT 1
- ES7243 erroneous value for 22.5dB volume
- Changing MCLK Pin Default for ES8388 HOT 2
- Bad quality when forwarding audio in to output HOT 6
- SD examples work with errors On Lyrat V4_3 board HOT 5
- Power management of ES8388 using audio-kit lib HOT 8
- ESP32-S3-BOX HOT 6
- Have you had AUDIO_HAL_ADC_INPUT_LINE1 work? HOT 3
- Problem with base-i2s-a2dp HOT 3
- ESP32-S2-Kaluga-1 v1.2 + ESP-LyraT-8311a v1.2 - Doesn't work HOT 40
- input.ino output 0, 0 on S3-BOX-Lite HOT 2
- "hal/gpio_types.h: No such file or directory" HOT 2
- Incorrect button definitions? HOT 1
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 arduino-audiokit.