[gmpi] Re: Decision Time: 8.3
- From: Mike Berry <mberry@xxxxxxxxx>
- To: gmpi@xxxxxxxxxxxxx
- Date: Mon, 15 Sep 2003 17:00:29 -0600
Steve Harris wrote:
On Mon, Sep 15, 2003 at 02:53:46 -0700, Chris Grigg wrote:
I see a need for
float - many normal params
double - high res params
Could those two be collapsed into just one or the other? Smells a
bit redundant from a parameter perspective.
Agreed, but I also think that int should be collapsed into one floating
point type, I feel there is some extra simplicity from handling integer
values as a hinted float type, eg. automation, interpolation etc. I dont
have any religious convition about it though :)
The collapse has a fundamental problem, which is that the range of the
int is larger than the range of the float. What I mean by this is that
0x7FFFFFFF can be represented exactly by a 32 bit int, but cannot be
represented exactly by a 32 bit float. So the use of floats for ints
only works if the mantissa of the float is >= in size to the int. So
doubles would work for 32 bit ints, but not 64 bit one. I think that we
still need an int type.
--
Mike Berry
Adobe Systems
----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules: Please stay on topic. You are responsible for your own
words. Please respect your fellow subscribers. Please do not
redistribute anyone else's words without their permission.
Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe
- Follow-Ups:
- [gmpi] Re: Decision Time: 8.3
- From: Tim Hockin
- References:
- [gmpi] Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Re: Decision Time: 8.3
- From: Steve Harris
- [gmpi] Re: Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Re: Decision Time: 8.3
- From: Steve Harris
- [gmpi] Re: Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Re: Decision Time: 8.3
- From: Chris Grigg
- [gmpi] Re: Decision Time: 8.3
- From: Steve Harris
Other related posts:
- » [gmpi] Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
- » [gmpi] Re: Decision Time: 8.3
I see a need for
float - many normal params double - high res params
Could those two be collapsed into just one or the other? Smells a bit redundant from a parameter perspective.
Agreed, but I also think that int should be collapsed into one floating point type, I feel there is some extra simplicity from handling integer values as a hinted float type, eg. automation, interpolation etc. I dont have any religious convition about it though :)
---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.
- [gmpi] Re: Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Re: Decision Time: 8.3
- From: Steve Harris
- [gmpi] Re: Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Re: Decision Time: 8.3
- From: Steve Harris
- [gmpi] Re: Decision Time: 8.3
- From: Tim Hockin
- [gmpi] Re: Decision Time: 8.3
- From: Chris Grigg
- [gmpi] Re: Decision Time: 8.3
- From: Steve Harris