From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hrafnkell Eiriksson Date: Thu, 13 May 1999 03:25:51 +0000 Subject: Re: Playing a sine wave Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sound@vger.kernel.org On 12. May 1999, Hannu Savolainen wrote: > A much easier way is using /dev/dsp. You only need to construct few cycles > of sine wave at given frequency to a buffer. Then just keep writing this > buffer to /dev/dsp as many times as you need. In fact it may even be > possible that somebody has already written this kind of app (look at > ftp://sunsite.unc.edu/pub/Linux/apps/sound). What about creating a patch with the sine wave and use the wavetable stuff to play it. Thay way the wavetable could change the playback frequency etc. (Please note that I hardly know what a wavetable is nor what it can do :) -- //-----------------------//------------------------------------------------- // Hrafnkell Eiriksson // Student of Computer- and Electrical engineering // hkelle@rhi.hi.is // at the Univeristy of Iceland // // "Blessed are they who go around in circles, // Finger for PGP key // for they shall be known as Wheels"