- Fri Jun 19, 2015 10:26 pm
#21000
Sprite_tm wrote:Having a 20KB playback buffer may be enough not to need the external 128K spi buffer in most cases.
https://www.youtube.com/watch?v=XIneZEfahmQSound is recorded out of ESP-01 module as shown in the photo, a resistor and capacitor from the port GPIO3 (RXD) to sound in a computer.
channel:
http://icecast.omroep.nl/3fm-sb-mp3Code: Select allURL: icecast.omroep.nl/3fm-sb-mp3
connected with mns.ru-6446, channel 1
dhcp client start...
ip:192.168.1.15,mask:255.255.255.0,gw:192.168.1.1
Connecting to server 145.58.52.147...
Reading into SPI RAM FIFO...
MAD: Decoder start.
dec err 0x0101 (lost synchronization)
dec err 0x0104 (reserved sample frequency value)
dec err 0x0235 (bad main_data_begin pointer)
Rate 48000
Buffer fill 21867, DMA underrun ct 16, buff underrun ct 0
Buffer fill 21835, DMA underrun ct 43, buff underrun ct 0
Buffer fill 21875, DMA underrun ct 84, buff underrun ct 0
...
Uses patch/hack lib48main.a + lib48pp.a (increase IRAM + 16k, 'cache-flash' size = 16k).
Warning: modules ESP-01 - GPIO15 cannot be output! Change i2s_freertos.c:
https://github.com/pvvx/mp3_decode/blob ... tos.c#L179