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

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVM.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3293 by schoenebeck, Tue Jun 27 22:19:19 2017 UTC revision 3316 by schoenebeck, Thu Jul 20 12:05:53 2017 UTC
# Line 234  namespace LinuxSampler { Line 234  namespace LinuxSampler {
234          m_fnChangeVol(this), m_fnChangeVolTime(this),          m_fnChangeVol(this), m_fnChangeVolTime(this),
235          m_fnChangeTune(this), m_fnChangeTuneTime(this), m_fnChangePan(this),          m_fnChangeTune(this), m_fnChangeTuneTime(this), m_fnChangePan(this),
236          m_fnChangeCutoff(this), m_fnChangeReso(this),  m_fnChangeAttack(this),          m_fnChangeCutoff(this), m_fnChangeReso(this),  m_fnChangeAttack(this),
237          m_fnChangeDecay(this), m_fnChangeRelease(this),          m_fnChangeDecay(this), m_fnChangeSustain(this), m_fnChangeRelease(this),
238          m_fnChangeAmpLFODepth(this), m_fnChangeAmpLFOFreq(this),          m_fnChangeAmpLFODepth(this), m_fnChangeAmpLFOFreq(this),
239          m_fnChangePitchLFODepth(this), m_fnChangePitchLFOFreq(this),          m_fnChangePitchLFODepth(this), m_fnChangePitchLFOFreq(this),
240          m_fnChangeNote(this), m_fnChangeVelo(this), m_fnFork(this),          m_fnChangeNote(this), m_fnChangeVelo(this), m_fnFork(this),
# Line 242  namespace LinuxSampler { Line 242  namespace LinuxSampler {
242          m_fnAbort(this), m_fnFadeIn(this), m_fnFadeOut(this),          m_fnAbort(this), m_fnFadeIn(this), m_fnFadeOut(this),
243          m_fnChangeVolCurve(this), m_fnChangeTuneCurve(this),          m_fnChangeVolCurve(this), m_fnChangeTuneCurve(this),
244          m_fnGetEventPar(this), m_fnSetEventPar(this), m_fnChangePlayPos(this),          m_fnGetEventPar(this), m_fnSetEventPar(this), m_fnChangePlayPos(this),
245            m_fnCallbackStatus(this),
246          m_varEngineUptime(this), m_varCallbackID(this), m_varAllEvents(this),          m_varEngineUptime(this), m_varCallbackID(this), m_varAllEvents(this),
247          m_varCallbackChildID(this)          m_varCallbackChildID(this)
248      {      {
# Line 364  namespace LinuxSampler { Line 365  namespace LinuxSampler {
365          m["$EVENT_PAR_3"] = EVENT_PAR_3;          m["$EVENT_PAR_3"] = EVENT_PAR_3;
366          m["$NKSP_LINEAR"] = FADE_CURVE_LINEAR;          m["$NKSP_LINEAR"] = FADE_CURVE_LINEAR;
367          m["$NKSP_EASE_IN_EASE_OUT"] = FADE_CURVE_EASE_IN_EASE_OUT;          m["$NKSP_EASE_IN_EASE_OUT"] = FADE_CURVE_EASE_IN_EASE_OUT;
368            m["$CALLBACK_STATUS_TERMINATED"] = CALLBACK_STATUS_TERMINATED;
369            m["$CALLBACK_STATUS_QUEUE"]      = CALLBACK_STATUS_QUEUE;
370            m["$CALLBACK_STATUS_RUNNING"]    = CALLBACK_STATUS_RUNNING;
371    
372          return m;          return m;
373      }      }
# Line 401  namespace LinuxSampler { Line 405  namespace LinuxSampler {
405          else if (name == "change_reso") return &m_fnChangeReso;          else if (name == "change_reso") return &m_fnChangeReso;
406          else if (name == "change_attack") return &m_fnChangeAttack;          else if (name == "change_attack") return &m_fnChangeAttack;
407          else if (name == "change_decay") return &m_fnChangeDecay;          else if (name == "change_decay") return &m_fnChangeDecay;
408            else if (name == "change_sustain") return &m_fnChangeSustain;
409          else if (name == "change_release") return &m_fnChangeRelease;          else if (name == "change_release") return &m_fnChangeRelease;
410          else if (name == "change_amp_lfo_depth") return &m_fnChangeAmpLFODepth;          else if (name == "change_amp_lfo_depth") return &m_fnChangeAmpLFODepth;
411          else if (name == "change_amp_lfo_freq") return &m_fnChangeAmpLFOFreq;          else if (name == "change_amp_lfo_freq") return &m_fnChangeAmpLFOFreq;
# Line 418  namespace LinuxSampler { Line 423  namespace LinuxSampler {
423          else if (name == "stop_wait") return &m_fnStopWait;          else if (name == "stop_wait") return &m_fnStopWait;
424          else if (name == "abort") return &m_fnAbort;          else if (name == "abort") return &m_fnAbort;
425          else if (name == "fork") return &m_fnFork;          else if (name == "fork") return &m_fnFork;
426            else if (name == "callback_status") return &m_fnCallbackStatus;
427    
428          // built-in script functions of derived VM class          // built-in script functions of derived VM class
429          return ScriptVM::functionByName(name);          return ScriptVM::functionByName(name);

Legend:
Removed from v.3293  
changed lines
  Added in v.3316

  ViewVC Help
Powered by ViewVC