<html><head><meta http-equiv="Content-type" content="text/html; charset=iso-8859-1">
<title>Shared recording server</title>
<style type="text/css"><!--
TABLE.toc {border:0px}
A:link,A:visited{text-decoration:none;color:#2A3B83}
A:hover{text-decoration:underline;color:#002040}
A:active{text-decoration:underline;color:#004060;background:#CCD8FF}
TD.toc {font-size:80%; font-family:Tahoma; text-align:left}
H1 {font-size:250%; font-weight:bold} .level1 {text-align:center}
H2 {font-size:200%; font-weight:bold} .level2 {margin-left:1%}
H3 {font-size:160%; font-weight:bold} .level3 {margin-left:2%}
H4 {font-size:145%; font-weight:bold} .level4 {margin-left:3%}
H5 {font-size:130%; font-weight:bold} .level5 {margin-left:4%}
H6 {font-size:110%; font-weight:bold} .level5 {margin-left:5%}
BODY{background:white;color:black}
CODE{font-family:lucida console,courier new,courier;color:#105000}
PRE.smallerpre{font-family:lucida console,courier new,courier;font-size:80%;color:#500010;margin-left:30px}
SMALL {font-size:70%}
--></style></head>
<body>
<h1>Shared recording server</h1>
<h2 class=level2> 0. Contents </h2>
This is the documentation of erec-2.2.0.1. <div class=toc><table cellspacing=0 cellpadding=0 class=toc><tr><td width="50%" valign=middle align=left nowrap class=toc> 1. <a href="h0">Purpose</a><br> 2. <a href="h1">Copying</a><br> 3. <a href="h2">Requirements</a><br></td> <td width="50%" valign=middle align=left nowrap class=toc> 4. <a href="h3">Changes</a><br> 5. <a href="h4">Documentation</a><br> 6. <a href="h5">See also</a><br> 7. <a href="#download">Downloading</a><br></td> </tr></table></div><H2 class="level2"><a name="h0"></a>1. Purpose</H2><div class="level2">
erec is a tool program for recording raw audio stream from the soundcard. Multiple instances of erec can be running at the same time sharing the same audio device. It works as a frontend to the audio device for programs wishing to listen at the same time.
<pre class=smallerpre>erec - shared recording server v2.2.0.1 (C) 1992,2002 Bisqwit
Allows multiple applications request recorded data
at the same time with different stream attributes.
Usage: erec [<options> [...]]
Options:
-2, --stereo Specifies stereo sound. Default is mono.
-6, --word 16-bit mode. Redundant.
-V, --version Version information
-b, --byte 8-bit mode. Normally 16-bit mode.
-d, --device <file> Specify device.
-h, --help Help
-m, --mono Redundant. It's here for esd compatibility.
-r, --rate <num> Specifies recording rate. 44100 is default.
</pre>
Note: For best quality, it might be wise to always record
44.1 kHz 16-bit stereo (-6r44100) and resample the result
with an external program like
<a href="http://oktober.stc.cx/source/streamixer.html">resample</a>
to produce the wanted sample rate.
</div><H2 class="level2"><a name="h1"></a>2. Copying</H2><div class="level2">
erec has been written by Joel Yliluoma, a.k.a. <a href="http://iki.fi/bisqwit/">Bisqwit</a>,<br> and is distributed under the terms of the <a href="http://www.gnu.org/licenses/licenses.html#GPL">General Public License</a> (GPL).
</div><H2 class="level2"><a name="h2"></a>3. Requirements</H2><div class="level2">
GNU make is probably required.<br>
A sound card (OSS) might prove useful.
</div><H2 class="level2"><a name="h3"></a>4. Changes</H2><div class="level2">
Since version 2.2.0, esdcat functionality no longer exists in erec.<br> In 2.2.0, removed the 1sec latency between erec start and start of recording.<br>
</div><H2 class="level2"><a name="h4"></a>5. Documentation</H2><div class="level2">
erec uses tcp connections between the server (first launched erec by server) and client (all listeners). The ports are calculated from the device filename by a magic formula, which results in these ports for these examples: <code>/dev/dsp</code>: 6130, <code>/dev/dsp1</code>: 6179
</div><H2 class="level2"><a name="h5"></a>6. See also</H2><div class="level2">
<a href="http://iki.fi/bisqwit/source/streamixer.html#ecat">ecat</a>: The near opposite of erec, and stream mixing tools.
</div><H2 class="level2"><a name="download"></a>7. Downloading</H2><div class="level2">
The official home page of erec
is at <a href="http://iki.fi/bisqwit/source/erec.html">http://iki.fi/bisqwit/source/erec.html</a>.<br>
Check there for new versions.
</div> <p align=right><small>Generated from
<code>progdesc.php</code> (last updated: Sat, 25 Jan 2003 16:53:34 +0200)<br>
with <code>docmaker.php</code> (last updated: Thu, 13 Feb 2003 15:11:29 +0200)<br>
at Thu, 3 Jul 2003 22:43:54 +0300</small>
</p>
</body>
</html>
