logo       

Re: hsplay: msg#00154

Subject: Re: hsplay
Am Fr, den 24.10.2003 schrieb Marcel Holtmann um 19:44:
> Hi Scott,
Hi all!

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

BTW: The usage of sox is IMHO not necessary, mpg123 can do all
conversion by itself, e.g.

$MPG123 -q -s -m -r 8000 "$FILE" | $HSTEST play - $BDADDR $CHANNEL

works pretty perfectly for me. Also the 16 -> 8 bit conversion (if
necessary) could be done by mpg123...

> Regards
> Marcel
CU
  nils faerber

-- 
kernel concepts          Tel: +49-271-771091-12
Dreisbachstr. 24         Fax: +49-271-771091-19
D-57250 Netphen          D1 : +49-170-2729106
--



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>