Closed firewalkwithmetotwinpeaks closed 2 years ago
You're going to have to be more specific. Mono can mean a few different things on a 2 channel amp.
I'm going to assume you're not trying to bridge the amp.
The other 2 options are you're only going to use 1 of the 2 channels or you want dual mono. Which is it?
Hello, I am sorry for the vagueness of my request. My goal is to use only one channel of the soundcard. Not dual mono.
Best regards,
You'll want to use the Route alsa plugin.
Untested but something like this might do the trick:
pcm.!default {
type route
slave.pcm {
type hw
card 0
channels 2
}
ttable.0.0 0.5
ttable.0.1 0.5
ttable.1.0 0.5
ttable.1.1 0.5
}
This is for dual mono but I don't think it would hurt anything if one channel doesn't have a speaker connected to it.
You're giving up half your power only using one channel. You could use both channels with one speaker if it were dual voice coil or coaxial.
You're also going to have to use a pretty efficient speaker with only 3 x 2 watts. The specs don't say if 3 watts is the max or continuous so I'm going to assume it's the max so you're looking at maybe 2 watts clean. You'll need a speaker in the high 80's as far as SPL at least.
Thank you very much One more question, which file should I modify with these settings?
Open /etc/asound.conf
with nano:
sudo nano /etc/asound.conf
By default the file does not exist if there is anything in the file delete it.
Paste this into it:
pcm.!default {
type route
slave.pcm {
type hw
card 0
channels 2
}
ttable.0.0 0.5
ttable.0.1 0.5
ttable.1.0 0.5
ttable.1.1 0.5
}
Exit and save:
Ctrl+x y Enter
Restart raspotify:
sudo systemctl restart raspotify
Thanks ! It works I had created the right file, but the instructions for ALSA must have been wrong.
@firewalkwithmetotwinpeaks if this solution works for you you can close the issue.
This issue is over a year old and has been marked as stale. It will closed in 7 days if there is no activity.
This issue has been closed due to lack of activity.
Hello,
I'm trying to configure raspotify to have a mono output.
I'm using a HIFIBERRY mini amp, I found some configurations, but I'm having a hard time to find how to use them in rapsotify.
Best regards