Re: bta2dpd - advanced audio distribution profile bluetooth daemon IMPROVED
On Fri, 4 Mar 2016, Nathanial Sloss wrote: > Call for testers of the next installment of bta2dpd. Hi Some success.. was experiencing that same annoying clicking on the sound to a Kitsound Hive speaker, until I tried with an older BCM2035 dongle (Bluetooth v1.2) and all of a sudden it working fine! works ok with an old CSR (v2.0+EDR) dongle also, not sure why the BCM2045B (v2.0+EDR) built into the laptop is not working, must investigate this further.. I also have a BCM20702A0 (v4.1) but thats still inside my T60 so can't try it out at the moment. iain
Re: bta2dpd - advanced audio distribution profile bluetooth daemon IMPROVED
On Fri, 4 Mar 2016, Nathanial Sloss wrote: > I found in order for my phone to connect to bta2dpd as an audio sink I needed > the most recent version of sdpd(1) and had to set a pin code for my phone > (see > btpin(1)) and had to start bta2dpd as a sink with -K before pairing. how recent do you mean? I think the NetBSD-6, NetBSD-7 and NetBSD-current versions should all be the same in this regard.. also, you can normally use btpin to pair with the device directly before connecting to any services, eg % btpin -a -p 1234 -P as because this asks for a secure connection, it should set that up before trying to connect to any service (it asks for Service Discovery, but if it didn't get it then should be no problem - the secure setup has been done) iain
Re: bta2dpd - advanced audio distribution profile bluetooth daemon IMPROVED
On Fri, 4 Mar 2016, Nathanial Sloss wrote: Call for testers of the next installment of bta2dpd. Yay! Nice one. I'll test it out this week. It looks fun. It allows you to stream music or pad(4) output to bluetooth stereo headphones or speakers using the advanced audio distribution profile (a2dp). Ahhh, that's going to rock, quite literally. I've got a SoundBlaster BlasterAxx and a new set of Sony BT headphones. I'll try it with both. NEW!!! bta2dpd can be used also as an audio sink, so you can stream music from your phone/computer etc. to a file or audioplay to hear it on your computer speakers. See below. Hmm, does it have any noticeable delay? Ie.. could it be used to send output to a recording monitor without any significant delay (for live monitoring while playing music) ? If you don't know off hand, it's not big deal. I'll just try it. I have a two mixers hooked up to my main NetBSD workstation (though I sometimes move them to an SGI workstation). One for input, one for output. I'd love to be able to add a high bitrate BT DAC on a channel for both sides (know of any good ones you like?). To use this deamon requires 44100Hz stereo signed 16 bit little endian wav files or the pad(4) device. Just like a CDDA converted to PCM WAV would be, right? Most of the options change the way audio is encoded and are not necessary however if you have skipping audio or no audio try the following: Does that buffering result in more jitter or delays? Again, I'll fiddle, but just curious about your experience. What fun! Great work. -Swift
bta2dpd - advanced audio distribution profile bluetooth daemon IMPROVED
Hi, Call for testers of the next installment of bta2dpd. It allows you to stream music or pad(4) output to bluetooth stereo headphones or speakers using the advanced audio distribution profile (a2dp). NEW!!! bta2dpd can be used also as an audio sink, so you can stream music from your phone/computer etc. to a file or audioplay to hear it on your computer speakers. See below. This program will work on NetBSD-current, 7 and 6. To compile: extract the archive from ftp://ftp.NetBSD.org/pub/NetBSD/misc/nat/bta2dpd-v62.tgz change to the extracted directory and make(1). ie. $cd bta2dp-bsd-v62 $make. pair up your bluetooth headphones/speakers: #btpin -P -a bluetooth-device-address And your ready to go... To use this deamon requires 44100Hz stereo signed 16 bit little endian wav files or the pad(4) device. $./bta2dpd -a bluetooth-device-address my.wav or $./bta2dpd -a bluetooth-device-address /dev/pad0 Most of the options change the way audio is encoded and are not necessary however if you have skipping audio or no audio try the following: ./bta2dpd -a bluetooth-device-address -M 300 my.wav or ./bta2dpd -a bluetooth-device-address -M 300 -B 36 my.wav The -M option limits the maximum amount of data sent to the bluetooth device per transaction, if you still have problems try an MTU of 700 (-M 700) and work your way down by hundreds. The -B option limits the bitpool value used for encoding the stream and although the daemon calculates the bitpool value it might not work in all cases. NEW!!! It can also be used as an audio sink: ./bta2dpd -K -r 44100 | audioplay -f -e linear -P 16 -c 2 -s 44100 -- As an audio sink it is possible to specify an address to receive connections from with -a. i.e: ./bta2dpd -K -r 44100 -a myphone | audioplay -f -e linear -P 16 -c 2 -s 44100 -- I found in order for my phone to connect to bta2dpd as an audio sink I needed the most recent version of sdpd(1) and had to set a pin code for my phone (see btpin(1)) and had to start bta2dpd as a sink with -K before pairing. Best regards, Nat.