[music-dsp] Startup for a newbie

Simon Lemieux lemieuxsimon at yahoo.com
Wed Aug 15 19:32:38 EDT 2001


> To answer your questions, basically you just have the setup up /dev/dsp for sample
> rate, channels and bitwidth (ie 8 or 16). then you can pretty much write to it
> and everything should work.
> 
> There is a really simple example of playing a sound file using libsndfile at
> 
>    http://www.zip.com.au/~erikd/libsndfile/sfplay.c
> 
> The part you should be inertested in is the function open_dsp_device().
> 
> For more advanced /dev/dsp material have a look at the OSS programmers guide at:
> 
>     http://www.4front-tech.com/pguide/index.html

Alright!  Thanks a lot!

I'll stop bugging you with these newbie questions and I'll be back in a few days
to ask Beginners questions! ;)

Well, thanks and see ya!
  Simon

-- 
||  'How do you know I'm mad?' said Alice.
||  'You must be,' said the Cat, 'or you wouldn't have come here.'
--
 Simon Lemieux  (lemieuxsimon at yahoo.com)

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


dupswapdrop -- the music-dsp mailing list and website: subscription info,
FAQ, source code archive, list archive, book reviews, dsp links
http://shoko.calarts.edu/musicdsp/




More information about the music-dsp mailing list