Bluetooth Audio In

#1

I don’t have a pisound (yet) but have a lot of good synths on my phone. Can I route bluetooth audio through MODEP? I managed to pair my phone to it via the terminal but can’t get audio to go thru.

0 Likes

#2

Alternatively, until I’m able to afford a pisound, could I use this to try running audio through it? Very cheap but provides a line level input to the pi:

0 Likes

#3

For Bluetooth, you’d have to figure out how to enable such audio service on the OS, this may be relevant, but I haven’t ever tried to do this myself.

As for the USB audio adapter, I think it might work, you may reconfigure the audio card following this guide.

0 Likes

#4

I managed to configure the onboard bluetooth on my rpi3, but audio is far from usable. It does a lot of skips. I would like to try again with an external bluetooth dongle, or with the next upgrade to Buster.

Below are my notes from the process, if it helps:

-Instructions based on: https://gist.github.com/mill1000/74c7473ee3b4a5b13f6325e9994ff84c

-Install bluealsa
-Edit file /etc/bluetooth/main.conf and set: Class = 0x200420

sudo bluetoothctl
discoverable on

(at this point you should be able to pair your phone to modep)

-Edit .asoundrc and copy to /root
based on: https://www.alsa-project.org/main/index.php/Asoundrc#JACK_plugin

pcm.jackplug {
        type plug
        slave { pcm "jack" }
}

pcm.jack {
        type jack
        playback_ports {
                0 system:playback_1
                1 system:playback_2
        }
}

pcm.!default {
        type hw
        card 0
}

ctl.!default {
        type hw
        card 0
}

-play file through jack
aplay -D jackplug sample.wav

-play bluetooth stream through default pcm output
bluealsa-aplay -vv 00:00:00:00:00:00

-play bluetooth stream through jack
sudo bluealsa-aplay -d jackplug -vv 00:00:00:00:00:00

2 Likes