/[svn]/linuxsampler/trunk/src/scriptvm/common.h
ViewVC logotype

Log of /linuxsampler/trunk/src/scriptvm/common.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 3292 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 24 13:43:09 2017 UTC (6 years, 9 months ago) by schoenebeck
File length: 50433 byte(s)
Diff to previous 3285 , to selected 3035
- Just minor API cleanup.


Revision 3285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 10:45:38 2017 UTC (6 years, 9 months ago) by schoenebeck
File length: 50595 byte(s)
Diff to previous 3277 , to selected 3035
* NKSP: Print a time stamp along to each call of built-in function
  "message()".
* ScriptVM API: Added VMParserContext::preprocessorComments() which
  allows to retrieve all code blocks filtered out by the
  preprocessor.
* Bumped version (2.0.0.svn63).


Revision 3277 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 5 18:40:18 2017 UTC (6 years, 9 months ago) by schoenebeck
File length: 49651 byte(s)
Diff to previous 3253 , to selected 3035
* 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 3253 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 30 12:08:45 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 49329 byte(s)
Diff to previous 3221 , to selected 3035
* NKSP: built-in "play_note()" function now accepts -2 for its fourth
  argument (note duration) which means the life time of the note shall
  be sticked to the requested note number of argument 1.
* NKSP Fix: built-in "play_note()" function now returns 0 as result
  value if -1 was passed for its fourth argument (note duration) and
  the respective parent note is already gone.
* NKSP: Built-in array variable %KEY_DOWN[] is now a read-only
  variable.
* Built-in variable $EVENT_NOTE is now a read-only variable.
* Built-in variable $EVENT_VELOCITY is now a read-only variable.
* Bumped version (2.0.0.svn56).


Revision 3221 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 26 18:30:42 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 49228 byte(s)
Diff to previous 3207 , to selected 3035
* 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 3207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 25 10:53:45 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 48815 byte(s)
Diff to previous 3073 , to selected 3035
* NKSP: Fixed polyphonic variables not being reset to zero
  after usage.
* Bumped version (2.0.0.svn48).


Revision 3073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 5 16:04:00 2017 UTC (7 years, 2 months ago) by schoenebeck
File length: 48205 byte(s)
Diff to previous 3056 , to selected 3035
* NKSP: Implemented built-in script array variable "%ALL_EVENTS".
* Bumped version (2.0.0.svn35).


Revision 3056 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 16 12:57:59 2016 UTC (7 years, 3 months ago) by schoenebeck
File length: 47803 byte(s)
Diff to previous 3035
* 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 3035 - (view) (download) (as text) (annotate) - [selected]
Modified Mon Oct 31 12:00:00 2016 UTC (7 years, 4 months ago) by schoenebeck
File length: 47275 byte(s)
Diff to previous 3034
* Check compiler for supported pragma diagnostics to avoid
  compiler errors.


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


Revision 3012 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 12 12:50:37 2016 UTC (7 years, 5 months ago) by schoenebeck
File length: 46299 byte(s)
Diff to previous 2960 , to selected 3035
- Just updated API doc comments.


Revision 2960 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 17 12:10:06 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 44251 byte(s)
Diff to previous 2948 , to selected 3035
- Just some minor API doc comment update.


Revision 2948 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 15 15:29:04 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 43476 byte(s)
Diff to previous 2945 , to selected 3035
* 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) (as text) (annotate) - [select for diffs]
Modified Thu Jul 14 00:22:26 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 42149 byte(s)
Diff to previous 2942 , to selected 3035
* 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) (as text) (annotate) - [select for diffs]
Modified Wed Jul 13 15:51:06 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 40341 byte(s)
Diff to previous 2889 , to selected 3035
* 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 2889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 25 17:28:23 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 35522 byte(s)
Diff to previous 2888 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 24 18:16:10 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 35003 byte(s)
Diff to previous 2885 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 22 15:37:45 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 34881 byte(s)
Diff to previous 2879 , to selected 3035
* 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) (as text) (annotate) - [select for diffs]
Modified Tue Apr 19 14:07:53 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 33200 byte(s)
Diff to previous 2871 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 10 18:22:23 2016 UTC (7 years, 11 months ago) by schoenebeck
File length: 32238 byte(s)
Diff to previous 2727 , to selected 3035
* 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 2727 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 31 17:46:11 2015 UTC (8 years, 11 months ago) by schoenebeck
File length: 32236 byte(s)
Diff to previous 2645 , to selected 3035
- Just added API doc comments to Script VM code.


Revision 2645 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 00:14:57 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 15399 byte(s)
Diff to previous 2630 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 15:01:06 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 14848 byte(s)
Diff to previous 2619 , to selected 3035
* 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 2619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 13:24:32 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 14787 byte(s)
Diff to previous 2612 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 13:32:16 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 14391 byte(s)
Diff to previous 2598 , to selected 3035
* Fixed crashes when exiting the sampler.
* Bumped version (1.0.0.svn47).


Revision 2598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 12:38:54 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 10344 byte(s)
Diff to previous 2596 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 19:39:12 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 10264 byte(s)
Diff to previous 2594 , to selected 3035
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 00:16:25 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 10144 byte(s)
Diff to previous 2588 , to selected 3035
* 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) (as text) (annotate) - [select for diffs]
Modified Sun Jun 1 14:44:38 2014 UTC (9 years, 9 months ago) by schoenebeck
File length: 4254 byte(s)
Diff to previous 2581 , to selected 3035
* ScriptVM: refactoring and fixes.


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