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

Log of /linuxsampler/trunk/src/engines/sfz/sfz.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2856 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 6 10:02:40 2016 UTC (22 months, 2 weeks ago) by persson
File length: 105383 byte(s)
Diff to previous 2533
* sfz engine: added support for <global>, <master> and #define (patch
  by Alby M)


Revision 2533 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 8 09:04:42 2014 UTC (3 years, 8 months ago) by persson
File length: 98854 byte(s)
Diff to previous 2529
* sfz parser bugfix: generation of velocity curves etc should not be
  done after each "#include", only after the main file is parsed
* sfz parser bugfix: line numbers in error messages were wrong after
  "#include"
* disabled build of LSCP shell on windows


Revision 2529 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 4 20:41:47 2014 UTC (3 years, 8 months ago) by schoenebeck
File length: 98782 byte(s)
Diff to previous 2403
* SFZ format: Added support for "#include" instruction (modified patch
  which was originally posted by Sergey on LS mailing list).
* Bumped version (1.0.0.svn34).


Revision 2403 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 20 19:01:53 2013 UTC (4 years, 10 months ago) by persson
File length: 97782 byte(s)
Diff to previous 2382
* sfz parser bugfix: lines starting with whitespace were ignored
* sfz engine: added amplitude opcode


Revision 2382 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 2 16:30:42 2012 UTC (4 years, 11 months ago) by persson
File length: 97640 byte(s)
Diff to previous 2317
* 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 2317 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 19 12:13:19 2012 UTC (5 years, 9 months ago) by persson
File length: 97640 byte(s)
Diff to previous 2315
* sfz engine bugfix: looping was disabled if loop_start was set to 0
* sfz engine: allow regions with end=-1 to turn off other regions
  using the group and off_by opcodes (#168)
* sfz engine: made end=0 play the whole sample
* sfz engine: fixed support for lochan and hichan opcodes (#155)
* bumped version to 1.0.0.svn17


Revision 2315 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 17 19:55:33 2012 UTC (5 years, 9 months ago) by persson
File length: 97731 byte(s)
Diff to previous 2311
* sfz engine bugfix: only the first amp_veltrack definition in a file
  was used


Revision 2311 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 11 11:08:09 2012 UTC (5 years, 9 months ago) by persson
File length: 98029 byte(s)
Diff to previous 2299
* more LV2 "state" extension support fixes (patch by David Robillard)
* sfz parser: allow double spaces in sample filenames
* sfz parser: allow absolute paths for sample filenames
* MME driver: fixed memory handling bug found with cppcheck
* sfz/sf2 engines: use linear decay and release for filter and pitch
  envelope generators


Revision 2299 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 11 20:50:31 2011 UTC (5 years, 11 months ago) by iliev
File length: 97599 byte(s)
Diff to previous 2265
* 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 2265 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 12:22:34 2011 UTC (6 years, 3 months ago) by iliev
File length: 86240 byte(s)
Diff to previous 2264
* sfz engine: implemented opcodes volume_stepccN, pan_stepccN,
  cutoff_stepccN, resonance_stepccN, lfoN_freq_stepccX,
  lfoN_volume_stepccX, lfoN_pitch_stepccX, lfoN_pan_stepccX,
  lfoN_cutoff_stepccX, lfoN_resonance_stepccX


Revision 2264 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 22 10:00:01 2011 UTC (6 years, 3 months ago) by iliev
File length: 83011 byte(s)
Diff to previous 2253
* sfz engine: implemented opcodes pitch_onccN,
  pitch_curveccN, pitch_smoothccN, pitch_stepccN


Revision 2253 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 20 15:54:07 2011 UTC (6 years, 3 months ago) by iliev
File length: 81414 byte(s)
Diff to previous 2252
* sfz engine: implemented opcodes fillfo_depthchanaft,
  fillfo_freqchanaft, amplfo_depthchanaft, amplfo_freqchanaft,
  pitchlfo_depthchanaft, pitchlfo_freqchanaft


Revision 2252 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 20 14:01:36 2011 UTC (6 years, 3 months ago) by iliev
File length: 80613 byte(s)
Diff to previous 2251
* sfz engine: implemented opcodes resonance_onccN, resonance_smoothccN,
  resonance_curveccN, cutoff_smoothccN, cutoff_curveccN


Revision 2251 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 20 10:38:31 2011 UTC (6 years, 3 months ago) by iliev
File length: 79203 byte(s)
Diff to previous 2250
* sfz engine: *lfo_freqccN wasn't working when the respective *lfo_freq
  was not set or was set to zero
* sfz engine: lfoN_freq_onccX wasn't working when lfoN_freq
  was not set or was set to zero


Revision 2250 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 20 07:39:49 2011 UTC (6 years, 3 months ago) by iliev
File length: 79192 byte(s)
Diff to previous 2249
* sfz engine: implemented automatic aliasing *ccN <-> *_onccN


Revision 2249 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 18:29:29 2011 UTC (6 years, 3 months ago) by iliev
File length: 79356 byte(s)
Diff to previous 2248
* sfz engine: implemented opcodes fileg_delay_onccN,
  fileg_start_onccN, fileg_attack_onccN, fileg_hold_onccN,
  fileg_decay_onccN, fileg_sustain_onccN, fileg_release_onccN,
  fileg_depth_onccN, pitcheg_delay_onccN, pitcheg_start_onccN,
  pitcheg_attack_onccN, pitcheg_hold_onccN, pitcheg_decay_onccN,
  pitcheg_sustain_onccN, pitcheg_release_onccN, pitcheg_depth_onccN


Revision 2248 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 19 15:51:18 2011 UTC (6 years, 3 months ago) by iliev
File length: 75518 byte(s)
Diff to previous 2237
* sfz engine: implemented opcodes amplfo_delay_onccN,
  amplfo_fade_onccN, fillfo_delay_onccN, fillfo_fade_onccN,
  pitchlfo_delay_onccN, pitchlfo_fade_onccN


Revision 2237 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 12 13:07:05 2011 UTC (6 years, 3 months ago) by iliev
File length: 74142 byte(s)
Diff to previous 2236
* sfz engine: implemented opcodes pan_onccN, pan_smoothccN,
  pan_curveccN, egN_pan, egN_pan_curve, egN_pan_onccX,
  egN_pan_curveccX, pitch_veltrack
* sfz engine: when failed to parse a sfz file
  print the line number on which the error occurs


Revision 2236 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 11 18:25:45 2011 UTC (6 years, 3 months ago) by iliev
File length: 71778 byte(s)
Diff to previous 2235
* sfz engine: implemented opcodes xfin_lokey, xfin_hikey,
  xfout_lokey, xfout_hikey, xf_keycurve, xfin_lovel, xfin_hivel,
  xfout_lovel, xfout_hivel, xf_velcurve, xfin_loccN, xfin_hiccN,
  xfout_loccN, xfout_hiccN, xf_cccurve


Revision 2235 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 10 19:40:39 2011 UTC (6 years, 3 months ago) by iliev
File length: 71782 byte(s)
Diff to previous 2234
* sfz engine: implemented opcodes egN_amplitude_onccX,
  egN_volume, egN_volume_onccX, egN_cutoff, egN_cutoff_onccX,
  egN_pitch, egN_pitch_onccX, egN_resonance, egN_resonance_onccX


Revision 2234 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 9 18:27:58 2011 UTC (6 years, 3 months ago) by iliev
File length: 70423 byte(s)
Diff to previous 2233
* sfz engine: implemented opcode end


Revision 2233 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 8 18:46:19 2011 UTC (6 years, 3 months ago) by iliev
File length: 70494 byte(s)
Diff to previous 2232
* sfz engine: implemented opcodes fillfo_depthccN, amplfo_depthccN,
  lfoN_volume, lfoN_volume_onccX, lfoN_volume_smoothccX,
  lfoN_freq_smoothccX, lfoN_pitch_smoothccX, lfoN_pan_onccX,
  lfoN_pan_smoothccX, lfoN_cutoff_onccX, lfoN_cutoff_smoothccX,
  lfoN_resonance_onccX, lfoN_resonance_smoothccX, lfoN_delay_onccX


Revision 2232 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 8 13:40:04 2011 UTC (6 years, 3 months ago) by iliev
File length: 67015 byte(s)
Diff to previous 2231
* sfz engine: implemented opcode volume_smoothccN


Revision 2231 - (view) (download) (annotate) - [select for diffs]
Modified Sun Aug 7 14:27:24 2011 UTC (6 years, 3 months ago) by iliev
File length: 66284 byte(s)
Diff to previous 2230
* sfz engine: some group opcodes were not reset on next group


Revision 2230 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 17:59:10 2011 UTC (6 years, 3 months ago) by iliev
File length: 65784 byte(s)
Diff to previous 2229
* sfz engine: implemented curves
* sfz engine: implemented opcodes volume_onccN, volume_curveccN


Revision 2229 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 4 19:02:36 2011 UTC (6 years, 3 months ago) by iliev
File length: 63844 byte(s)
Diff to previous 2227
* sfz engine: implemented opcodes ampeg_delayccN, ampeg_startccN,
  ampeg_attackccN, ampeg_holdccN, ampeg_decayccN, ampeg_sustainccN,
  ampeg_releaseccN, egN_timeX_onccY, egN_levelX_onccY
* sfz engine: lfoN_* and egN_* opcodes defined
  in group sections are now taken into account


Revision 2227 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 3 17:11:40 2011 UTC (6 years, 3 months ago) by iliev
File length: 60696 byte(s)
Diff to previous 2226
* sfz engine: implemented opcodes fillfo_freqccN,
  pitchlfo_freqccN, amplfo_freqccN, lfoN_freq_onccX


Revision 2226 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 3 09:12:09 2011 UTC (6 years, 3 months ago) by iliev
File length: 59999 byte(s)
Diff to previous 2225
* sfz engine: implemented opcodes pitchlfo_fade,
  fillfo_fade, amplfo_fade, lfoN_fade, lfoN_fade_onccX


Revision 2225 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 2 13:44:57 2011 UTC (6 years, 3 months ago) by iliev
File length: 59763 byte(s)
Diff to previous 2224
* sfz engine: implemented opcodes lfoN_phase, lfoN_phase_onccX,
  lfoN_pitch, lfoN_pitch_onccX


Revision 2224 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 1 19:08:09 2011 UTC (6 years, 3 months ago) by iliev
File length: 59389 byte(s)
Diff to previous 2222
* implemented opcode pitchlfo_depthccN


Revision 2222 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 28 18:24:12 2011 UTC (6 years, 3 months ago) by iliev
File length: 59172 byte(s)
Diff to previous 2221
* sfz engine: implemented opcodes fileg_delay, fileg_start, fileg_attack,
  fileg_hold, fileg_decay, fileg_sustain, fileg_release, fileg_vel2delay,
  fileg_vel2attack, fileg_vel2hold, fileg_vel2decay, fileg_vel2sustain,
  fileg_vel2release
* bumped version to 1.0.0.cvs13


Revision 2221 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 28 17:17:42 2011 UTC (6 years, 3 months ago) by iliev
File length: 57919 byte(s)
Diff to previous 2220
* sfz engine: implemented opcodes pitchlfo_delay, pitchlfo_freq,
  pitchlfo_depth, fillfo_delay, fillfo_freq, fillfo_depth,
  amplfo_delay, amplfo_freq, amplfo_depth


Revision 2220 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 28 15:47:51 2011 UTC (6 years, 3 months ago) by iliev
File length: 57812 byte(s)
Diff to previous 2218
* sfz engine: implemented opcodes ampeg_delay, ampeg_vel2delay
  pitcheg_delay, pitcheg_start, pitcheg_attack, pitcheg_hold,
  pitcheg_decay, pitcheg_sustain, pitcheg_release, pitcheg_vel2delay,
  pitcheg_vel2attack, pitcheg_vel2hold, pitcheg_vel2decay,
  pitcheg_vel2sustain, pitcheg_vel2release, pitcheg_depth


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


Revision 2216 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 25 17:21:16 2011 UTC (6 years, 3 months ago) by iliev
File length: 54643 byte(s)
Diff to previous 2176
* sfz: added support for sample offset (offset)


Revision 2176 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 1 15:19:38 2011 UTC (6 years, 6 months ago) by persson
File length: 54042 byte(s)
Diff to previous 2175
* sfz engine: added support for velocity effect on amplifier envelope
  time (ampeg_vel2attack, ampeg_vel2decay, ampeg_vel2sustain and
  ampeg_vel2release)


Revision 2175 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 08:12:36 2011 UTC (6 years, 6 months ago) by persson
File length: 53010 byte(s)
Diff to previous 2167
* 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 2167 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 21 17:34:36 2011 UTC (6 years, 9 months ago) by persson
File length: 52883 byte(s)
Diff to previous 2115
* sfz engine: use loop markers from sample file if loop_start and
  loop_end are not set in sfz file


Revision 2115 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 15:36:15 2010 UTC (7 years, 3 months ago) by persson
File length: 52896 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 (7 years, 3 months ago) by persson
File length: 54700 byte(s)
Diff to previous 2106
* sfz engine: improved support for exclusive groups (group, off_by and
  off_mode)
* minor valgrind fixes


Revision 2106 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jul 4 12:50:51 2010 UTC (7 years, 4 months ago) by persson
File length: 54718 byte(s)
Diff to previous 2101
* sfz engine: optimized sample lookup
* sfz engine: fixed bug introduced in previous commit: sample lookup
  returned wrong sample


Revision 2101 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 30 11:40:31 2010 UTC (7 years, 5 months ago) by persson
File length: 54884 byte(s)
Diff to previous 2091
* sfz/sf2 engines: RT-safeness: avoid malloc in audio thread
* sfz/sf2 engines: fixed a bug that could cause voice stealing to fail


Revision 2091 - (view) (download) (annotate) - [select for diffs]
Modified Sat May 15 09:02:31 2010 UTC (7 years, 6 months ago) by persson
File length: 56201 byte(s)
Diff to previous 2086
* sfz engine: reduced memory usage for sfz data


Revision 2086 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 25 12:51:30 2010 UTC (7 years, 6 months ago) by persson
File length: 56493 byte(s)
Diff to previous 2082
* sfz engine: added support for transpose
* sfz engine: fixed crash when using sw_down/up
* sfz engine: improved logic for sw_lokey/hikey/up/down/last
* sfz parser: added more v1 aliases
* fixed building with newer MinGW-w64


Revision 2082 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 11 10:20:24 2010 UTC (7 years, 7 months ago) by persson
File length: 56336 byte(s)
Diff to previous 2072
* sfz engine: added support for amp_veltrack and amp_velcurve_N.
  Fine-tuned the default velocity curve.


Revision 2072 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 20 11:37:52 2010 UTC (7 years, 8 months ago) by persson
File length: 55000 byte(s)
Diff to previous 2058
* sfz engine: added support for random, seq_position, seq_length and
  volume
* sfz parser: added v1 LFO opcodes (no support in engine yet)


Revision 2058 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 14 11:40:49 2010 UTC (7 years, 9 months ago) by persson
File length: 53064 byte(s)
Diff to previous 2055
* sfz/sf2 engines: fixed memory leak and memory handling errors
* sfz engine: added support for sw_trigger=first, sw_trigger=legato
  and sw_previous
* sfz parser: allow non-numerical key values ("C#4" for example)
* sfz engine: "key" opcode now sets pitch_keycenter too
* sfz engine: fixed error when unloading instrument with same sample
  used by multiple regions
* sfz parser: added some opcode aliases, like loopmode for loop_mode,
  to be more compatible


Revision 2055 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 30 10:30:02 2010 UTC (7 years, 9 months ago) by persson
File length: 52468 byte(s)
Diff to previous 2027
* 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 2027 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 3 19:27:42 2009 UTC (8 years ago) by iliev
File length: 50896 byte(s)
Diff to previous 2021
* sfz engine: support for exclusive groups
* sf2 engine: support for exclusive groups
* sf2 engine: manage presets only
* sf2 engine: preset regions are now taken into account


Revision 2021 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 30 16:36:20 2009 UTC (8 years ago) by iliev
File length: 50900 byte(s)
Diff to previous 2018
* sfz engine: loop support
* sf2 engine: 24bit support
* sf2 engine: loop support
* sf2 engine: instrument unloading


Revision 2018 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 27 19:04:57 2009 UTC (8 years ago) by iliev
File length: 50192 byte(s)
Diff to previous 2012
* SFZ format engine: Implemented sfz version 1
   Filter EG, Amplifier EG and Pitch EG
* use SF2 file loader from libgig


Revision 2012 - (view) (download) (annotate) - [select for diffs]
Added Fri Oct 23 17:53:17 2009 UTC (8 years, 1 month ago) by iliev
File length: 46659 byte(s)
* Refactoring: moved the independent code from
  the Gigasampler format engine to base classes
* SFZ format engine: experimental code (not usable yet)
* SoundFont format engine: experimental code (not usable yet)
* Fixed crash which may occur when MIDI key + transpose is out of range


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