Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Yes, its still a thing..but hard to make that page completely flexible. Ive been playing with asound.conf configurations for alsaequal integration with Bluetooth. Very flexible configuration, but not very intuitive. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
D'OH! In the worst type of faux pas -- I "discovered" tonight that the piCorePlayer Extras option other posters have mentioned IS STILL A THING. But it's not a item on the tab bar. It's a button on the Main Page that is only visible if Beta mode is selected. I mistakenly thought that the Tweaks item on the tabbar was some recent change that replaced the "old" Extras option. It is not. And now I've found it I have also found an "Asound" item on the sub-tabbar that appears when one selects this Extras button. And it does still offer an option to write a Mono section to the /etc/asound.conf file. I am as I type listening to mono-phonic output through my LMS system :-) I apologize for wasting your (plural) time. But nonetheless I still appreciate all of you who took the time to offer suggestions. Should anyone find this post based on searches, it turns out to be a relatively easy edit to the asound.conf file to produce mono output to BOTH speakers (hw:1,0 is the hifiberry add-on card -- for the regular 1/8" audio out, one would use hw:0,0): {code} # mono - Generated by piCorePlayer pcm.!default { type route slave.pcm "hw:1,0" ttable { 0.1 1 0.0 1 1.0 1 1.1 1 } } {code} Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 5:46 PM Apesbrain < apesbrain.9bs...@no-mx.forums.slimdevices.com> wrote: > > Ok, you are misunderstanding what is happening here. No files are being > altered. LMS is applying the SoX effect in real-time. > > Anyway, you have other options described here that might be better > suited for RPi. > > > > Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Ok, you are misunderstanding what is happening here. No files are being altered. LMS is applying the SoX effect in real-time. Anyway, you have other options described here that might be better suited for RPi. Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Ok, you are misunderstanding what is happening here. No files are being altered. LMS is applying the SoX effect in real-time. Anyway, you have other option described here that might be better suited for a RPi server. Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
DOUBLE OUCH! With a 57,000+ library, converting all mp3 to flac isn't happening in my lifetime (roughly 75% are mp3). You've been a great help, but we can stop this now. I'd hoped doing this would be relatively easy, but it (as is true of much in life) is not. It would be far easier to do this with cabling out of my rPi setup. That's a bit permanent, which I'd hoped a software implementation would avoid, but I see now given your replies that even a software implementation is neither trivial nor "switchable" (as in switch from stereo to mono at will). Makes me appreciate that mono-defeat button on old FM stereo receivers! Again, your replies are much appreciated. Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 3:32 PM Apesbrain < apesbrain.9bs...@no-mx.forums.slimdevices.com> wrote: > > Ok, if this works for you and you have a lot of mid/low-bitrate MP3 > there is in fact a way to do it without transcoding. You have to > disable native hardware MP3 playback and convert all MP3 to FLAC on the > server. However, for 320kbps MP3 transcoding has very little audible > effect. > > > > Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Ok, if this works for you and you have a lot of mid/low-bitrate MP3 there is in fact a way to do it without transcoding. You have to disable native hardware MP3 playback and convert all MP3 to FLAC on the server. However, for 320kbps MP3 transcoding has very little audible effect. Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
OUCH!! LOL Much thanks apesbrain -- I would not have gotten (did not get) to that level of complexity in the CLI. I see and understand what you've done (decode to WAV, pipe to sox to downmix to mono, pipe to lame to re-encode). Very much appreciate your help. Guy Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 3:08 PM Apesbrain < apesbrain.9bs...@no-mx.forums.slimdevices.com> wrote: > > Contents of custom-config.conf going to be something like this: > > Code: > > > flc flc * * > # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d} > [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav > $RESAMPLE$ - channels 1 | [flac] -cs --totally-silent --compression-level-0 > - > > mp3 mp3 * * > # FB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D} > [lame] --mp3input --decode --silent $FILE$ - | [sox] -q -t wav - > -t wav - channels 1 | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - - > > > > Sorry if not quite right, but it's been a while since I had need to > fiddle around with this. Yes, I know I am transcoding MP3 but it's > unavoidable. > > > > Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Contents of custom-config.conf going to be something like this: Code: flc flc * * # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d} [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t wav $RESAMPLE$ - channels 1 | [flac] -cs --totally-silent --compression-level-0 - mp3 mp3 * * # FB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D} [lame] --mp3input --decode --silent $FILE$ - | [sox] -q -t wav - -t wav - channels 1 | [lame] --silent -q $QUALITY$ $RESAMPLE$ $BITRATE$ - - Sorry if not quite right, but it's been a while since I had need to fiddle around with this. Yes, I know I am transcoding MP3 but it's unavoidable. Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Roland0 -- downmix to mono. I knew of the Channel output option already. That that is only Stereo/Right/Left with no down-mix. The situation is complicated by my use of piCorePlayer, SqueezeLite, LMS, and a HifiBerry audio card (so, for example, using /etc/asound.conf does not work--at least, not as I attempted to configure it). I'd found the sox downmix possibility, but could not figure out how to implement it (SqueezeLite? LMS?). apesbrain suggested custom-convert.conf for LMS. Now to figure out the exact string to make such use the sox downmix. Thanks for replying! Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 2:12 PM Roland0 < roland0.9bs...@no-mx.forums.slimdevices.com> wrote: > > Maybe you could describe what you want to archive - play one channel on > one player, or down-mix stereo to mono (and then do what with it)? > If it's the former, LMS can do it out of the box > (settings>player>audio>Output Channel Mode), if it's the latter, the > aforementioned sox or ALSA methods may work. > > > > 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist > Editor / Generator | Music Classification | Similar Music | Announce | > EventTrigger | LMSlib2go | ... > 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a > self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... > > Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
For pCP, look at this post. https://forums.slimdevices.com/showthread.php?105470-PicorePlayer-and-LMS-how-to-get-a-MONO-downmix=851124=1#post851124 piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Curious about the formatting of the custom-convert.conf file. If I want *all* output to mono, does this do that: {conf} #mp3 mp3 squeezebox 00:02:dd:34:e9:62 # ./brute_filter $FILE$ - * * * * [sox] $FILES$ channels 1 - {conf} I read the file instructions to support this: # First line format: # # either or both of and # may be the '*' wildcard So, if I use * * * * I am specifying all source formats, all destination formats, all device types and all device IDs. I am not specifying specific source or destination formats because I'd have to do one for all of them. I'd hope not to have to do that. The next line follows these instructions: # $FILE$ is the absolute path to the local source file # $URL$ is the full URL for remote streams # [bin] is the executable binary for the encoder or decoder # - is a special command line that implies passthrough of data I used $FILE$ because that's in the example (that I show) to force mp3 transcoding to a specific MAC. Am I on the right path? I can say that music plays (well, the stream I'm using at present plays). So at the least putting this in the custom-convert.conf file didn't break anything. Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 12:50 PM Apesbrain < apesbrain.9bs...@no-mx.forums.slimdevices.com> wrote: > > Yup, use SoX via custom-convert.conf: > https://sourceforge.net/p/sox/mailman/message/27737537/ > > > > Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Maybe you could describe what you want to archive - play one channel on one player, or down-mix stereo to mono (and then do what with it)? If it's the former, LMS can do it out of the box (settings>player>audio>Output Channel Mode), if it's the latter, the aforementioned sox or ALSA methods may work. 'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | LMSlib2go | ... 'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ... Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Apesbrain, I'd found the "sox remix -" CLI option. I assumed (!) that it should be used with a SqueezeLite configuration but I could not see where to use it (had tried messing with /etc/asound.conf but that didn't work). You suggest using it as an option in the LMS config by adding a section to the LMS custom-convert.conf file!Will give it a go if I can figure out how the custom-convert.conf file syntax works. Thanks. Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 12:50 PM Apesbrain < apesbrain.9bs...@no-mx.forums.slimdevices.com> wrote: > > Yup, use SoX via custom-convert.conf: > https://sourceforge.net/p/sox/mailman/message/27737537/ > > > > Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Paul, This is an LMS server using SqueezeLite installed via piCorePlayer. Guy Stalnaker jimmyg...@gmail.com On Sat, Dec 28, 2019 at 12:56 PM paul- < paul-.9bs...@no-mx.forums.slimdevices.com> wrote: > > What is the player. a linux based player can do it easily with > Alsa. > > > > piCorePlayer a small player for the Raspberry Pi in RAM. > Homepage: https://www.picoreplayer.org > > Please 'donate' > ( > https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted > ) > if you like the piCorePlayer > > paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 > View this thread: http://forums.slimdevices.com/showthread.php?t=111395 > > ___ > Squeezecenter mailing list > Squeezecenter@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/squeezecenter > ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
What is the player. a linux based player can do it easily with Alsa. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Force LMS mono output
Yup, use SoX via custom-convert.conf: https://sourceforge.net/p/sox/mailman/message/27737537/ Apesbrain's Profile: http://forums.slimdevices.com/member.php?userid=738 View this thread: http://forums.slimdevices.com/showthread.php?t=111395 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter