Closed dl9sec closed 7 months ago
I could not reproduce your issue, however I was testing with an updated example and the latest version of the decoder which supports psram now.
The pin conflict message has been corrected in the latest version of the arduino-audio-driver
Hmmm. ok. Thank you very much, let me know, if you need further information. FYI: I disassembled both mics, audio is coming from LINEIN. The WAV streamer example works just fine (apart from a slightly crackling noise in audio). Updated the arduino-audio-driver library, the warning disappeared, great stuff :-)
Somehow this does not make any sense and your log does not match with the example! I am getting:
[I] AudioTypes.h : 104 - sample_rate: 16000
[I] AudioTypes.h : 105 - channels: 1
[I] AudioTypes.h : 106 - bits_per_sample: 16
[I] I2SConfigESP32.h : 90 - rx/tx mode: RX_MODE
[I] I2SConfigESP32.h : 91 - port_no: 0
[I] I2SConfigESP32.h : 92 - is_master: Master
[I] I2SConfigESP32.h : 93 - sample rate: 16000
[I] I2SConfigESP32.h : 94 - bits per sample: 16
[I] I2SConfigESP32.h : 95 - number of channels: 1
[I] I2SConfigESP32.h : 96 - signal_type: Digital
[I] I2SConfigESP32.h : 98 - i2s_format: I2S_STD_FORMAT
[I] I2SConfigESP32.h : 100 - auto_clear: false
[I] I2SConfigESP32.h : 102 - use_apll: true
[I] I2SConfigESP32.h : 107 - buffer_count:6
[I] I2SConfigESP32.h : 108 - buffer_size:512
[I] I2SConfigESP32.h : 111 - pin_mck: 0
[I] I2SConfigESP32.h : 113 - pin_bck: 27
[I] I2SConfigESP32.h : 115 - pin_ws: 25
[I] I2SConfigESP32.h : 117 - pin_data: 35
AudioKit started
.
IP address: 192.168.1.33
Server started
Yes, I used the example before your commit df5292b and didn't realize, that there are slight modifications. Brought all to the latest versions, now it works. Thanks.
Problem Description
Hi Phil,
first of all, thank you very much for the great audio libraries stuff and your effort.
My intention is to get an "analog audio to web stream" device, where I found the "streams-audiokit-webserver_aac" example most suitable. After coming through the same problem described at #1442, I got audio with the latest commit of the "arduino-audio-tools.
The problem now is, that the streamed audio (streamed with latest Windows Firefox or Chrome browser) seems to be played twice the speed, then (maybe if buffer is empty) a pause, the again audio twice the speed, then a pause and so on. There is currently no continous audio stream.
The serial log looks like this ("AudioLogger::instance().begin(Serial, AudioLogger::Info);"):
When I start the stream at the browser:
until I close the stream at the browser:
Another interesting thing ist the "Warning: Pin '13' not set up because of conflict" although "config.sd_active = false;" (shouldn't the warning disappear if SD card is deactivated?).
What am I doing wrong?
Thanks and regards, Thorsten
Device Description
ESP32 Audio Kit V2.2 A402 (seems to be "AudioKitEs8388V1", no I2C/I2S errors with that)
Sketch
Other Steps to Reproduce
No response
What is your development environment
Arduino 1.8.19, latest companion libraries (arduino-audio-driver, arduino-fdk-aac) for arduino-audio-tools installed. Espressif ESP32 2.0.14, Board: "ESP Dev Module", PSRAM: enabled, Partition scheme: Huge App, Rest: defaults.
I have checked existing issues, discussions and online documentation