Re: [linux-audio-dev] Knobs / widget design + some OT stuff

2004-06-28 Thread Pete Bessman
At Sun, 27 Jun 2004 23:03:15 -0400, Pete Bessman wrote: > > That's a straw man. The original point was something to the effect > of "a volume knob which can only be operated after studying a manual > is an indication that the UI designer is a failure," although my > rendition is probably more cau

Re: [linux-audio-dev] Traps in floating point code

2004-06-28 Thread Steve Harris
On Mon, Jun 28, 2004 at 12:23:37 +0200, Maarten de Boer wrote: > Hi Erik, > > Depending on the ranges of your increment, and the accuracy you > want to obtain, you might consider doing this with integers only. Yes, for this kind of accumulator thing I often use a hacked up fixedpoint representati

Re: [linux-audio-dev] Traps in floating point code

2004-06-28 Thread Maarten de Boer
Hi Erik, Depending on the ranges of your increment, and the accuracy you want to obtain, you might consider doing this with integers only. Maarten > The fix in this case was this: > > for (;;) > { > /* Bunch of other code. */ > > fractional += increment ; > rem

[linux-audio-dev] Traps in floating point code

2004-06-28 Thread Erik de Castro Lopo
Hi all, People who play around with floating point code (especially on x86) quickly learn about the evils of comparing the equality of one floating point value with another. There are other related evils with floating point one of which I was bitten by just recently and I thought I'd share it wi

Re: [linux-audio-dev] Knobs / widget design + some OT stuff

2004-06-28 Thread Fons Adriaensen
On Sun, Jun 27, 2004 at 11:03:15PM -0400, Pete Bessman wrote: > That's a straw man. The original point was something to the effect of > "a volume knob which can only be operated after studying a manual is > an indication that the UI designer is a failure," although my > rendition is probably more

Re: [linux-audio-dev] Knobs / widget design + some OT stuff

2004-06-28 Thread Fons Adriaensen
On Mon, Jun 28, 2004 at 08:47:48AM +0200, Jens M Andreasen wrote: > Actually, in my house we speak latin only when we feel the urge to make > fun of people in badly need of a good argument. Out of house, of course, > we speak latin to make people feel stupid and stop argueing with us. I don't liv