|
|
Thank you Marcel,
I have compiled and installed mpg123 and sox. Everything seems to go through ok, but I don't here the mp3 in my headset. I have the following output after issuing "hsplay here_i_am.mp3 xx:xx:xx:xx:xx:xx 1"
<
Junk at the beginning 49443303
Voice setting: 0x0040
RFCOMM channel connected
SCO audio channel connected (handle 44, mtu 64)
AT^BATTINFO=100
AT+VGS=11
>
I have verified mpg123 does play the song despite the "Junk at the beginning 49443303" warning.
What happens after this? I can hear the audio channel connected in the headset, but no song. I am currently looking at the implementation of sox to see how hsplay uses it, but I appreciate any more help I could get on this.
Regards and many thanks,
Scott Meesseman
|
| Marcel Holtmann <marcel@xxxxxxxxxxxx>
10/24/2003 01:44 PM
|
To: scott.meesseman@xxxxxxxxxxxxxxxxxx
cc: BlueZ Mailing List <bluez-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Bluez-users] hsplay |
Hi Scott,
> Can anyone provide some tips on using the hsplay script ?
> I have bonded to my headset and can create the sco connection, but am
> confused on what music format the played file must be in. I am also
> receiving a message of the form:
> <
> No mpg123 in (/usr/local/sbin : /usr/local/bin : /sbin : /bin : /usr/sbin
> : /usr/bin)
> hsplay: line 22: -q: command not found
> >
> when passing an mp3 as the file to be played
>
> Also, is there anywhere I can obtain the source code to this hsplay
> program ?
the hsplay program is a shell script which uses mpg123, sox and hstest
to redirect a mp3 file to a Bluetooth headset.
Regards
Marcel
|
| |