schreibfaul1/ESP32-MiniWebRadio

corrupted sound on some stations

clear-sky opened this issue · 9 comments

Hi dear Wolle!
in new update some stations have corrupted audio !
please check this stream
http://uk3.internet-radio.com:8405/live

Dear clear-sky, I checked your link on the latest update, everything works for me

21:52:11 AUDIO_info: Stream lost -> try new connection
21:52:11 AUDIO_info: buffers freed, free Heap: 136975 bytes
21:52:11 AUDIO_info: connect to: "uk3.internet-radio.com" on port 8405 path "/live"
21:52:12 AUDIO_info: Connection has been established in 342 ms, free Heap: 136719 bytes
21:52:12 bitRate: 32Kbit/s
21:52:12 bitRate: 32Kbit/s
21:52:12 icy-descr: OLDIES RADIO HD++
21:52:12 StationName: Majestic Jukebox Radio #HIGH QUALITY SOUND
21:52:12 icy-url: .. https://www.majesticjukeboxradio.com/
21:52:12 AUDIO_info: AACDecoder has been initialized, free Heap: 135827 bytes , free stack 4948 DWORDs
21:52:12 lastURL: .. http://uk3.internet-radio.com:8405/live
21:52:13 AUDIO_info: stream ready
21:52:13 AUDIO_info: syncword found at pos 92
21:52:13 AUDIO_info: syncword found at pos 0
21:52:13 AUDIO_info: Channels: 2
21:52:13 AUDIO_info: SampleRate: 44100
21:52:13 AUDIO_info: BitsPerSample: 16
21:52:13 AUDIO_info: BitRate: 31007
21:52:13 AUDIO_info: AAC HeaderFormat: ADTS
21:52:13 AUDIO_info: Spectral band replication: upsampled SBR
21:52:13 StreamTitle: Billy Fury & The Four Jays - Turn My Back On You
21:52:14 AUDIO_info: Parametric Stereo
21:53:13 StreamTitle: Sandra Grimms - Hallelujah Rock and Roll

Hi Dear Valera!
can you compare audio quality in radio with your pc?

Hello, clear-sky, It's hard for me to judge the sound quality. because of different amplifiers and speakers, but my opinion is that the sound is ok.

Hi Dear valera!
thanks for the answer-On my computer, the sound is noticeably better than the radio
It seems that there is a lot of disconnection and connection on the radio,If I want to explain better, the sound is scratchy
let's see what is Mr. Wolle opinion

Hi Dear Wolle!
did you test this stream? (http://uk3.internet-radio.com:8405/live)

The link works quite well for me. Do you have the possibility to send a ping to uk3.internet-radio.com. My guess is that the response time is greater than ~120ms, which is what it looks like for me:
image

Or TCP packets may get lost?

Hi Dear Wolle!
Thanks for the hint! this is my ping result:

w

but there is a odd problem! this stream works quite well in my pc!!!!!

Hi Dear Wolle!
another question :is 120ms response time limitation for all streams?
and why this streams play in pc quite well?

It's the same with me. With an Ethernet adapter, it also works under these conditions. It's clearly the WiFi. But I'm not very familiar with the WiFi settings.