Log Message: |
NKSP: Added standard units support for numbers and final "!" operator:
* NKSP strictness: Variable names, function names and preprocessor condition
names must start with a regular character (a-z or A-Z); starting them with
a digit or underscore is no longer allowed.
* NKSP parser fix: equal comparison operator "=" and not equal comparison
operator "#" must only accept integer operands.
* NKSP language: Implemented support for standard units like Hertz, seconds,
Bel including support for metric unit prefixes; so one can now e.g.
conveniently use numbers in scripts like "5us" meaning "5 microseconds",
or e.g. "12kHz" meaning "12 kilo Hertz", or e.g. "-14mdB" meaning
"minus 14 Millidecibel", or e.g. "28c" meaning "28 cents" (for tuning).
* NKSP language: Introduced "final" operator "!" which is specifically
intended for synthesis parameter values to denote that the synthesis
parameter value is intended to be the "final" value for that synthesis
parameter that should explicitly be used by the engine and thus causing
the sampler engine to ignore all other modulation sources for the same
synthesis parameter (like e.g. LFO, EG); by simply prefixing a value,
variable or formula with this new "!" operator the expression is marked as
being "final".
* Bumped version (2.1.1.svn4).
|