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: Tim Hockin (thockin_AT_hockin.org)
Date: Wed Dec 18 2002 - 02:54:30 EET


> Synchronizing: Tempo data.
>
> Alt 1: You adjust your internal "tempo" variable whenever
> you get a TEMPO Control change. For every sample in
> your inner loops, you add that value to your internal
> "position" variable. The "position" variable now
> corresponds to "free running musical time", tracking
> the tempo of the timeline, but not locking to the
> position.

good.

> Alt 1: Maintain sync and local position as described above.
> When you get a POSITION_CHANGE Control change, adjust
> your "position" to the new value. Now, "position" is
> locked to the timeline position.

good.

Both of those are simple and elegant (once I get over the internal conflict
of using controls :).

Tim


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 18 2002 - 03:01:52 EET