/[svn]/linuxsampler/trunk/src/scriptvm/ScriptVM.cpp
ViewVC logotype

Log of /linuxsampler/trunk/src/scriptvm/ScriptVM.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3311 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 15 16:24:59 2017 UTC (6 years, 8 months ago) by schoenebeck
File length: 19159 byte(s)
Diff to previous 3277
* NKSP: Added built-in preprocessor condition NKSP_NO_MESSAGE,
  which can be set to disable all subsequent built-in "message()"
  function calls on preprocessor level.
* Bumped version (2.0.0.svn71).


Revision 3277 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 5 18:40:18 2017 UTC (6 years, 9 months ago) by schoenebeck
File length: 18820 byte(s)
Diff to previous 3260
* NKSP: Implemented built-in script function "abort()" which allows
  to abort another script handler by passing its callback ID.
* Bumped version (2.0.0.svn61).


Revision 3260 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 31 21:07:44 2017 UTC (6 years, 9 months ago) by schoenebeck
File length: 18744 byte(s)
Diff to previous 3221
* NKSP language: Added support for "synchronized .. end synchronized"
  code blocks.
* Bumped version (2.0.0.svn60).


Revision 3221 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 26 18:30:42 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 17621 byte(s)
Diff to previous 3076
* NKSP Fix: Never suspend "init" event handlers.
* NKSP: Implemented built-in script function "array_equal()".
* NKSP: Implemented built-in script function "search()".
* NKSP: Implemented built-in script function "sort()".
* Bumped version (2.0.0.svn52).


Revision 3076 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 5 18:00:52 2017 UTC (7 years, 2 months ago) by schoenebeck
File length: 17131 byte(s)
Diff to previous 3034
* NKSP: Implemented built-in script function "in_range()".
* Bumped version (2.0.0.svn36).


Revision 3034 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 31 00:05:00 2016 UTC (7 years, 4 months ago) by schoenebeck
File length: 16995 byte(s)
Diff to previous 2974
* Fixed a bunch of minor issues (mostly compiler warnings).
* Bumped version (2.0.0.svn31).


Revision 2974 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 22 15:51:40 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 16956 byte(s)
Diff to previous 2970
* ScriptVM: Implemented automatic suspension of RT safety
  threatening scripts.
* Bumped version (2.0.0.svn25).


Revision 2970 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 21 16:22:55 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 14311 byte(s)
Diff to previous 2965
* NKSP: Implemented built-in script function "min()".
* NKSP: Implemented built-in script function "max()".
* Bumped version (2.0.0.svn23).


Revision 2965 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 18 09:42:28 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 14083 byte(s)
Diff to previous 2948
* NKSP: Implemented built-in script function "sh_left()".
* NKSP: Implemented built-in script function "sh_right()".
* Bumped version (2.0.0.svn22).


Revision 2948 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 15 15:29:04 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 13816 byte(s)
Diff to previous 2945
* 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 2945 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 14 00:22:26 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 13565 byte(s)
Diff to previous 2942
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 13 15:51:06 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 13337 byte(s)
Diff to previous 2885
* 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 2885 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 22 15:37:45 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 12783 byte(s)
Diff to previous 2879
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 19 14:07:53 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 11651 byte(s)
Diff to previous 2837
* 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 2837 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 23 06:14:00 2015 UTC (8 years, 7 months ago) by persson
File length: 11470 byte(s)
Diff to previous 2619
* fixed printf type errors (mostly in debug messages)



Revision 2619 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 11 13:24:32 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 11442 byte(s)
Diff to previous 2611
* 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 2611 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 9 19:20:37 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 11258 byte(s)
Diff to previous 2594
* 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 2594 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 5 00:16:25 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 11192 byte(s)
Diff to previous 2588
* 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 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 1 14:44:38 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 10605 byte(s)
Diff to previous 2581
* ScriptVM: refactoring and fixes.


Revision 2581 - (view) (download) (annotate) - [select for diffs]
Added Fri May 30 12:48:05 2014 UTC (9 years, 10 months ago) by schoenebeck
File length: 10517 byte(s)
* (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).


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC