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

Log of /linuxsampler/trunk/src/engines/common/AbstractVoice.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 3616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 1 10:50:29 2019 UTC (4 years, 5 months ago) by schoenebeck
File length: 17148 byte(s)
Diff to previous 3614 , to selected 2216
* Gig engine: Changed default wave form for all 3 LFOs to sine
  (instead of triangle; see discussion "GigaStudio LFO
  compatibility" on mailing list from 2019-09-26 for details).
* Bumped version (2.1.1.svn21).


Revision 3614 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 1 09:11:27 2019 UTC (4 years, 5 months ago) by schoenebeck
File length: 17148 byte(s)
Diff to previous 3612 , to selected 2216
Refactored LFO class names and their header file names:

* Renamed PulseLFO -> LFOPulse, LFOSawIntMath -> LFOSawIntMathNew,
  SawLFO -> LFOSawIntMathOld, SineLFO -> LFOSineBuiltinFn,
  LFOSine -> LFOSineNumericComplexNr, SquareLFO -> LFOSquarePulse.

* Separated LFOSquarePulse (previously "SquareLFO") to its own
  header file.

* Renamed type LFOSigned -> LFOTriangleSigned.

* Renamed type LFOUnsigned -> LFOTriangleUnsigned.

* Bumped version (2.1.1.svn19).


Revision 3612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 30 18:03:43 2019 UTC (4 years, 5 months ago) by schoenebeck
File length: 17148 byte(s)
Diff to previous 3561 , to selected 2216
Added new LFO implementations:

* Added int math square LFO implementation.

* Added int math saw LFO implementation.

* Added numeric complex nr sine LFO implementation.

* Added public API C++ class "LFO", which is a cluster class
  encapsulating all the sampler's LFO implementations to be used by
  3rd party applications (e.g. by Gigedit).

* Marked class LFOTriangleDiHarmonic as deprecated
  (will be removed in future).

* Added LFOAll.h which includes all LFO implementation's header files.

* Fixed benchmarks/triang.cpp falsely having favoured "int math abs"
  algorithm (since result of 2nd run was not accumulated).

* Added benchmark for saw wave (benchmarks/saw.cpp).

* Added benchmark for sine wave (benchmarks/sine.cpp).

* Added benchmark for square wave (benchmarks/square.cpp).

* Increased amount of benchmarks runs by factor 6 to achieve benchmark
  times which are large enough on modern systems.

* Cleanup of LFO APIs.

* Bumped version (2.1.1.svn18).


Revision 3561 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 23 11:44:00 2019 UTC (4 years, 7 months ago) by schoenebeck
File length: 18716 byte(s)
Diff to previous 3444 , to selected 2216
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).


Revision 3444 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 23 19:32:11 2018 UTC (5 years, 3 months ago) by schoenebeck
File length: 18716 byte(s)
Diff to previous 3335 , to selected 2216
* Only play release trigger samples on sustain pedal up if this behaviour
  was explicitly requested by the instrument (otherwise only on note-off).
* Bumped version (2.1.0.svn2).


Revision 3335 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 30 14:33:15 2017 UTC (6 years, 7 months ago) by schoenebeck
File length: 18659 byte(s)
Diff to previous 3306 , to selected 2216
* NKSP: Added built-in script function "change_pan_time()".
* NKSP: Added built-in script function "change_pan_curve()".
* Bumped version (2.0.0.svn75).


Revision 3306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 15:50:05 2017 UTC (6 years, 8 months ago) by schoenebeck
File length: 18788 byte(s)
Diff to previous 3246 , to selected 2216
* Fixed Note object leak when triggering notes on keys which did
  not have a valid sample mapped (fixes bug #252).
* Fixed compilation errors when compiling with CONFIG_DEVMODE
  enabled.
* Bumped version (2.0.0.svn69).


Revision 3246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 28 22:22:56 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 18716 byte(s)
Diff to previous 3188 , to selected 2216
* NKSP: Implemented built-in script function "change_vol_curve()".
* NKSP: Implemented built-in script function "change_tune_curve()".
* NKSP: Added built-in script constant "$NKSP_LINEAR".
* NKSP: Added built-in script constant "$NKSP_EASE_IN_EASE_OUT".
* Bumped version (2.0.0.svn54).


Revision 3188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 19 14:23:12 2017 UTC (6 years, 10 months ago) by schoenebeck
File length: 18725 byte(s)
Diff to previous 2935 , to selected 2216
* NKSP: Implemented built-in script function "change_vol_time()".
* NKSP: Implemented built-in script function "change_tune_time()".
* NKSP: Implemented built-in script function "fade_in()".
* NKSP: Implemented built-in script function "fade_out()".
* NKSP: Fixed acceptance of wrong data type of parameters passed to
  built-in script functions "change_vol()", "change_tune()",
  "change_pan()", "change_cutoff()", "change_reso()",
  "change_attack()", "change_decay()", "change_release()",
  "change_amp_lfo_depth()", "change_amp_lfo_freq()",
  "change_pitch_lfo_depth()" and "change_pitch_lfo_freq()".
* Bumped version (2.0.0.svn45).


Revision 2935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 10 14:24:13 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 18733 byte(s)
Diff to previous 2931 , to selected 2216
* 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 2931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 9 14:38:33 2016 UTC (7 years, 8 months ago) by schoenebeck
File length: 18389 byte(s)
Diff to previous 2879 , to selected 2216
* Implemented built-in instrument script function "change_vol()".
* Implemented built-in instrument script function "change_tune()".
* Implemented built-in instrument script function "change_pan()".
* Bumped version (2.0.0.svn11).


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: 17628 byte(s)
Diff to previous 2559 , to selected 2216
* 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 2559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 18 17:38:25 2014 UTC (9 years, 10 months ago) by schoenebeck
File length: 17103 byte(s)
Diff to previous 2448 , to selected 2216
* Aftertouch: extended API to explicitly handle channel pressure and
  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).
* Gig Engine: Fixed support for 'aftertouch' attenuation controller.
* Bumped version (1.0.0.svn39).


Revision 2448 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 3 14:26:32 2013 UTC (10 years, 10 months ago) by schoenebeck
File length: 16907 byte(s)
Diff to previous 2382 , to selected 2216
* Immediately apply scale tuning changes to active voices.
* Exposed scale tuning to C++ API (along to the already existing standard
  SysEx way).
* Bumped version to 1.0.0.svn21


Revision 2382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 2 16:30:42 2012 UTC (11 years, 3 months ago) by persson
File length: 16866 byte(s)
Diff to previous 2298 , to selected 2216
* all engines: add pan CC value to instrument pan parameter before
  applying panning, instead of using two separate pan functions in
  series (#182)
* sfz parser: allow -200 to 200 for pan_oncc opcode (#182)
* gig engine: handle special case when pan parameter in gig file has
  max or min value
* CoreMIDI: fixed memory deallocation error


Revision 2298 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 17:04:24 2011 UTC (12 years, 3 months ago) by iliev
File length: 16775 byte(s)
Diff to previous 2244 , to selected 2216
* use different EQ effect instance for every voice


Revision 2244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 18 11:32:33 2011 UTC (12 years, 7 months ago) by iliev
File length: 16384 byte(s)
Diff to previous 2224 , to selected 2216
* sfz engine: use common pool of CC objects to minimize RAM usage


Revision 2224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 19:08:09 2011 UTC (12 years, 7 months ago) by iliev
File length: 16258 byte(s)
Diff to previous 2219 , to selected 2216
* implemented opcode pitchlfo_depthccN


Revision 2219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 12:35:49 2011 UTC (12 years, 8 months ago) by iliev
File length: 16077 byte(s)
Diff to previous 2218 , to selected 2216
* sfz engine: implemented opcodes lfoN_delay,
  lfoN_freq, lfoN_pan, lfoN_cutoff, lfoN_resonance


Revision 2218 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 08:05:57 2011 UTC (12 years, 8 months ago) by iliev
File length: 16006 byte(s)
Diff to previous 2217 , to selected 2216
* sfz engine: use the newly introduced signal units model


Revision 2217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 15:51:30 2011 UTC (12 years, 8 months ago) by iliev
File length: 15912 byte(s)
Diff to previous 2216
* removed helper classes SignalUnitBase,
  EndpointSignalUnitBase, SignalUnitRackBase
* clean up sf2::Voice
* bumped version to 1.0.0.cvs12


Revision 2216 - (view) (download) (as text) (annotate) - [selected]
Modified Mon Jul 25 17:21:16 2011 UTC (12 years, 8 months ago) by iliev
File length: 15913 byte(s)
Diff to previous 2205
* sfz: added support for sample offset (offset)


Revision 2205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 11 17:52:01 2011 UTC (12 years, 8 months ago) by iliev
File length: 15099 byte(s)
Diff to previous 2175 , to selected 2216
* Introduced Signal Units and Signal Unit Racks, which hopefully will meet
  the demands of the new engines for flexible signal processing.
* sf2: Initial implementation of vibrato LFO, fixes in modulation EG and
  and volume EG (work in progress)


Revision 2175 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 25 08:12:36 2011 UTC (12 years, 11 months ago) by persson
File length: 14326 byte(s)
Diff to previous 2121 , to selected 2216
* sfz engine: implemeted filters. Filter types: lowpass, bandpass,
  bandreject and highpass. 1, 2, 4 and 6 pole filters. Opcodes:
  fil_type, cutoff, resonance, fil_veltrack, fil_keytrack,
  fil_keycenter, cutoff_cc, cutoff_chanaft.
* sfz engine: bugfix: zero ampeg_sustain didn't work
* gig engine: bugfix: pitch LFO controller "internal+aftertouch" was broken
* gig engine: bugfix: filter keyboard tracking was broken
* gig engine: filter performance fix (an unnecessary copy was made of
  the filter parameters in each sub fragment)
* ASIO driver: fixes for newer gcc versions (fix from PortAudio)


Revision 2121 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 14 17:09:08 2010 UTC (13 years, 6 months ago) by schoenebeck
File length: 14215 byte(s)
Diff to previous 2115 , to selected 2216
* implemented Roland GS NRPN 1ArrH which allows to set volume per note
* implemented Roland GS NRPN 1CrrH which allows to set pan per note
* implemented Roland GS NRPN 1DrrH which allows to set reverb send per
  note (in this implementation of the sampler its simply hard routed to
  the 1st effect send of the sampler channel, no matter what the actual
  effect type is)
* implemented Roland GS NRPN 1ErrH which allows to set chorus send per
  note (in this implementation of the sampler its simply hard routed to
  the 2nd effect send of the sampler channel, no matter what the actual
  effect type is)
* bumped version to 1.0.0cvs4


Revision 2115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 12 15:36:15 2010 UTC (13 years, 7 months ago) by persson
File length: 14148 byte(s)
Diff to previous 2114 , to selected 2216
* sfz engine: added support for controller triggered regions
  (on_locc/on_hicc)
* sfz engine: added support for loop_mode=one_shot


Revision 2114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 10 12:05:19 2010 UTC (13 years, 7 months ago) by persson
File length: 14104 byte(s)
Diff to previous 2061 , to selected 2216
* sfz engine: improved support for exclusive groups (group, off_by and
  off_mode)
* minor valgrind fixes


Revision 2061 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 23 18:32:31 2010 UTC (14 years, 1 month ago) by persson
File length: 13819 byte(s)
Diff to previous 2055 , to selected 2216
* sfz engine: added support for trigger=release and rt_decay


Revision 2055 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 30 10:30:02 2010 UTC (14 years, 2 months ago) by persson
File length: 13744 byte(s)
Diff to previous 2015 , to selected 2216
* sfz engine: added support for v2 multiple stage envelope generators
* sfz engine: added a fine-tuned v1 envelope generator instead of
  using the one from the gig engine


Revision 2015 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sun Oct 25 22:22:52 2009 UTC (14 years, 5 months ago) by iliev
File length: 13111 byte(s)
Diff to selected 2216
* Refactoring: moved the independent code from gig::Voice to base classes
* SoundFont format engine: implemented EG1 & EG2


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