if you try <b>$cat yes &gt; /dev/audio</b><br>you should hear what sounds like a sine wave,<br>but probably isn&#39;t a true sine. The reason why<br>this happens (and more tricks) are described<br>here: <br><br><a href="http://everything2.com/e2node/catting%2520weird%2520things%2520to%2520%252Fdev%252Faudio">http://everything2.com/e2node/catting%2520weird%2520things%2520to%2520%252Fdev%252Faudio</a><br>
<br clear="all">What I would like to do is send intended streams<br>of sound data from a C script to /dev/audio and hear them. <br>So I am looking for a solution where a simple wave<br>can be generated. Anyone? You&#39;d need to know<br>
how exactly /dev/audio interprets data as amplitude. <br>That&#39;s the key. <br><br>Anyways, if you can produce a sine, you can produce <br>(theoretically) any sound in the universe using a bit<br>of additive fourier theory. <br>
<br><br><br><br>-- <br>------- -.-<br>1/f ))) --.<br>------- ...<br><a href="http://www.algomantra.com">http://www.algomantra.com</a>