frei0r problem with the range of f0r_param_double
Martin Bayer <[email protected]>
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, the spec of frei0r says that the allowed value range for a double parameter is from 0.0 to 1.0. For many parameters it is possible to map the needed range in that interval, but some parameters that aren't bounded by a upper and lower limit. E.g. the video delay effect "delay0r" has a delay time parameter. It isn't possible to find a sensible upper boundary for the delay time. There are some other frei0r plugins that accept values outside of that valid range. The current gephex version interpret this range specification only as a gui hint for sliders and doesn't enforce it in any way. It is possible (and for some plugins necessary) to pass values outside of the specified range. I think we must eliminate this discrepancy between spec and usage: Solution A: Keep the current specification (MUST be in the range) and add an additional parameter type (f0r_param_unbounded_double) for unbounded double values. Solution B: Change the range specification from "MUST be in the range" to "SHOULD be in the range". And add adapt the existing frei0r plugins to clamp the values to the [0,1] interval if other values are useless. Any comments? Martin _______________________________________________ gephex-devel mailing list [email protected] http://lists.gephex.org/mailman/listinfo/gephex-devel
signature.asc
(application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBwxffCm3i57PRsbsRAsx4AKCKHxwMMceRvhXhEecSrp5ZModPoACgpIQm Xd2Q44R+epPmPWeb66HSjN0= =ggVe -----END PGP SIGNATURE-----