Re: [linux-audio-dev] XAP and Event Outputs

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

Subject: Re: [linux-audio-dev] XAP and Event Outputs
From: Paul Davis (paul_AT_linuxaudiosystems.com)
Date: Wed Dec 11 2002 - 02:44:04 EET


>See how I handle this in Audiality. Originally, I thought it would be
>a nice idea to be able to queue events ahead of the current buffer,
>but it turned out to be a very bad idea for various reasons.
>
>And normal plugins don't generate and "output" audio or control data
>an arbitrary number of buffers ahead. Why should they do that with
>events?

you are discussing an API that is intended to support *instruments*.
any such API needs to be able to handle the following kind of request:

    at bar 13, beat 3, start playing a sound corresponding to note
       134, and enter a release phase at bar 14, beat 2.

now, if you don't handle this by prequeing events, then that simply
means that something else has to queue the events and deliver them at
the right time.

so this devolves into that old question: do you implement prequeueing
once and make it available to all clients of the API, or you do
require each one to do it over?

--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 Dec 11 2002 - 02:46:34 EET