Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


No Output, Maybe because not able to change the hw device
#1
Hi,
i'm coming from Daphile and have to switch to Moode because of Tidal which isnt supported anymore because of logitech.
Now i have bought a raspi 4 to test the whole thing, but i am not able to change the soundcard like daphile. My Soundcard does have a chinch output and an optical output, and also a headphone jack, so three outputs. in Daphile i can change them, but i haven't found a simple solution in moode. in the attachmentes there is a screenshort of daphile. 


could you tell me where i can change the devices to switch to the correct one? That would be nice, thanks!

fegrue


Attached Files Thumbnail(s)
   
Reply
#2
What shows up in the "Output device" dropdown in Audio Config?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
This  is the output. It sais at the bottom, that you can use hw:2:0 which i want to switch...


Attached Files Thumbnail(s)
   
Reply
#4
in the string "hw,2,0" the number 2 is the card number assigned by ALSA and 0 is the device number. moOde currently only uses the card number and defaults the device number to 0.

Whats the output of the command below? It wil list by card number all the devices for a given card.

Code:
aplay -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
Thisis the output. I have three subdevices and want to use another one.


Attached Files Thumbnail(s)
   
Reply
#6
(03-20-2024, 10:34 AM)fegrue Wrote: Thisis the output. I have three subdevices and want to use another one.

Please post the text output and not an image. It's easier to use if I need to copy parts of the text.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
Okay, sorry:

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
 Subdevices: 4/4
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
card 0: b1 [bcm2835 HDMI 1], device 1: bcm2835 HDMI 1 [bcm2835 HDMI 1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
 Subdevices: 4/4
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
card 2: S51 [SB Omni Surround 5.1], device 0: USB Audio [USB Audio]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: S51 [SB Omni Surround 5.1], device 1: USB Audio [USB Audio #1]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 2: S51 [SB Omni Surround 5.1], device 2: USB Audio [USB Audio #2]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
Reply
#8
Okay, I've tested this command and that worked for me, i was able to hear a sound. But how can i tell  Moode to play via this dev? 

Code:
aplay -D plughw:2,1  /usr/share/sounds/alsa/Front_Left.wav
Reply
#9
Not really possible since "device_number" in strings like "plughw:2,device_number" is hard coded to 0 in the sources.

I have a TODO list item for upcoming moOde 9.0.0 release (Q2 2024) to code for multiple device_number's but no guarantee it will make it into the release.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: