--- linuxsampler/trunk/ChangeLog 2014/05/20 14:53:06 2568 +++ linuxsampler/trunk/ChangeLog 2014/06/18 00:14:57 2645 @@ -103,6 +103,10 @@ polyphonic key pressure events (so far polyphonic pressure was not supported at all, and channel pressure was rerouted as CC128 but not used so far). + - Added initial support for real-time instrument scripts. The script VM + code is shared by all sampler engine implemementations, however only the + gig file format currently provides support for storing instrument scripts + (as LinuxSampler extension to the original GigaStudio 4 format). * Gigasampler format engine: - implemented the "round robin keyboard" dimension @@ -422,6 +426,55 @@ as one specific LSCP command was detected while typing on the command line. + * Real-time instrument scripts: + - Implemented built-in script array variable %CC. + - Implemented built-in script int variable $CC_NUM. + - Implemented built-in script int variable $EVENT_NOTE. + - Implemented built-in script int variable $EVENT_VELOCITY. + - Implemented built-in script constant variable $VCC_MONO_AT. + - Implemented built-in script constant variable $VCC_PITCH_BEND. + - Implemented execution of script event handler "init". + - Implemented execution of script event handler "controller". + - Implemented execution of script event handler "note". + - Implemented execution of script event handler "release". + - Implemented built-in script function "play_note()" (only two of the + max. four function arguments are currently implemented yet though). + - Implemented built-in script int variable $EVENT_ID. + - Implemented built-in script function "ignore_event()" + - Implemented built-in script function "ignore_controller()" (may have one + or no argument). + - Implemented built-in script function "set_controller()". + - Added extended script VM for the Gigasampler/GigaStudio format sampler + engine, which extends the general instrument script VM with Giga format + specific variables and functions. + - Giga format scripts: added built-in script int constant variables + $GIG_DIM_CHANNEL, $GIG_DIM_LAYER, $GIG_DIM_VELOCITY, $GIG_DIM_AFTERTOUCH, + $GIG_DIM_RELEASE, $GIG_DIM_KEYBOARD, $GIG_DIM_ROUNDROBIN, $GIG_DIM_RANDOM, + $GIG_DIM_SMARTMIDI, $GIG_DIM_ROUNDROBINKEY, $GIG_DIM_MODWHEEL, + $GIG_DIM_BREATH, $GIG_DIM_FOOT, $GIG_DIM_PORTAMENTOTIME, $GIG_DIM_EFFECT1, + $GIG_DIM_EFFECT2, $GIG_DIM_GENPURPOSE1, $GIG_DIM_GENPURPOSE2, + $GIG_DIM_GENPURPOSE3, $GIG_DIM_GENPURPOSE4, $GIG_DIM_SUSTAIN, + $GIG_DIM_PORTAMENTO, $GIG_DIM_SOSTENUTO, $GIG_DIM_SOFT, + $GIG_DIM_GENPURPOSE5, $GIG_DIM_GENPURPOSE6, $GIG_DIM_GENPURPOSE7, + $GIG_DIM_GENPURPOSE8, $GIG_DIM_EFFECT1DEPTH, $GIG_DIM_EFFECT2DEPTH, + $GIG_DIM_EFFECT3DEPTH, $GIG_DIM_EFFECT4DEPTH, $GIG_DIM_EFFECT5DEPTH. + - Giga format scripts: Implemented built-in script function + "gig_set_dim_zone(event_id, dimension, zone)". + - Implemented built-in script int array variable $KEY_DOWN. + - Implemented built-in script function "abs()". + - Implemented built-in script function "random()". + - Implemented built-in script function "num_elements()". + - Implemented built-in script function "note_off()". + - Implemented built-in script function "set_event_mark()". + - Implemented built-in script function "delete_event_mark()". + - Implemented built-in script function "by_marks()". + - Added built-in script int const variables $MARK_1 to $MARK_28. + - Built-in script functions "ignore_event()", "note_off()" and + "gig_set_dim_zone()" now also accept an array of event IDs as argument + (i.e. return value of new script function "by_marks()"). + - Pass/preserve polyphonic variable data from respective "note" event + handler to "release" event handler. + * Bug fixes: - Fixed crash which may occur when MIDI key + transpose is out of range - minor valgrind fixes