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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 3118 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 21 13:33:03 2017 UTC (2 months ago) by schoenebeck
File length: 43797 byte(s)
Diff to previous 3054
* 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 3054 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 15 12:47:45 2016 UTC (6 months, 1 week ago) by schoenebeck
File length: 42892 byte(s)
Diff to previous 3034
* Fixed numerous compiler warnings.
* Bumped version (2.0.0.svn32).


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


Revision 3017 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 19 12:28:40 2016 UTC (8 months, 1 week ago) by schoenebeck
File length: 42615 byte(s)
Diff to previous 3016
* Follow-up fix regarding aftertouch handling.
* Bumped version (2.0.0.svn29).


Revision 3016 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 18 21:01:46 2016 UTC (8 months, 1 week ago) by schoenebeck
File length: 42487 byte(s)
Diff to previous 2963
- Follow-up of previous fix.


Revision 2963 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 17 18:41:21 2016 UTC (11 months, 1 week ago) by schoenebeck
File length: 42420 byte(s)
Diff to previous 2953
* All engines: Increased ramp speed of volume smoother and pan smoother
  (while slow rate of crossfade smoother is preserved) to allow quick
  volume and pan changes by instrument scripts for instance.
* Bumped version (2.0.0.svn21).


Revision 2953 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 16 11:24:39 2016 UTC (11 months, 1 week ago) by schoenebeck
File length: 41881 byte(s)
Diff to previous 2938
* NKSP: Implemented built-in script function "change_attack()".
* NKSP: Implemented built-in script function "change_decay()".
* NKSP: Implemented built-in script function "change_release()".
* Bumped version (2.0.0.svn19).


Revision 2938 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 17:10:40 2016 UTC (11 months, 2 weeks ago) by schoenebeck
File length: 41667 byte(s)
Diff to previous 2935
* Fixed behavior of built-in instrument script functions play_note()
  and note_off(), which must be distinguished engine internally
  from "real" MIDI note on/off events in order to avoid
  misbehaviors like hanging notes.
* Bumped version (2.0.0.svn13).


Revision 2935 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 10 14:24:13 2016 UTC (11 months, 2 weeks ago) by schoenebeck
File length: 41339 byte(s)
Diff to previous 2931
* 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) (annotate) - [select for diffs]
Modified Sat Jul 9 14:38:33 2016 UTC (11 months, 2 weeks ago) by schoenebeck
File length: 40805 byte(s)
Diff to previous 2879
* 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) (annotate) - [select for diffs]
Modified Tue Apr 19 14:07:53 2016 UTC (14 months, 1 week ago) by schoenebeck
File length: 39194 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 (22 months ago) by persson
File length: 39196 byte(s)
Diff to previous 2673
* fixed printf type errors (mostly in debug messages)



Revision 2673 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 6 18:56:02 2014 UTC (2 years, 9 months ago) by persson
File length: 39194 byte(s)
Diff to previous 2559
* gig engine: fixed behaviour of filter LFO


Revision 2559 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 18 17:38:25 2014 UTC (3 years, 1 month ago) by schoenebeck
File length: 39185 byte(s)
Diff to previous 2448
* 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) (annotate) - [select for diffs]
Modified Fri May 3 14:26:32 2013 UTC (4 years, 1 month ago) by schoenebeck
File length: 38906 byte(s)
Diff to previous 2382
* 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) (annotate) - [select for diffs]
Modified Sun Dec 2 16:30:42 2012 UTC (4 years, 6 months ago) by persson
File length: 38198 byte(s)
Diff to previous 2352
* 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 2352 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 24 16:11:31 2012 UTC (5 years ago) by persson
File length: 38293 byte(s)
Diff to previous 2327
* fixed crash when a channel received a program change while playing a
  note in a key group


Revision 2327 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 10 16:16:14 2012 UTC (5 years, 3 months ago) by persson
File length: 38282 byte(s)
Diff to previous 2322
* sfz/sf2 engine: fixed crash when using small audio fragment size


Revision 2322 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 26 09:09:19 2012 UTC (5 years, 4 months ago) by iliev
File length: 38213 byte(s)
Diff to previous 2299
* bugfix: voice stealing didn't work for SFZ and SF2 engines


Revision 2299 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 11 20:50:31 2011 UTC (5 years, 6 months ago) by iliev
File length: 38047 byte(s)
Diff to previous 2298
* implemented opcodes egN_eq1gain, egN_eq2gain, egN_eq3gain,
  egN_eq1gain_onccX, egN_eq2gain_onccX, egN_eq3gain_onccX, egN_eq1freq,
  egN_eq2freq, egN_eq3freq, egN_eq1freq_onccX, egN_eq2freq_onccX,
  egN_eq3freq_onccX, egN_eq1bw, egN_eq2bw, egN_eq3bw, egN_eq1bw_onccX,
  egN_eq2bw_onccX, egN_eq3bw_onccX, lfoN_eq1gain, lfoN_eq2gain,
  lfoN_eq3gain, lfoN_eq1gain_onccX, lfoN_eq2gain_onccX, lfoN_eq3gain_onccX,
  lfoN_eq1gain_smoothccX, lfoN_eq2gain_smoothccX, lfoN_eq3gain_smoothccX,
  lfoN_eq1gain_stepccX, lfoN_eq2gain_stepccX, lfoN_eq3gain_stepccX,
  lfoN_eq1freq, lfoN_eq2freq, lfoN_eq3freq, lfoN_eq1freq_onccX,
  lfoN_eq2freq_onccX, lfoN_eq3freq_onccX, lfoN_eq1freq_smoothccX,
  lfoN_eq2freq_smoothccX, lfoN_eq3freq_smoothccX, lfoN_eq1freq_stepccX,
  lfoN_eq2freq_stepccX, lfoN_eq3freq_stepccX, lfoN_eq1bw, lfoN_eq2bw,
  lfoN_eq3bw, lfoN_eq1bw_onccX, lfoN_eq2bw_onccX, lfoN_eq3bw_onccX,
  lfoN_eq1bw_smoothccX, lfoN_eq2bw_smoothccX, lfoN_eq3bw_smoothccX,
  lfoN_eq1bw_stepccX, lfoN_eq2bw_stepccX, lfoN_eq3bw_stepccX


Revision 2298 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 9 17:04:24 2011 UTC (5 years, 6 months ago) by iliev
File length: 37719 byte(s)
Diff to previous 2297
* use different EQ effect instance for every voice


Revision 2297 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 9 15:04:55 2011 UTC (5 years, 6 months ago) by iliev
File length: 37553 byte(s)
Diff to previous 2296
* implemented opcodes delay, delay_onccN, delay_random,
  delay_samples, delay_samples_onccN


Revision 2296 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 8 20:03:47 2011 UTC (5 years, 6 months ago) by iliev
File length: 36762 byte(s)
Diff to previous 2219
* fixed crash when trying to create an effect instance with controls
  which min and/or max values depend on the sample rate
* experimental support for per voice equalization (work in progress)
* sfz engine: implemented opcodes eq1_freq, eq2_freq, eq3_freq,
  eq1_freqccN, eq2_freqccN, eq3_freqccN, eq1_bw, eq2_bw, eq3_bw,
  eq1_bwccN, eq2_bwccN, eq3_bwccN, eq1_gain, eq2_gain, eq3_gain,
  eq1_gainccN, eq2_gainccN, eq3_gainccN


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


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


Revision 2217 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jul 26 15:51:30 2011 UTC (5 years, 11 months ago) by iliev
File length: 35202 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) (annotate) - [select for diffs]
Modified Mon Jul 25 17:21:16 2011 UTC (5 years, 11 months ago) by iliev
File length: 35257 byte(s)
Diff to previous 2205
* sfz: added support for sample offset (offset)


Revision 2205 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 17:52:01 2011 UTC (5 years, 11 months ago) by iliev
File length: 35165 byte(s)
Diff to previous 2175
* 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) (annotate) - [select for diffs]
Modified Mon Apr 25 08:12:36 2011 UTC (6 years, 2 months ago) by persson
File length: 31460 byte(s)
Diff to previous 2121
* 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) (annotate) - [select for diffs]
Modified Tue Sep 14 17:09:08 2010 UTC (6 years, 9 months ago) by schoenebeck
File length: 31799 byte(s)
Diff to previous 2115
* 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) (annotate) - [select for diffs]
Modified Thu Aug 12 15:36:15 2010 UTC (6 years, 10 months ago) by persson
File length: 30851 byte(s)
Diff to previous 2114
* 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) (annotate) - [select for diffs]
Modified Tue Aug 10 12:05:19 2010 UTC (6 years, 10 months ago) by persson
File length: 30742 byte(s)
Diff to previous 2061
* sfz engine: improved support for exclusive groups (group, off_by and
  off_mode)
* minor valgrind fixes


Revision 2061 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 23 18:32:31 2010 UTC (7 years, 4 months ago) by persson
File length: 29819 byte(s)
Diff to previous 2055
* sfz engine: added support for trigger=release and rt_decay


Revision 2055 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 30 10:30:02 2010 UTC (7 years, 4 months ago) by persson
File length: 29745 byte(s)
Diff to previous 2045
* 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 2045 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 10 13:22:19 2010 UTC (7 years, 5 months ago) by persson
File length: 30098 byte(s)
Diff to previous 2032
* VST bugfix: If the host called resume() before and after changing
  sample rate or block size, the number of channels was incorrectly
  set to two. This caused silence in Cubase 5.
* removed compiler warnings


Revision 2032 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 20 20:13:08 2009 UTC (7 years, 7 months ago) by persson
File length: 30082 byte(s)
Diff to previous 2015
* bugfix: release samples could cause loud noises


Revision 2015 - (view) (download) (annotate) - [select for diffs]
Added Sun Oct 25 22:22:52 2009 UTC (7 years, 8 months ago) by iliev
File length: 30091 byte(s)
* 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