/[svn]/linuxsampler/trunk/src/scriptvm
ViewVC logotype

Log of /linuxsampler/trunk/src/scriptvm

View Directory Listing Directory Listing


Sticky Revision:

Revision 3118 - Directory Listing
Modified Fri Apr 21 13:33:03 2017 UTC (6 years, 11 months ago) by schoenebeck
* NKSP: Fixed crash when using built-in script array variable "%ALL_EVENTS".
* NKSP: Added built-in function "change_amp_lfo_depth()".
* NKSP: Added built-in function "change_amp_lfo_freq()".
* NKSP: Added built-in function "change_pitch_lfo_depth()".
* NKSP: Added built-in function "change_pitch_lfo_freq()".
* Bumped version (2.0.0.svn44).


Revision 3078 - Directory Listing
Modified Thu Jan 5 18:11:00 2017 UTC (7 years, 3 months ago) by schoenebeck
- Just minor update to NKSP example.


Revision 3076 - Directory Listing
Modified Thu Jan 5 18:00:52 2017 UTC (7 years, 3 months ago) by schoenebeck
* NKSP: Implemented built-in script function "in_range()".
* Bumped version (2.0.0.svn36).


Revision 3073 - Directory Listing
Modified Thu Jan 5 16:04:00 2017 UTC (7 years, 3 months ago) by schoenebeck
* NKSP: Implemented built-in script array variable "%ALL_EVENTS".
* Bumped version (2.0.0.svn35).


Revision 3060 - Directory Listing
Modified Fri Dec 16 14:05:20 2016 UTC (7 years, 4 months ago) by schoenebeck
- Fixed some minor few compiler warnings.


Revision 3056 - Directory Listing
Modified Fri Dec 16 12:57:59 2016 UTC (7 years, 4 months ago) by schoenebeck
* RT Instrument Scripts: Fixed crash when using built-in script function
  "by_marks()".
* LSCP Server: Fixed client connection not being closed after network error.
* Fixed some more few compiler warnings.
* Bumped version (2.0.0.svn33).


Revision 3054 - Directory Listing
Modified Thu Dec 15 12:47:45 2016 UTC (7 years, 4 months ago) by schoenebeck
* Fixed numerous compiler warnings.
* Bumped version (2.0.0.svn32).


Revision 3052 - Directory Listing
Modified Wed Dec 14 17:34:54 2016 UTC (7 years, 4 months ago) by schoenebeck
- Preparations for Xcode project update.


Revision 3035 - Directory Listing
Modified Mon Oct 31 12:00:00 2016 UTC (7 years, 5 months ago) by schoenebeck
* Check compiler for supported pragma diagnostics to avoid
  compiler errors.


Revision 3034 - Directory Listing
Modified Mon Oct 31 00:05:00 2016 UTC (7 years, 5 months ago) by schoenebeck
* Fixed a bunch of minor issues (mostly compiler warnings).
* Bumped version (2.0.0.svn31).


Revision 3013 - Directory Listing
Modified Sat Oct 15 23:54:27 2016 UTC (7 years, 6 months ago) by schoenebeck
* NKSP: Fixed NKSP parser warning "Not a statement" when assigning an
  initializer list to an array variable.
* Bumped version (2.0.0.svn27).


Revision 3012 - Directory Listing
Modified Wed Oct 12 12:50:37 2016 UTC (7 years, 6 months ago) by schoenebeck
- Just updated API doc comments.


Revision 3008 - Directory Listing
Modified Tue Oct 11 18:25:12 2016 UTC (7 years, 6 months ago) by schoenebeck
* NKSP: Provide more user friendly error messages on syntax errors.
* Bumped version (2.0.0.svn26).


Revision 2974 - Directory Listing
Modified Fri Jul 22 15:51:40 2016 UTC (7 years, 8 months ago) by schoenebeck
* ScriptVM: Implemented automatic suspension of RT safety
  threatening scripts.
* Bumped version (2.0.0.svn25).


Revision 2972 - Directory Listing
Modified Fri Jul 22 14:37:34 2016 UTC (7 years, 8 months ago) by schoenebeck
* NKSP Fix: "init" event handler was not always executed when a script
  was loaded.
* NKSP built-in wait() script function: abort script execution if
  a negative or zero wait time was passed as argument (since this is
  a common indication of a bug either of the script or even of the
  engine, which could lead to RT instability or even worse).
* Bumped version (2.0.0.svn24).


Revision 2970 - Directory Listing
Modified Thu Jul 21 16:22:55 2016 UTC (7 years, 8 months ago) by schoenebeck
* NKSP: Implemented built-in script function "min()".
* NKSP: Implemented built-in script function "max()".
* Bumped version (2.0.0.svn23).


Revision 2965 - Directory Listing
Modified Mon Jul 18 09:42:28 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP: Implemented built-in script function "sh_left()".
* NKSP: Implemented built-in script function "sh_right()".
* Bumped version (2.0.0.svn22).


Revision 2960 - Directory Listing
Modified Sun Jul 17 12:10:06 2016 UTC (7 years, 9 months ago) by schoenebeck
- Just some minor API doc comment update.


Revision 2951 - Directory Listing
Modified Fri Jul 15 20:07:47 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP language: Added support for user defined script functions.
* Bumped version (2.0.0.svn18).


Revision 2948 - Directory Listing
Modified Fri Jul 15 15:29:04 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP: Implemented built-in script function "stop_wait()".
* NKSP: Implemented built-in script variable "$NI_CALLBACK_ID".
* NKSP: Implemented built-in script variable "$NI_CALLBACK_TYPE".
* NKSP: Implemented built-in script variable "$NKSP_IGNORE_WAIT".
* NKSP: Added support for read-only built-in variables
  (respectively handled by the script parser).
* NKSP: Added built-in script constant "$NI_CB_TYPE_INIT".
* NKSP: Added built-in script constant "$NI_CB_TYPE_NOTE".
* NKSP: Added built-in script constant "$NI_CB_TYPE_RELEASE".
* NKSP: Added built-in script constant "$NI_CB_TYPE_CONTROLLER".
* Bumped version (2.0.0.svn17).


Revision 2947 - Directory Listing
Modified Thu Jul 14 10:37:28 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP language correction: allow empty statements in entire language
  (i.e. "if end if").
* Bumped version (2.0.0.svn16).


Revision 2945 - Directory Listing
Modified Thu Jul 14 00:22:26 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP: Implemented built-in script function "inc()".
* NKSP: Implemented built-in script function "dec()".
* NKSP language fix: division expressions were evaluated too often.
* NKSP language fix: string concatenation operator was right
  associative instead of left (to right).
* Bumped version (2.0.0.svn15).


Revision 2942 - Directory Listing
Modified Wed Jul 13 15:51:06 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP: Implemented built-in script variable "$KSP_TIMER".
* NKSP: Implemented built-in script variable "$NKSP_REAL_TIMER".
* NKSP: Implemented built-in script variable "$NKSP_PERF_TIMER".
* NKSP: Implemented built-in script variable "$ENGINE_UPTIME".
* Bumped version (2.0.0.svn14).


Revision 2935 - Directory Listing
Modified Sun Jul 10 14:24:13 2016 UTC (7 years, 9 months ago) by schoenebeck
* NKSP: Added & implemented built-in script function "change_cutoff()".
* NKSP: Added & implemented built-in script function "change_reso()".
* NKSP: Added & implemented built-in script function "event_status()".
* NKSP: Added built-in script constants "$EVENT_STATUS_INACTIVE" and
  "$EVENT_STATUS_NOTE_QUEUE" both for being used as flags for
  built-in "event_status()" script function.
* NKSP language: Added support for bitwise operators ".or.", ".and."
  and ".not.".
* NKSP language scanner: Fixed IDs matching to require at least one
  character (i.e. when matching function names or variable names).
* NKSP language scanner: disabled unusued rules.
* Bumped version (2.0.0.svn12).


Revision 2934 - Directory Listing
Modified Sun Jul 10 14:05:13 2016 UTC (7 years, 9 months ago) by schoenebeck
- Fixed polyphonic bug in delay effect NKSP example script.


Revision 2911 - Directory Listing
Modified Mon May 16 20:27:33 2016 UTC (7 years, 11 months ago) by schoenebeck
* NKSP language grammar correction: allow empty event handler bodies
  like "on note end on".
* Bumped version (2.0.0.svn9).


Revision 2889 - Directory Listing
Modified Mon Apr 25 17:28:23 2016 UTC (7 years, 11 months ago) by schoenebeck
* Added new C++ API class "ScriptVMFactory".
* Instrument Scripts: extended parser issues to provide not only first
  line and first column, but also last line and last column of issue
  (thus marking the precise span of the issue within the source code).
* Bumped version (2.0.0.svn7).


Revision 2888 - Directory Listing
Modified Sun Apr 24 18:16:10 2016 UTC (7 years, 11 months ago) by schoenebeck
* Instrument Scripts: Fixed line numbers on parser error/warning messages.
* Instrument Scripts: Added output of precise column on parser
  error/warning messages.
* Shut up some irrelevant errors of parser generating shell scripts.
* Bumped version (2.0.0.svn6).


Revision 2885 - Directory Listing
Modified Fri Apr 22 15:37:45 2016 UTC (7 years, 11 months ago) by schoenebeck
* Instrument script classes now exported with the liblinuxsampler C++ API.
* Added new API method ScriptVM::syntaxHighlighting() which provides
  a convenient syntax highlighting backend for external instrument
  script editor applications.
* Bumped version (2.0.0.svn5).


Revision 2879 - Directory Listing
Modified Tue Apr 19 14:07:53 2016 UTC (7 years, 11 months ago) by schoenebeck
* All engines: Active voices are now internally grouped to "Note" objects,
  instead of being directly assigned to a keyboard key. This allows more
  fine graded processing of voices, which is i.e. required for certain
  instrument script features.
* Built-in script function "play_note()": Added support for passing
  special value -1 for "duration-us" argument, which will cause the
  triggered note to be released once the original note was released.
* Bumped version (2.0.0.svn3).


Revision 2871 - Directory Listing
Modified Sun Apr 10 18:22:23 2016 UTC (8 years ago) by schoenebeck
* All engines: Implemented scheduler for delayed MIDI events and for
  suspended real-time instrument scripts.
* Real-Time instrument scripts: Implemented support for built-in "wait()"
  function's "duration-us" argument, thus scripts using this function are
  now correctly resumed after the requested amount of microseconds.
* Real-Time instrument scripts: Implemented support for built-in
  "play_note()" function's "duration-us" argument, thus notes triggered
  with this argument are now correctly released after the requested amount
  of microseconds.
* Real-Time instrument scripts: Fixed crash which happened when trying to
  reference an undeclared script variable.
* Real-Time instrument scripts: Script events were not cleared when
  engine channel was reset, potentially causing undefined behavior.
* All engines: Attempt to partly fix resetting engine channels vs.
  resetting engine, an overall cleanup of the Reset*(),
  ConnectAudioDevice(), DisconnectAudioDevice() API methods would still be
  desirable though, because the current situation is still inconsistent
  and error prone.
* Bumped version (2.0.0.svn2).


Revision 2837 - Directory Listing
Modified Sun Aug 23 06:14:00 2015 UTC (8 years, 7 months ago) by persson
* fixed printf type errors (mostly in debug messages)



Revision 2729 - Directory Listing
Modified Tue Mar 31 17:56:21 2015 UTC (9 years ago) by schoenebeck
- Just added API doc comments to Script VM code.


Revision 2728 - Directory Listing
Modified Tue Mar 31 17:51:10 2015 UTC (9 years ago) by schoenebeck
- Just added API doc comments to Script VM code.


Revision 2727 - Directory Listing
Modified Tue Mar 31 17:46:11 2015 UTC (9 years ago) by schoenebeck
- Just added API doc comments to Script VM code.


Revision 2645 - Directory Listing
Modified Wed Jun 18 00:14:57 2014 UTC (9 years, 10 months ago) by schoenebeck
* RT instrument scripts: Pass/preserve polyphonic variable data
  from respective "note" event handler to "release" event handler.
* Fixed theoretical memory leak regarding instrument scripts.
* Bumped version (1.0.0.svn54).


Revision 2630 - Directory Listing
Modified Fri Jun 13 15:01:06 2014 UTC (9 years, 10 months ago) by schoenebeck
* Implemented built-in instrument script function "set_event_mark()".
* Implemented built-in instrument script function "delete_event_mark()".
* Implemented built-in instrument script function "by_marks()".
* Added built-in instrument script int const variables $MARK_1 to $MARK_28.
* Built-in instrument 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()").
* Bumped version (1.0.0.svn53).


Revision 2620 - Directory Listing
Modified Wed Jun 11 13:31:27 2014 UTC (9 years, 10 months ago) by schoenebeck
- Fixed compile error on Windows.


Revision 2619 - Directory Listing
Modified Wed Jun 11 13:24:32 2014 UTC (9 years, 10 months ago) by schoenebeck
* Implemented built-in instrument script function "abs()".
* Implemented built-in instrument script function "random()".
* Implemented built-in instrument script function "num_elements()".
* Disabled debug mode of RefPtr template class.
* Bumped version (1.0.0.svn51).


Revision 2612 - Directory Listing
Modified Tue Jun 10 13:32:16 2014 UTC (9 years, 10 months ago) by schoenebeck
* Fixed crashes when exiting the sampler.
* Bumped version (1.0.0.svn47).


Revision 2611 - Directory Listing
Modified Mon Jun 9 19:20:37 2014 UTC (9 years, 10 months ago) by schoenebeck
* Fixed crash when loading an instrument script.
* Fixed "init" script handler only to be executed once:
  when the script was loaded.
* Fixed aftertouch script event which always had value zero
  and controller number was set to aftertouch value instead.
* gig Engine: Fixed handling of "smartmidi" dimension, which
  was recognized as "unknown" dimension.
* Fixed script function gig_set_dim_zone(): was accessing
  wrong event.
* ls_instr_script command line tool: is now not limited to
  core language scripts, but can now also parse sampler format
  dependent instrument scripts, with the respective specific
  built-in script variables and functions.
* ScriptVM: Fixed runtime behavior of "and" and "or" binary
  script expressions, which also evaluated the right hand side
  of the expression even if the left hand side already failed
  the overall expression semantic to become true.
* Bumped version (1.0.0.svn46).


Revision 2598 - Directory Listing
Modified Fri Jun 6 12:38:54 2014 UTC (9 years, 10 months ago) by schoenebeck
* ScriptVM (WIP): Built-in script function "play_note()" now returns the
  event ID of the triggered note.
* ScriptVM (WIP): Implemented built-in script int variable $EVENT_ID.
* ScriptVM (WIP): Implemented built-in script function "ignore_event()".
* ScriptVM (WIP): Implemented built-in script function
  "ignore_controller()" (accepts one and no argument).
* Bumped version (1.0.0.svn44).


Revision 2596 - Directory Listing
Modified Thu Jun 5 19:39:12 2014 UTC (9 years, 10 months ago) by schoenebeck
* ScriptVM (WIP): Implemented execution of script event
  handlers "note" and "release".
* ScriptVM (WIP): Implemented built-in script function
  "play_note()" (only two of the max. four function
  arguments are currently implemented yet though).
* ScriptVM (WIP): Fixed incorrect handling of
  suspended scripts.
* Bumped version (1.0.0.svn43).


Revision 2594 - Directory Listing
Modified Thu Jun 5 00:16:25 2014 UTC (9 years, 10 months ago) by schoenebeck
* ScriptVM (WIP): started to integrate real-time instrument script
  support into the sampler engine implementations. The code is
  shared among all sampler engines, however currently only the gig
  file format supports storing instrument scripts (as LinuxSampler
  extension to the original GigaStudio 4 file format).
* gig engine: Added support for loading instrument scripts from .gig
  files.
* ScriptVM (WIP): Implemented built-in script variables %CC, $CC_NUM,
  $EVENT_NOTE, $EVENT_VELOCITY, $VCC_MONO_AT, $VCC_PITCH_BEND.
* ScriptVM (WIP): Implemented execution of script event handler "init".
* ScriptVM (WIP): Implemented execution of script event handler
  "controller".
* Bumped version (1.0.0.svn42).


Revision 2588 - Directory Listing
Modified Sun Jun 1 14:44:38 2014 UTC (9 years, 10 months ago) by schoenebeck
* ScriptVM: refactoring and fixes.


Revision 2585 - Directory Listing
Modified Sat May 31 21:09:25 2014 UTC (9 years, 10 months ago) by schoenebeck
* Fixed compile error on Windows.


Revision 2581 - Directory Listing
Added Fri May 30 12:48:05 2014 UTC (9 years, 10 months ago) by schoenebeck
* (WIP) Implemented parser and VM for upcoming new real-time instrument
  script support. It needs yet to be integrated into the sampler's
  sampler engines. You can toy around for now with the command line tool
  "ls_instr_script" and i.e. examples showing the core language features
  under src/scriptvm/examples/.
* Bumped version (1.0.0.svn41).


  ViewVC Help
Powered by ViewVC