Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-25 Thread Nick Bailey
Watch out for include statements. Even in , html seems to swallow up things in <>. Looks fine in the view source window. Bring back \begin{verbatim}...\end{verbatim}! N/

Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-25 Thread Nick Bailey
I agree with Phil (in fact, I am going to pop next door to tell him so in a moment :) This is exactly what I should be telling my audio programming class! My notes are totally out of date and only cover OSS and esd, apart from saying how ALSA puts too much functionality in the kernel. Oh the

Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-22 Thread Steve Harris
On Fri, Mar 22, 2002 at 09:18:23 +0100, Stefan Kost wrote: > Hi Paul, > > at first thanks a lot for the already useful document. Whay about feeding the >example source through : >http://webcpp.sourceforge.net/ > If you look fro just very simple noise generation, I would suggest square or saw

Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-22 Thread Steve Harris
On Thu, Mar 21, 2002 at 02:47:41 -0800, Paul Winkler wrote: > don't want to embarass myself in the company of real audio hackers, > but why not just put sin() in a loop? Its fine as long as wavelength_samples is small. - Steve

Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-22 Thread Phil Kerr
Paul, Your document looks fine :) The writing style is clear and you start off with a nice overview so delving into the more low-level discussion further on is ok. The code examples you've included cover the basic's quite well (i'll play with them at home later) and apart from adding some comme

Re: [Alsa-devel] Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-21 Thread Paul Davis
>> (the term "PCM" is OK once you get into this >> stuff, but ...). > > How about adding PCM to your Terminology section then? Done. >> The following document represents it current state. I >> would like to ask for feedback even though it is very incomplete. > > What is the license

Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-21 Thread Kay Pruefer
On Thu, Mar 21, 2002 at 02:47:41PM -0800, Paul Winkler wrote: > hmm, wonder if that works :) Nope. #include #include main() { int res = 44100 ; int length = res * 1 ; // 1 second int hz = 440 ; int amp = 24000 ; int x ; short out ;

RE: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-21 Thread Ivica Bukvic
One word: Beautiful! Ico > -Original Message- > From: [EMAIL PROTECTED] [mailto:owner-linux-audio- > [EMAIL PROTECTED]] On Behalf Of Paul Davis > Sent: Thursday, March 21, 2002 4:31 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [linux-audio-dev] initial (i

Re: [linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-21 Thread Paul Winkler
On Thu, Mar 21, 2002 at 04:31:06PM -0500, Paul Davis wrote: > I would appreciate it if anybody has any ideas on a really simple > way to get the playback examples to make a nice noise without > burdening the examples with either waveform generating code and/or > calls to some kind of audio file li

[linux-audio-dev] initial (incomplete) version of ALSA Audio API tutorial

2002-03-21 Thread Paul Davis
prompted by phil kerr this morning, i started writing a tutorial on using the ALSA Audio API (the term "PCM" is OK once you get into this stuff, but ...). The following document represents it current state. I would like to ask for feedback even though it is very incomplete. I have not tested any o