Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 19 FirstFirst 123412 ... LastLast
Results 11 to 20 of 186
  1. #11
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,254
    Quote Originally Posted by StevenEllis View Post
    04-12 14:01 NZST DEBUG pCP OUTPUT=""
    You have not configured your output settings for squeezelite. Get sound working from squeezelite before you try. Also please do not send a log excerpt. I need to see the beginning of the log too.

    Update posted to hopefully fix the hifiberry dac+ light card problem.
    Last edited by paul-; 2020-04-11 at 19:38.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #12

    USB Output Volume Drops after Bluetooth Use

    Hi,

    I have been using PCP 6.0.0 for a while and am very pleased with it - well done! Yesterday I thought I would try out BT with a BT speaker. I was very happy that is was easy to install, discover my BT speaker and get working (once I'd figured-out that the speaker becomes another player).

    Later, I went back to listening in my main hifi (I use a USB output to my DAC) and the volume was drastically lower and the bass almost absent (the player volume setting has always been fixed at 100%). Thinking the volume on the BT speaker player was somehow affecting the USB player I set its volume to be fixed at 100% - no change. I then uninstalled BT - no change and reinstalled BT, but no change. In the end I had to completely reinstall PCP 6.0.0 to get the volume back. I'd like to use BT but this is a show-stopper for me.
    Am I doing something wrong here?

  3. #13
    SUCCESS!

    Code:
    pCP Bluetooth extension build:0010
    Starting BT Controller
    USB Bluetooth Hardware Address: 00:1A:7D:DA:71:11
    Starting pCP BT Pairing Agent
    BT Controller Ready
    04-12 10:42 BST INFO     ------------Starting pCP BT Speaker Daemon v6.0.0.0010------------
    04-12 10:42 BST INFO     Resetting asound.conf.
    04-12 10:42 BST INFO        Removing bt_ from asound.conf
    04-12 10:42 BST INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
    04-12 10:42 BST INFO        30:85:A9:E1:A7:0A#Nexus 7#10000#2
    04-12 10:42 BST DEBUG    PCM Devices found dbus.Dictionary({}, signature=dbus.Signature('oa{sv}'))
    04-12 10:42 BST INFO     Starting connection signal handlers.
    04-12 10:42 BST INFO     ---- Caught Connect signal ----
    04-12 10:42 BST DEBUG    /org/bluealsa/hci0/dev_30_85_A9_E1_A7_0A/a2dpsnk/source
    04-12 10:42 BST DEBUG       HCI:hci0
    04-12 10:42 BST INFO        MAC:30:85:A9:E1:A7:0A
    04-12 10:42 BST INFO        TRANSPORT:a2dpsnk
    04-12 10:42 BST DEBUG       pCP OUTPUT="equal"
    04-12 10:42 BST DEBUG       pCP ALSAVOLUME=""
    04-12 10:42 BST DEBUG       pCP Card Conf:"hifi_dac+_light.conf"
    04-12 10:42 BST INFO        Starting player:"Nexus 7" bluetooth, alsa device:"equal", volume:"".
    Tests done:
    Squeeze player turned off in LMS, Bluetooth playing audio - output success
    Squeeze player turned on in LMS, Bluetooth playing audio - output success
    Squeeze player playing from LMS, Bluetooth connected but source paused - output success
    Squeezeplayer turned on in LMS but source paused, Bluetooth playing audio - output success

    I'm not seeing any issues with Squeezelite holding onto the output device.

    Superb work. Thank you.

  4. #14
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,254
    Quote Originally Posted by fsger View Post
    Hi,

    I have been using PCP 6.0.0 for a while and am very pleased with it - well done! Yesterday I thought I would try out BT with a BT speaker. I was very happy that is was easy to install, discover my BT speaker and get working (once I'd figured-out that the speaker becomes another player).

    Later, I went back to listening in my main hifi (I use a USB output to my DAC) and the volume was drastically lower and the bass almost absent (the player volume setting has always been fixed at 100%). Thinking the volume on the BT speaker player was somehow affecting the USB player I set its volume to be fixed at 100% - no change. I then uninstalled BT - no change and reinstalled BT, but no change. In the end I had to completely reinstall PCP 6.0.0 to get the volume back. I'd like to use BT but this is a show-stopper for me.
    Am I doing something wrong here?
    There is no link between playing a bluetooth speaker and hardware connected to the player. Infact you can play both at the same time. (I'm doing that now) Bluetooth speakers and USB DAC. You can even sync them together. The only possible link I can think of is that enabling bluetooth uses more power....and potentially you are not supplying enough power to the USB DAC.

    What I would recommend is play music to your USB dac, as you go through the process of installing bluetooth.....see at what point things go awry.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #15
    Junior Member
    Join Date
    Mar 2020
    Posts
    13
    Quote Originally Posted by paul- View Post
    You have not configured your output settings for squeezelite. Get sound working from squeezelite before you try. Also please do not send a log excerpt. I need to see the beginning of the log too.
    Audio is working fine when I'm streaming off the LMS to my USB based DAC.

    Under squeezelite settings Audio is set to USB audio.

    Code:
    CP Bluetooth extension build:0009
    Starting BT Controller
    USB Bluetooth Hardware Address: 00:80:C8:50:91:BF
    Starting pCP BT Pairing Agent
    BT Controller Ready
    04-13 10:44 NZST INFO     ------------Starting pCP BT Speaker Daemon v6.0.0.0009------------
    04-13 10:44 NZST INFO     Resetting asound.conf.
    04-13 10:44 NZST INFO        Removing bt_ from asound.conf
    04-13 10:44 NZST INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
    04-13 10:44 NZST INFO        BTDEVICE=B8:D5:0B:47:9A:F5
    04-13 10:44 NZST INFO        BTDELAY=10
    04-13 10:44 NZST INFO        BTNAME="SRS-XB30"
    04-13 10:44 NZST INFO        BTMIXER="SRS-XB30 - A2DP"
    04-13 10:44 NZST INFO        BTCONTROLLER="00:80:C8:50:91:BF"
    04-13 10:44 NZST INFO        F0:D7:AA:C3:XX:XX#My Moto G5#10000#2
    04-13 10:44 NZST DEBUG    PCM Devices found dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source'): dbus.Dictionary({db
    us.String('Device'): dbus.ObjectPath('/org/bluez/hci0/dev_F0_D7_AA_C3_XX_XX', variant_level=1), dbus.String('Transport'): dbus.String('A2DP-sink', variant_l
    evel=1), dbus.String('Mode'): dbus.String('source', variant_level=1), dbus.String('Format'): dbus.UInt16(32784, variant_level=1), dbus.String('Channels'): d
    bus.Byte(2, variant_level=1), dbus.String('Sampling'): dbus.UInt32(44100, variant_level=1), dbus.String('Codec'): dbus.UInt16(0, variant_level=1), dbus.Stri
    ng('Delay'): dbus.UInt16(150, variant_level=1), dbus.String('SoftVolume'): dbus.Boolean(False, variant_level=1), dbus.String('Volume'): dbus.UInt16(32639, v
    ariant_level=1)}, signature=dbus.Signature('sv'))}, signature=dbus.Signature('oa{sv}'))
    04-13 10:44 NZST DEBUG    A2DP devices found A2DP-sink.
    04-13 10:44 NZST INFO     Found a2dp sink F0:D7:AA:C3:XX:BF connected.
    04-13 10:44 NZST INFO     No bluealsa-aplay process for device F0:D7:AA:C3:XX:XX.  Starting......
    04-13 10:44 NZST DEBUG       pCP OUTPUT=""
    04-13 10:44 NZST DEBUG       pCP ALSAVOLUME=""
    04-13 10:44 NZST DEBUG       pCP Card Conf:"USB.conf"

  6. #16
    Junior Member
    Join Date
    Mar 2020
    Posts
    13
    I've cleaned up pcp-bt.conf to remove old data

    Code:
    04-13 11:05 NZST INFO     ------------Starting pCP BT Speaker Daemon v6.0.0.0010------------
    04-13 11:05 NZST INFO     Resetting asound.conf.
    04-13 11:05 NZST INFO        Removing bt_ from asound.conf
    04-13 11:05 NZST INFO     Current contents of /usr/local/etc/pcp/pcp-bt.conf.
    04-13 11:05 NZST INFO        
    04-13 11:05 NZST INFO        F0:D7:AA:C3:XX:XX#My Moto G5#10000#2
    04-13 11:05 NZST DEBUG    PCM Devices found dbus.Dictionary({}, signature=dbus.Signature('oa{sv}'))
    04-13 11:05 NZST INFO     Starting connection signal handlers.
    
    
    04-13 11:07 NZST INFO     ---- Caught Connect signal ----
    04-13 11:07 NZST DEBUG    /org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source
    04-13 11:07 NZST DEBUG       HCI:hci0
    04-13 11:07 NZST INFO        MAC:F0:D7:AA:C3:XX:XX
    04-13 11:07 NZST INFO        TRANSPORT:a2dpsnk
    04-13 11:07 NZST DEBUG       pCP OUTPUT=""
    04-13 11:07 NZST DEBUG       pCP ALSAVOLUME=""
    04-13 11:07 NZST DEBUG       pCP Card Conf:"USB.conf"
    04-13 11:07 NZST INFO        Starting player:"My Moto G5" bluetooth, alsa device:"", volume:"".
    So where do I specify the pCP Output for the "My Moto G5" player as I can't find anywhere in the webui

  7. #17
    Junior Member
    Join Date
    Mar 2020
    Posts
    13
    OK some progress

    I've set the output under Squeezelite. It was previously blank as it appeared just specifying USB Audio was sufficient for LMS Streaming.

    output from the bluetooth logs now show the changes - still can't get audio to stream from my phone

    Code:
    04-13 11:17 NZST DEBUG       pCP OUTPUT="hw:CARD=VX1,DEV=0"
    04-13 11:17 NZST DEBUG       pCP ALSAVOLUME=""
    04-13 11:17 NZST DEBUG       pCP Card Conf:"USB.conf"
    04-13 11:17 NZST INFO        Starting player:"My Moto G5" bluetooth, alsa device:"hw:CARD=VX1,DEV=0", volume:"".

  8. #18
    Quote Originally Posted by paul- View Post
    There is no link between playing a bluetooth speaker and hardware connected to the player. Infact you can play both at the same time. (I'm doing that now) Bluetooth speakers and USB DAC. You can even sync them together. The only possible link I can think of is that enabling bluetooth uses more power....and potentially you are not supplying enough power to the USB DAC.

    What I would recommend is play music to your USB dac, as you go through the process of installing bluetooth.....see at what point things go awry.
    Thank you for your reply. I was able to play both at the same time but didn't notice a drop in the volume at that time. I also tried to sync them too but just got a terrible noise from the BT speaker, so assumed it was not possible. I don't think it was a power issue. The loss of volume persisted even after uninstalling BT and powering down the Pi and then powering-up again - which is why I had to do a fresh reinstall of PCP. Anyway, I'll try again to see when things go wrong, and let you know.

  9. #19
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,254
    Quote Originally Posted by StevenEllis View Post
    OK some progress

    I've set the output under Squeezelite. It was previously blank as it appeared just specifying USB Audio was sufficient for LMS Streaming.

    output from the bluetooth logs now show the changes - still can't get audio to stream from my phone

    Code:
    04-13 11:17 NZST DEBUG       pCP OUTPUT="hw:CARD=VX1,DEV=0"
    04-13 11:17 NZST DEBUG       pCP ALSAVOLUME=""
    04-13 11:17 NZST DEBUG       pCP Card Conf:"USB.conf"
    04-13 11:17 NZST INFO        Starting player:"My Moto G5" bluetooth, alsa device:"hw:CARD=VX1,DEV=0", volume:"".
    Steven,

    USB has never worked by just selecting USB Audio from the drop down. You always have to select the needed output, and with USB there are ussually many. Some work and some do not. So you have now selected hw:CARD=VX1,DEV=0, Does music play when you stream from LMS?

    Would you try to select Analog audio and test bluetooth using the onboard RPI sound.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #20
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    3,254
    Quote Originally Posted by fsger View Post
    I also tried to sync them too but just got a terrible noise from the BT speaker, so assumed it was not possible.
    The only issue I've ever seen with this is the bluetooth has an extra delay, which you can adjust within LMS to get everything in sync.

    Are you using Alsaequal?
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •