|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: Re: OSC_dev Digest, Vol 45, Issue 1> From: L Wieder > I just used integers because they are faster to calculate with and there > are no rounding > errors when adding / subtracting. But maybe float would be better, who > knows. But integers aren't faster to calculate with. No modern software synth uses integer math. So any integer parameter is immediately going to get loaded into the FPU, and then you have to add and multiply to scale it into useable range. As for rounding errors, if your pan range is 0 - 2147483647, what's the center position value? Ooops. 1073741823.5. Looks like a rounding error to me. Surely, one of the major points of OSC is human friendlines. If machine friendliness was the point, it would look a whole lot different. MIDI is evil. Possibly one of the worst things that ever happened to computer music. And integers are evil too. imho. _______________________________________________ OSC_dev mailing list OSC_dev@... http://www.create.ucsb.edu/mailman/listinfo/osc_dev |
|
|
int vs float (was Re: Re: OSC_dev Digest, Vol 45, Issue 1)hi.
i changed the subject. "list digest, vol#x, issue #y" is only slightly better than "(no subject)" imho. L Wieder wrote: > "/pan/stereo 0." for centre sounds good but then the negative values > would have to be used for panning left. That's what I wanted to avoid, I > wanted to use the positive side for absolute values and the whole range > for relative changes to be able to access every point with a relative > change. hmm, do you mean a semantic disambiguation based on the range of a value? why not use the whole range for relative changes AND the whole range for absolute values. just because values are absolute (non-relative), does not mean they have to be absolute (as in abs(x)) mfga.sdr IOhannes _______________________________________________ OSC_dev mailing list OSC_dev@... http://www.create.ucsb.edu/mailman/listinfo/osc_dev |
| Free Forum Powered by Nabble | Forum Help |