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 - 11:29:05 EET


> > METER: uint32_t
> >
> > meter & 0xffc00000 = beats-per-measure whole (0-1024)
> > meter & 0x003ff000 = beats-per-measure decimal (1/1000 increments)
> > meter & 0x00000fff = beat-note denominator (0-4096)

> Yeah, but that's not much point in itself. We have at least 12 bytes
> if we use a non-standard event, so this isn't a major problem.

why use a non-standard event?

> Using a special format inside an integer would be a non-standard
> control type anyway, since you cannot assume that the value is a
> valid float. Unless it's explicitly encoded that way... Don't want to
> go there! :-)

Use an int type. who said to transform it to a float?

> > Now is someone going to tell me they have PI beats per measure?
>
> Probably! ;-)

and I'm going to ask to hear it before I agree to support it in the code. :)


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 - 11:31:09 EET