10139N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
13625N/A<!--ARC : LSARC 2001/201 GNOME 2.X on Solaris-->
10139N/A<!ENTITY cmd "esdcat">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A<!ENTITY suncopy "Copyright (c) 2003,2006 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="esdcat-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
10139N/A<refmeta><refentrytitle>esdcat</refentrytitle><manvolnum>1</manvolnum>
10139N/A<refmiscinfo class="date">7 Jan 2003</refmiscinfo>
10139N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
10139N/A<refmiscinfo class="software">&release;</refmiscinfo>
10139N/A<refmiscinfo class="arch">generic</refmiscinfo>
10139N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
10139N/A</refmeta>
10139N/A<indexterm><primary>esdcat</primary></indexterm><indexterm><primary>play a
10139N/Asound file</primary></indexterm><refnamediv id="esdcat-1-name">
10139N/A<refname>esdcat</refname><refpurpose>play a sound file</refpurpose></refnamediv>
10139N/A<refsynopsisdiv id="esdcat-1-synp"><title>&synp-tt;</title>
11965N/A<cmdsynopsis><command>&cmd;</command>
11965N/A<arg choice="opt"><option>s <replaceable>hostname</replaceable>:<replaceable>port</replaceable></option></arg>
11965N/A<arg choice="opt"><option>b</option></arg>
11965N/A<arg choice="opt"><option>h</option></arg>
11965N/A<arg choice="opt"><option>m</option></arg>
11965N/A<arg choice="opt"><option>n <replaceable>filename</replaceable></option></arg>
11965N/A<arg choice="opt"><option>r <replaceable>freq</replaceable></option></arg>
11965N/A<arg choice="opt"><option role="nodash"><replaceable>filename</replaceable></option></arg>
10139N/A</cmdsynopsis></refsynopsisdiv>
10139N/A<refsect1 id="esdcat-1-desc"><title>&desc-tt;</title>
11965N/A<para>
11965N/AThe <command>&cmd;</command> application pipes data from the filename specified
11965N/A(or <literal>stdin</literal> if not specified) to the sound device, using the
11965N/AEnlightened Sound Daemon (<filename>esd</filename>).
11965N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="esdcat-1-opts"><title>&opts-tt;</title>
10139N/A<para>The following options are supported:</para>
11965N/A<variablelist termlength="medium">
11965N/A<varlistentry>
11965N/A<term><option>s <replaceable>hostname</replaceable>:<replaceable>port</replaceable></option></term>
11965N/A<listitem><para>
11965N/AContact the <filename>esd</filename> server on
11965N/A<replaceable>hostname</replaceable> at <replaceable>port</replaceable>.
11965N/A</para>
10139N/A</listitem></varlistentry>
11965N/A<varlistentry>
11965N/A<term><option>b</option></term>
11965N/A<listitem><para>
11965N/ASpecify that the output should be in 8-bit format. By default, the output is in
11965N/A16-bit format.
11965N/A</para>
10139N/A</listitem></varlistentry>
11965N/A<varlistentry>
11965N/A<term><option>h</option></term>
11965N/A<listitem><para>
11965N/ADisplay help text, and exit.
10139N/A</para>
10139N/A</listitem></varlistentry>
11965N/A<varlistentry>
11965N/A<term><option>m</option></term>
11965N/A<listitem><para>
11965N/ASpecify that the output should be in mono format. By default, the output is in
11965N/Astereo format.
11965N/A</para>
10139N/A</listitem></varlistentry>
11965N/A<varlistentry>
11965N/A<term><option>n <replaceable>filename</replaceable></option></term>
11965N/A<listitem><para>
11965N/ASpecify the <replaceable>filename</replaceable> of the input file. If the
11965N/Afilename is specified both as an operand and with the <option>n</option>
11965N/Aoption, then the value specified with the <option>n</option> option is ignored.
11965N/AIf no filename is specified with the command, then <literal>stdin</literal> is
11965N/Aused.
11965N/A</para>
11965N/A</listitem></varlistentry>
11965N/A<varlistentry>
11965N/A<term><option>r <replaceable>freq</replaceable></option></term>
11965N/A<listitem><para>
11965N/ASpecify that the output rate should be set to <replaceable> freq</replaceable>.
11965N/ABy default, the output rate is set to 44.1 kHz.
11965N/A</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="esdcat-1-oper"><title>&oper-tt;</title>
10139N/A<para>The following operands are supported:</para>
11965N/A<variablelist termlength="medium">
11965N/A<varlistentry>
11965N/A<term><option role="nodash"><replaceable>filename</replaceable></option></term>
11965N/A<listitem><para>
11965N/ASpecify the <replaceable>filename</replaceable> of the input file. If no
11965N/Afilename is specified with the command, then <literal>stdin</literal> is used.
11965N/A</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="esdcat-1-exam"><title>&exam-tt;</title>
11965N/A<example role="example"><title>Playing a sound file "beep" from
11965N/A<literal>stdin</literal></title>
10139N/A<para><screen>example% <userinput>&cmd; &lt; beep</userinput></screen></para>
10139N/A</example>
10139N/A</refsect1>
10139N/A<refsect1 id="esdcat-1-exit"><title>&exit-tt;</title>
10139N/A<para>The following exit values are returned:</para>
11965N/A<variablelist termlength="xtranarrow">
11965N/A<varlistentry>
11965N/A<term><returnvalue>0</returnvalue></term>
11965N/A<listitem><para>
11965N/AApplication exited successfully
11965N/A</para>
10139N/A</listitem></varlistentry>
11965N/A<varlistentry>
11965N/A<term><returnvalue>>0</returnvalue></term>
11965N/A<listitem><para>
11965N/AApplication exited with failure
11965N/A</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="esdcat-1-file"><title>&file-tt;</title>
10139N/A<para>The following files are used by this application:</para>
11904N/A<variablelist termlength="medium"><varlistentry><term><filename>/usr/bin/&cmd;</filename>
10139N/A</term><listitem><para>Executable for Enlightened Sound Daemon sound piper
10139N/A</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A<refsect1 id="esdcat-1-attr"><title>&attr-tt;</title>
10139N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
10139N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
10139N/Afor descriptions of the following attributes:</para>
10139N/A<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>gnome/gnome-audio
10139N/A</para></entry></row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
10139N/Acolname="COLSPEC1"><para>Volatile</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
10139N/A<refsect1 id="esdcat-1-also"><title>&also-tt;</title>
10139N/A<!--Reference to another man page-->
10139N/A<!--Reference to a Help manual-->
10139N/A<!--Reference to a book.-->
11905N/A<para>
11905N/A<citerefentry><refentrytitle>esdplay</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>esdrec</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>esdsample</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>esdmon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>esdctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>esd-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>libesd</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
11905N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>
11905N/A</para>
10139N/A</refsect1>
10139N/A<refsect1 id="esdcat-1-note"><title>&note-tt;</title>
11933N/A<para>Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006.</para>
10139N/A</refsect1>
10139N/A</refentry>