I'm trying to get one of my pcp's to output mono - I have a single
bathroom speaker in a bathroom.  When I look at Extra's and asound
config, there's a mono config option, which writes


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
        }
  }
--------------------


to /etc/asound.conf.  I'm using a USB dongle, hence hw:1 rather than
hw:0.  However, whatever I seem to do, I can't get it to output downmix
the stereo to mono - it just plays the channels seperately as normal. 
I've tried entering the name of the device instead of hw... with no more
effect.  I've also tried the other options on asound.conf (e.g. left
channel only etc.) with no luck.  I then tried hw:0,0 and used the audio
output rather than the USB - still the same.  From my very limited
understanding of asound.conf, this looks fine, and I know that it's
reading the file when squeezelite starts (if I put garbage in the file,
squeezelite won't start), but it just seems to completely ignore the
!default device.  Anyone got any ideas?

Second stage would be - I really want to integrate mono into the
equaliser.  So, the default asound.conf contains ...


Code:
--------------------
    #---ALSA EQ Below--------
  ctl.equal {
  type equal;
  controls "/home/tc/.alsaequal.bin"
  library "/usr/local/lib/ladspa/caps.so"
  }
  
  pcm.plugequal {
  type equal;
  slave.pcm "plughw:1,0";
  controls "/home/tc/.alsaequal.bin"
  library "/usr/local/lib/ladspa/caps.so"
  }
  
  pcm.equal {
  type plug;
  slave.pcm plugequal;
  }
--------------------


How might you mod this to make it use the equaliser, but output mono? 
Is that possible?

thanks

pete S


------------------------------------------------------------------------
psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555
View this thread: http://forums.slimdevices.com/showthread.php?t=109404

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to