From owner-FreeBSD-users-jp@jp.freebsd.org  Sat Jan 11 14:03:27 1997
Received: by jaz.jp.freebsd.org (8.8.4+2.7Wbeta4/8.7.3) id OAA19969
	Sat, 11 Jan 1997 14:03:27 +0900 (JST)
Received: by jaz.jp.freebsd.org (8.8.4+2.7Wbeta4/8.7.3) with SMTP id NAA19959
	for <freebsd-users-jp@jp.freebsd.org>; Sat, 11 Jan 1997 13:57:25 +0900 (JST)
Received: from dialup80.wr.com.au by wr.com.au (5.x/SMI-SVR4-1.0)
	id AA27553; Sat, 11 Jan 1997 15:33:39 +1100
Message-Id: <9701110433.AA27553@wr.com.au>
To: freebsd-users-jp@jp.freebsd.org
From: Shigetoh Howard Kumagai <howard@wr.com.au>
X-Mailer: Mew version 1.54 on Emacs 19.28.1, Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Sat, 11 Jan 1997 15:28:33 +1100
Reply-To: FreeBSD-users-jp@jp.freebsd.org
X-Distribute: distribute [version 2.1 (Alpha) patchlevel=19]
X-Sequence: FreeBSD-users-jp 8339
Subject: [FreeBSD-users-jp 8339] Re: Audio CDROM
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org

---------
In freebsd-users-jp ML,
From: $BD@(B $B;V>M(B <ko0214@ms5.hinet.net>
Date: Sat, 11 Jan 1997 03:15:50 +0800 (CST)
Subject: [FreeBSD-users-jp 8325] Re: Audio CDROM 

>Have any other way to play it?
---------

Hi!
My name is Shigetoh "Howie" Kumagai. 
Please find  following description about how to listen to audio cd with
ATAPI(EIDE) CDROM using "cdplay" command.

$B$/$^$,$$(B $B$7$2$H$r(B $B$G$9!#(B($B2;3ZBg9%$-$G$9!#(B)
Jazz, Classic, Funk, Soul, Acid Jazz, Folklore, $BEy$$$$$J$H;W$C$?$i(B
$B$J$s$G$bJ9$-$^$9!#(B

$BF|K\8l$H1Q8l$G=q$$$F$$$^$9!#(B
$BB?J,%A%c%s%]%s$J$N$G!"2?$+$*$+$7$+$C$?$i5$7Z$K%a!<%k$/$@$5$$!#(B
$B4V0c$$$ND{@5$d!"$b$C$HNI$$J}K!$,$"$j$^$7$?$i8f65<x4j$$$^$9!#(B
$B!t$^$@40A4$G$J$$$N$O3N$+$G$9!#(B

Shigetoh Howard Kumagai
-------------------------> Sailing OZ
Match Racing, Offshore, Fun!, Cruising..
Home: howard@wr.com.au
Work: shigetoh@intercad.com.au(English text only)
      http://www.intercad.com.au/

$B$$$6!*(B
--- CUT --- CUT --- CUT --- CUT --- CUT --- CUT ---
=====================================================
=$B$i$/$7$F2;3Z(B CD $B$r(B $BJ9$/J}K!(B (ATAPI CDROM $BJT(B) $B$=$N#1(B=
=  Audio CDs made easy..(ATAPI CDROM vesion) No.1   =
=    Shigetoh "Howard" Kumagai  Jan 10, 1997        =
=====================================================

"cdplay" command $BFC=8(B

(1) $BF|K\8l$G$NEz$($G$9!#(B
cdplay $B$H8@$&(B $B%3%^%s%I$r;H$&;v$,$G$-$^$9!#$3$l$O(B FreeBSD $B$KI8=`$G$D$$$F$-$^$9!#(B

$BCN$C$F$$$k8B$j$G$O!"(Bcdplay $B$r$D$+$&Fs$D$NJ}K!$,$"$j$^$9!#(B
$B$I$A$i$G$b5$$KF~$C$?J}$r;H$C$F$/$@$5$$!#(B

$B$^$:$=$NA0$K$-$A$s$H%G%P%$%9$N%Q!<%_%C%7%g%s$r@_Dj$7$F$/$@$5$$!#(B
($B$3$NJ}K!$OB?J,0lHVNI$$J}K!$H$O$$$($J$$$G$7$g$&!#$I$J$?$+8f65<x4j$$$^$9!#(B)
% su
# chmod a+rw /dev/wcd0
# chmod a+rw /dev/rwcd0
# exit

$B!aJ}K!(B $B#1!a(B
cdplay $B$r$=$N$^$^;H$&!#$3$l$O%3%^%s%I%i%$%s$G(B wcd0 $B$r;XDj$7$F(B cdplay $B$r(B $B%7%'%k$N$h$&$K;H$&J}K!$G$9!#(B
% cdplay wcd0
CD>play
($B0l6JL\$+$i1iAU$7$^$9!#(B)

CD>play 4 4
($B;M6JL\$@$11iAU$7$^$9!#(B)

CD>play 3 7
($B;06JL\$+$i<76JL\$^$G$r1iAU$7$^$9!#(B)

CD>stop
($B1iAU$r;_$a$^$9!#(B)

CD>help
($B;HMQ$G$-$k%3%^%s%I$rNs5s$7$^$9!#(B)
-------------

=(Method 2)= 
cdplay $B$r(B $BHsF14|$K;H$&J}K!$G$9!#(B($B$b$C$HNI$$8@$$2s$7$r$4B8CN$"$j$^$;$s$+!#(B)

$B2<5-$N$h$&$KF~NO$7$F$/$@$5$$!#(B
% echo "play" | cdplay wcd0
or
% echo play | cdplay wcd0
($B0l6JL\$+$i1iAU$7$^$9!#(B)

% echo "play 4 4" | cdplay wcd0
($B;M6JL\$@$11iAU$7$^$9!#(B)

% echo "play 3 7" | cdplay wcd0
($B;06JL\$+$i<76JL\$^$G$r1iAU$7$^$9!#(B)

% echo "stop" | cdplay wcd0
or
% echo stop | cdplay wcd0
($B1iAU$r;_$a$^$9!#(B)

% echo help | cdplay wcd0
or 
% echo "help" | cdplay wcd0
($B;HMQ$G$-$k%3%^%s%I$rNs5s$7$^$9!#(B)

$B$$$m$$$m;n$7$F$_$F$/$@$5$$!#(B
-------------

(2) Here is my reply in English...

You can use "cdplay" command. 
The "cdplay" command comes with FreeBSD. It is command-line based cdplayer.
I use it all the time. 

As far as I am aware, there are two ways you can use it!
Use whichever you prefer... 

Before jump into trying to play audio cd, please set permissions for
wcd and rwcd devices.
(There could be a better way to set this. Can anybody show us?)
% su
# chmod a+rw /dev/wcd0
# chmod a+rw /dev/rwcd0
# exit

=(Method 1)= This method only let you use cdplay command.
% cdplay wcd0
CD>play
(This will play audio cd from track 1 if you have not stoped playing before.)

CD>play 4 4
(This will play track 4 only!)

CD>play 3 7
(This will play track 3 to 7.)

CD>stop
(This will stop playing cd.)

CD>help
(This will show list of available commands.)
-------------

=(Method 2)= This let you use "cdplay" AND you normal shell. 
You can type

% echo "play" | cdplay wcd0
or
% echo play | cdplay wcd0
(This will play from track 1 if you heve not stoped playing before)

% echo "play 4 4" | cdplay wcd0
(This will play track 4 only!)

% echo "play 3 7" | cdplay wcd0
(This will play track 3 to 7.)

% echo "stop" | cdplay wcd0
or
% echo stop | cdplay wcd0
(This will stop playing cd.)

% echo help | cdplay wcd0
or 
% echo "help" | cdplay wcd0
(This will show list of available commands.)

Explore other features youself, and enjoy listening to music CD!
-------------
