Posts: 14
Threads: 4
Joined: Apr 2020
Reputation:
0
03-03-2022, 07:16 PM
(This post was last modified: 03-03-2022, 07:30 PM by eracerr.)
The radio station WEMU, http://24153.live.streamtheworld.com/WEMUFM.mp3 will play on my computer browser and on one of my MoOde Rasberry Pi's but does play on the other. I'm looking for advice on how to troubleshoot the issue and I hope, fix it.
It WILL play on the Rasberry Pi Zero W with Allo MiniBoss DAC and this version of software:
Release Information
Platform Information
- RaspiOS: 10.6
- Linux kernel: 5.4.77+ #1371
- Platform: Pi-Zero W 1.1 512MB
- Architecture: armv6l
- MPD version: 0.22.11_p0x3
The station will NOT make any sound or show any errors in the browser for my Rasberry Pi 4 using a Pecan Pi DAC using this version (latest) of MoOde:
Release Information
Platform Information
- RaspiOS: 10.6
- Linux kernel: 5.4.77-v7l+ #1371
- Platform: Pi-4B 1.1 2GB
- Architecture: armv7l
- MPD version: 0.23.4_p0x3
Using the I2S DT overlay applepi-dac
Thanks,
Eric
Posts: 4,886
Threads: 148
Joined: Apr 2018
Reputation:
186
@ eracerr
1. WEMU is already in moOde's predefined radio station list. It plays fine on my moOde players. Have you tried this selection? Does it play?
2. The URL in your post is subtly different from the URL in moOde's predefined entry, but your URL plays fine on my moOde players too. Have you double-checked that it was correctly entered in your 7.6.1 player?
Let's suppose neither URL functions on your 7.6.1 player. What happens, specifically? Any popup message? Does the play time advance in the playback view? What do moOde report when you click on the ... icon next to the track in the queue and then click successively on "Audio info", then "Hardware"?
Here's what my player reports (with a Creative USB-BT adapter as output device) when playing your URL
Code: NPUT / OUTPUT
Sourcehttp://24153.live.streamtheworld.com/WEMUFM.mp3
Encoded atVBR compression
Decoded to24 bit, 22.05 kHz, Stereo, 64 kbps
Output rate16 bit, 48 kHz, Stereo, 1.536 Mbps
Output modeALSA Default (plughw)
Output chainMPD -> plughw -> Device
Regards,
Kent
Posts: 14
Threads: 4
Joined: Apr 2020
Reputation:
0
I must have changed or overwritten the pre-defined WEMU URL. I went back and copied the URL from the WEMU page on streaming and copied it to MoOde https://22223.live.streamtheworld.com/WEMUFM.mp3
Still no sound.
No popup messages and the user interface shows it's playing. The playtime is advancing.
Audio info:
Station nameWEMU Ypsilanti FM 89.1 - Jazz
Playable URLhttps://22223.live.streamtheworld.com/WEMUFM.mp3
TypeFavorite GenreJazz BroadcasterWEMU LanguageEnglish CountryUnited States RegionNorth America Bitrate128 Audio formatMP3 Geo fencedNo
Hardware Info:
Input / Output
Source https://22223.live.streamtheworld.com/WEMUFM.mp3
Encoded at VBR compression
Decoded to 24 bit, 22.05 kHz, Stereo, 64 kbps
Output rate 24 bit, 22.05 kHz, Stereo, 1.058 Mbps
Output mode ALSA Default (plughw)
Output chain MPD -> plughw -> Device
DSP operations
Resample rate Off
Selective rate Off
Resample quality Off
CamillaDSP Off
Volume type Software (MPD)
Audio Device
Device rpi-dac
Mixer name none
Interface I2S
Formats S16_LE, S24_LE
Platform Pi-4B 1.1 2GB
Thanks for your help!
Posts: 1,316
Threads: 30
Joined: Mar 2020
Reputation:
57
Checking the obvious...
What is the volume set to?
----------------
Robert
Posts: 10,446
Threads: 244
Joined: Mar 2018
Reputation:
377
03-04-2022, 02:28 PM
(This post was last modified: 03-04-2022, 02:29 PM by Tim Curtis.
Edit Reason: Formatting
)
In your OP you mentioned:
"Using the I2S DT overlay applepi-dac"
But in Audio info it lists:
"Device rpi-dac"
Also, very low bitrate being streamed by this broadcaster.
Code: Output rate 24 bit, 22.05 kHz, Stereo, 1.058 Mbps
Posts: 4,886
Threads: 148
Joined: Apr 2018
Reputation:
186
@ eracerr
I assume other radio stations are playing ok?
This info seems a bit odd
Quote:Decoded to 24 bit, 22.05 kHz, Stereo, 64 kbps
Output rate 24 bit, 22.05 kHz, Stereo, 1.058 Mbps
Does the PecanPi DAC support this bit depth / sampling rate combination? [Notice in my own output how the 24 bit / 22.05 kHz stream is transcoded to 16 bit/ 48 kHz to match my Creative USB-BT adapter)
I'm wondering if the DAC driver is lying to moOde about what combinations it will accept. Is the applepi-dac overlay correct for this DAC? The quick look I took at the Orchard Audio site turned up .pdfs which said "use the rpi-dac" overlay but I know nothing about their product line.
At this point, I should let folks more knowledgeable about the ALSA subsystem step in.
To give them a leg up, you could post the output from the alsacap command (with no track playing)
Continuing to use my player as example
Code: pi@m8pre4zero2w:~ $ alsacap
*** Scanning for playback devices ***
Card 0, ID `b1', name `bcm2835 HDMI 1'
Device 0, ID `bcm2835 HDMI 1', name `bcm2835 HDMI 1', 8 subdevices (8 available)
1..8 channels, sampling rate 8000..192000 Hz
Sample formats: U8, S16_LE
Buffer size range from 80 to 131072
Period size range from 80 to 131072
Subdevice 0, name `subdevice #0'
Subdevice 1, name `subdevice #1'
Subdevice 2, name `subdevice #2'
Subdevice 3, name `subdevice #3'
Subdevice 4, name `subdevice #4'
Subdevice 5, name `subdevice #5'
Subdevice 6, name `subdevice #6'
Subdevice 7, name `subdevice #7'
Card 1, ID `W2', name `Creative Bluetooth Audio W2'
Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
2 channels, sampling rate 48000..48000 Hz
Sample formats: S16_LE
Buffer size range from 96 to 262144
Period size range from 48 to 131072
Subdevice 0, name `subdevice #0'
Note that the Creative adapter says it can accept only 16 bit / 48 kHz while the HDMI output can accept 8- and 16-bit depths and sampling rates from 8kHz to 192 kHz. Indeed, if I switch to the HDMI output, the WEMU station plays back at 22.05 kHz.
Regards,
Kent
PS - Tip of the hat to @ the_bertrum. I tend to overlook the obvious questions like is it plugged in? Is it turned on? Is it unmuted?...
Posts: 4,886
Threads: 148
Joined: Apr 2018
Reputation:
186
Rats. Nosed out again by Tim's rapid keyboard artistry. Maybe if I could be more parsimonious with my verbiage
Posts: 14
Threads: 4
Joined: Apr 2020
Reputation:
0
The volume is set to 90. When I wrote the OP the I2S DT-overlay was set to applepi-DAC, I changed it while trying to see if a different DT overlay would make any difference. It did not, still no sound from WEMU.
So far WEMU is the only station I'm having an issue with. Stations that will output a signal that I've tried are:
KEXP, WDET, WWOZ, KDRP, KCMP, Naim Radio, among others.
Input/Output from Naim Radio:
nput / Output
Source http://mscp3.live-streams.nl:8360/high.aac
Encoded at VBR compression
Decoded to 16 bit, 44.1 kHz, Stereo, 316 kbps
Output rate 24 bit, 44.1 kHz, Stereo, 2.117 Mbps
Output mode ALSA Default (plughw)
Output chain MPD -> plughw -> Device
pi@LivingRoomMoOde:~ $ alsacap
*** Scanning for playback devices ***
Card 0, ID `sndrpirpidac', name `snd_rpi_rpi_dac'
Device 0, ID `RPi-DAC HiFi pcm1794a-codec-0', name `RPi-DAC HiFi pcm1794a-codec-0', 1 subdevices (1 avai
lable)
2 channels, sampling rate 8000..384000 Hz
Sample formats: S16_LE, S24_LE
Buffer size range from 64 to 131072
Period size range from 32 to 65536
Subdevice 0, name `subdevice #0'
Appreciate all the help!
Posts: 10,446
Threads: 244
Joined: Mar 2018
Reputation:
377
There could be something in the format of that particular stream that MPD does not like. You could try turning on verbose logging in MPD config and then examine the MPD log to see if there are any clues.
Code: cat /var/log/mpd/log
Posts: 14
Threads: 4
Joined: Apr 2020
Reputation:
0
(03-04-2022, 06:18 PM)Tim Curtis Wrote: There could be something in the format of that particular stream that MPD does not like. You could try turning on verbose logging in MPD config and then examine the MPD log to see if there are any clues.
Code: cat /var/log/mpd/log
The output is:
Code: pi@LivingRoomMoOde:~ $ cat /var/log/mpd/log
Mar 03 14:33 : player: played "[url=http://24153.live.streamtheworld.com/WEMUFM.mp3]http://24153.live.streamtheworld.com/WEMUFM.mp3[/url]"
Mar 03 15:20 : exception: Failed to decode [url=https://whfr.fm/streamer/;]https://whfr.fm/streamer/;[/url] avformat_open_input() failed: Invali
d data found when processing input
Mar 03 15:20 : player: played "[url=https://whfr.fm/streamer/]https://whfr.fm/streamer/[/url]"
Mar 03 15:20 : exception: Failed to decode [url=https://whfr.fm/streamer/;]https://whfr.fm/streamer/;[/url] avformat_open_input() failed: Invali
d data found when processing input
Mar 03 15:08 : player: played "[url=https://wwoz-sc.streamguys1.com/wwoz-hi.mp3]https://wwoz-sc.streamguys1.com/wwoz-hi.mp3[/url]"
Mar 04 07:49 : player: played "[url=https://22223.live.streamtheworld.com/WEMUFM.mp3]https://22223.live.streamtheworld.com/WEMUFM.mp3[/url]"
Mar 04 12:13 : exception: Failed to decode [url=http://89.16.185.174:8003/stream;]http://89.16.185.174:8003/stream;[/url] CURL failed: Connection timed
out after 10998 milliseconds
Mar 04 12:13 : player: played "[url=http://89.16.185.174:8003/stream]http://89.16.185.174:8003/stream[/url]"
Mar 04 12:13 : exception: Failed to decode [url=http://89.16.185.174:8003/stream;]http://89.16.185.174:8003/stream;[/url] CURL failed: Connection timed
out after 10998 milliseconds
Mar 04 12:19 : player: played "[url=http://mscp3.live-streams.nl:8360/high.aac]http://mscp3.live-streams.nl:8360/high.aac[/url]"
Mar 04 12:31 : player: played "[url=http://ice10.securenetsystems.net:80/SUNRADIO]http://ice10.securenetsystems.net:80/SUNRADIO[/url]"
Mar 04 15:33 : player: played "[url=https://22223.live.streamtheworld.com/WEMUFM.mp3]https://22223.live.streamtheworld.com/WEMUFM.mp3[/url]"
Mar 04 15:40 : player: played "https://22223.live.streamtheworld.com/WEMUFM.mp3"
No errors but still no sound from WEMU's stream.
I turned on the logging in Configure-> System Maintanence ->
I hope that is correct
Any other logs I can look in?
|