Re: [linux-audio-dev] XAP: a polemic

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

Subject: Re: [linux-audio-dev] XAP: a polemic
From: Paul Davis (paul_AT_linuxaudiosystems.com)
Date: Sun Dec 15 2002 - 14:42:02 EET


>> We've been talking about 'TEMPO' and 'TRANSPORT' and 'TICKS' and 'METER'
>> controls, which (honestly) kind of turns my stomach. This is not what
>> controls are meant to be doing. the answer strikes me in shadowy details:
>>
>> Each host struct has a timeline member. Plugins register with the host for
>> notification of ceratin things:
>> host->register_time_event(plugin, event, function);
>> events:
>> TIME_TICKS // call me on every tick edge
>> TIME_TRANSPORT // call me when a transport happens
>> TIME_METER // call me when the meter changes

this is the best suggestion so far. i love callbacks. note that
"meter" includes both tempo and time signature. you knew that, though.
i can't see anyone wanting to use TIME_TICKS.

--p


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

This archive was generated by hypermail 2b28 : Sun Dec 15 2002 - 14:39:47 EET