Re: [linux-audio-dev] alsa and ... ?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] alsa and ... ?
From: Paul Davis (pbd_AT_op.net)
Date: Wed Jun 19 2002 - 19:16:23 EEST


>im trying to write a sequencer using alsa .9 and c++
>
>at the moment all i want to do is trigger samples using a specific bpm
>
>at a later stage i may want to send out and recieve midi events
>
>is the alsa sequencer the right thing to use?
>
>can anyone point me at any examples or would u be kind enough to show me even
>some pseudo code?

check out rythmnlab or greenbox or any of the other rythmn boxes
listed on dave phillips linux sound+midi pages.

but please note something potentially really important. the design you
use to do this when writing around a blocking i/o API like ALSA's PCM
(audio) API is generally rather different than the one you use with a
callback driven API like JACK, PortAudio or LADPSA.

you may wish to consider very carefully whether you want to go down
the pathway of using the ALSA PCM API. i say this because i ported
rythmnlab to use JACK and it was quite hard to do. the math is really
rather different between a case where you have control over how much
audio you generate at a time and one where you don't.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Jun 19 2002 - 19:27:50 EEST