75 |
EVENT_PAR_3, |
EVENT_PAR_3, |
76 |
}; |
}; |
77 |
|
|
78 |
|
enum { |
79 |
|
CALLBACK_STATUS_TERMINATED = 0, |
80 |
|
CALLBACK_STATUS_QUEUE = 1, |
81 |
|
CALLBACK_STATUS_RUNNING = (1 << 1) |
82 |
|
}; |
83 |
|
|
84 |
namespace LinuxSampler { |
namespace LinuxSampler { |
85 |
|
|
86 |
class AbstractEngineChannel; |
class AbstractEngineChannel; |
275 |
//int m_POLY_AT_NUM; //TODO: ... |
//int m_POLY_AT_NUM; //TODO: ... |
276 |
VMIntRelPtr m_NI_CALLBACK_TYPE; |
VMIntRelPtr m_NI_CALLBACK_TYPE; |
277 |
VMIntRelPtr m_NKSP_IGNORE_WAIT; |
VMIntRelPtr m_NKSP_IGNORE_WAIT; |
278 |
|
VMIntRelPtr m_NKSP_CALLBACK_PARENT_ID; |
279 |
|
|
280 |
// built-in script functions |
// built-in script functions |
281 |
InstrumentScriptVMFunction_play_note m_fnPlayNote; |
InstrumentScriptVMFunction_play_note m_fnPlayNote; |
291 |
InstrumentScriptVMFunction_change_tune m_fnChangeTune; |
InstrumentScriptVMFunction_change_tune m_fnChangeTune; |
292 |
InstrumentScriptVMFunction_change_tune_time m_fnChangeTuneTime; |
InstrumentScriptVMFunction_change_tune_time m_fnChangeTuneTime; |
293 |
InstrumentScriptVMFunction_change_pan m_fnChangePan; |
InstrumentScriptVMFunction_change_pan m_fnChangePan; |
294 |
|
InstrumentScriptVMFunction_change_pan_time m_fnChangePanTime; |
295 |
|
InstrumentScriptVMFunction_change_pan_curve m_fnChangePanCurve; |
296 |
InstrumentScriptVMFunction_change_cutoff m_fnChangeCutoff; |
InstrumentScriptVMFunction_change_cutoff m_fnChangeCutoff; |
297 |
InstrumentScriptVMFunction_change_reso m_fnChangeReso; |
InstrumentScriptVMFunction_change_reso m_fnChangeReso; |
298 |
InstrumentScriptVMFunction_change_attack m_fnChangeAttack; |
InstrumentScriptVMFunction_change_attack m_fnChangeAttack; |
299 |
InstrumentScriptVMFunction_change_decay m_fnChangeDecay; |
InstrumentScriptVMFunction_change_decay m_fnChangeDecay; |
300 |
|
InstrumentScriptVMFunction_change_sustain m_fnChangeSustain; |
301 |
InstrumentScriptVMFunction_change_release m_fnChangeRelease; |
InstrumentScriptVMFunction_change_release m_fnChangeRelease; |
302 |
InstrumentScriptVMFunction_change_amp_lfo_depth m_fnChangeAmpLFODepth; |
InstrumentScriptVMFunction_change_amp_lfo_depth m_fnChangeAmpLFODepth; |
303 |
InstrumentScriptVMFunction_change_amp_lfo_freq m_fnChangeAmpLFOFreq; |
InstrumentScriptVMFunction_change_amp_lfo_freq m_fnChangeAmpLFOFreq; |
304 |
InstrumentScriptVMFunction_change_pitch_lfo_depth m_fnChangePitchLFODepth; |
InstrumentScriptVMFunction_change_pitch_lfo_depth m_fnChangePitchLFODepth; |
305 |
InstrumentScriptVMFunction_change_pitch_lfo_freq m_fnChangePitchLFOFreq; |
InstrumentScriptVMFunction_change_pitch_lfo_freq m_fnChangePitchLFOFreq; |
306 |
|
InstrumentScriptVMFunction_change_note m_fnChangeNote; |
307 |
|
InstrumentScriptVMFunction_change_velo m_fnChangeVelo; |
308 |
|
InstrumentScriptVMFunction_fork m_fnFork; |
309 |
InstrumentScriptVMFunction_event_status m_fnEventStatus; |
InstrumentScriptVMFunction_event_status m_fnEventStatus; |
310 |
InstrumentScriptVMFunction_wait m_fnWait2; |
InstrumentScriptVMFunction_wait m_fnWait2; |
311 |
InstrumentScriptVMFunction_stop_wait m_fnStopWait; |
InstrumentScriptVMFunction_stop_wait m_fnStopWait; |
312 |
|
InstrumentScriptVMFunction_abort m_fnAbort; |
313 |
InstrumentScriptVMFunction_fade_in m_fnFadeIn; |
InstrumentScriptVMFunction_fade_in m_fnFadeIn; |
314 |
InstrumentScriptVMFunction_fade_out m_fnFadeOut; |
InstrumentScriptVMFunction_fade_out m_fnFadeOut; |
315 |
|
InstrumentScriptVMFunction_change_vol_curve m_fnChangeVolCurve; |
316 |
|
InstrumentScriptVMFunction_change_tune_curve m_fnChangeTuneCurve; |
317 |
InstrumentScriptVMFunction_get_event_par m_fnGetEventPar; |
InstrumentScriptVMFunction_get_event_par m_fnGetEventPar; |
318 |
InstrumentScriptVMFunction_set_event_par m_fnSetEventPar; |
InstrumentScriptVMFunction_set_event_par m_fnSetEventPar; |
319 |
|
InstrumentScriptVMFunction_change_play_pos m_fnChangePlayPos; |
320 |
|
InstrumentScriptVMFunction_callback_status m_fnCallbackStatus; |
321 |
InstrumentScriptVMDynVar_ENGINE_UPTIME m_varEngineUptime; |
InstrumentScriptVMDynVar_ENGINE_UPTIME m_varEngineUptime; |
322 |
InstrumentScriptVMDynVar_NI_CALLBACK_ID m_varCallbackID; |
InstrumentScriptVMDynVar_NI_CALLBACK_ID m_varCallbackID; |
323 |
InstrumentScriptVMDynVar_ALL_EVENTS m_varAllEvents; |
InstrumentScriptVMDynVar_ALL_EVENTS m_varAllEvents; |
324 |
|
InstrumentScriptVMDynVar_NKSP_CALLBACK_CHILD_ID m_varCallbackChildID; |
325 |
|
|
326 |
friend class InstrumentScriptVMFunction_play_note; |
friend class InstrumentScriptVMFunction_play_note; |
327 |
friend class InstrumentScriptVMFunction_set_controller; |
friend class InstrumentScriptVMFunction_set_controller; |
336 |
friend class InstrumentScriptVMFunction_change_tune; |
friend class InstrumentScriptVMFunction_change_tune; |
337 |
friend class InstrumentScriptVMFunction_change_tune_time; |
friend class InstrumentScriptVMFunction_change_tune_time; |
338 |
friend class InstrumentScriptVMFunction_change_pan; |
friend class InstrumentScriptVMFunction_change_pan; |
339 |
|
friend class InstrumentScriptVMFunction_change_pan_time; |
340 |
|
friend class InstrumentScriptVMFunction_change_pan_curve; |
341 |
friend class InstrumentScriptVMFunction_change_cutoff; |
friend class InstrumentScriptVMFunction_change_cutoff; |
342 |
friend class InstrumentScriptVMFunction_change_reso; |
friend class InstrumentScriptVMFunction_change_reso; |
343 |
friend class InstrumentScriptVMFunction_change_attack; |
friend class InstrumentScriptVMFunction_change_attack; |
344 |
friend class InstrumentScriptVMFunction_change_decay; |
friend class InstrumentScriptVMFunction_change_decay; |
345 |
friend class InstrumentScriptVMFunction_change_release; |
friend class InstrumentScriptVMFunction_change_release; |
346 |
|
friend class InstrumentScriptVMFunction_change_sustain; |
347 |
friend class VMChangeSynthParamFunction; |
friend class VMChangeSynthParamFunction; |
348 |
friend class InstrumentScriptVMFunction_change_amp_lfo_depth; |
friend class InstrumentScriptVMFunction_change_amp_lfo_depth; |
349 |
friend class InstrumentScriptVMFunction_change_amp_lfo_freq; |
friend class InstrumentScriptVMFunction_change_amp_lfo_freq; |
350 |
friend class InstrumentScriptVMFunction_change_pitch_lfo_depth; |
friend class InstrumentScriptVMFunction_change_pitch_lfo_depth; |
351 |
friend class InstrumentScriptVMFunction_change_pitch_lfo_freq; |
friend class InstrumentScriptVMFunction_change_pitch_lfo_freq; |
352 |
|
friend class VMChangeFadeCurveFunction; |
353 |
friend class InstrumentScriptVMFunction_fade_in; |
friend class InstrumentScriptVMFunction_fade_in; |
354 |
friend class InstrumentScriptVMFunction_fade_out; |
friend class InstrumentScriptVMFunction_fade_out; |
355 |
friend class InstrumentScriptVMFunction_get_event_par; |
friend class InstrumentScriptVMFunction_get_event_par; |
356 |
friend class InstrumentScriptVMFunction_set_event_par; |
friend class InstrumentScriptVMFunction_set_event_par; |
357 |
|
friend class InstrumentScriptVMFunction_change_note; |
358 |
|
friend class InstrumentScriptVMFunction_change_velo; |
359 |
|
friend class InstrumentScriptVMFunction_change_play_pos; |
360 |
friend class InstrumentScriptVMFunction_event_status; |
friend class InstrumentScriptVMFunction_event_status; |
361 |
friend class InstrumentScriptVMFunction_wait; |
friend class InstrumentScriptVMFunction_wait; |
362 |
friend class InstrumentScriptVMFunction_stop_wait; |
friend class InstrumentScriptVMFunction_stop_wait; |
363 |
|
friend class InstrumentScriptVMFunction_abort; |
364 |
|
friend class InstrumentScriptVMFunction_fork; |
365 |
|
friend class InstrumentScriptVMFunction_callback_status; |
366 |
friend class InstrumentScriptVMDynVar_ENGINE_UPTIME; |
friend class InstrumentScriptVMDynVar_ENGINE_UPTIME; |
367 |
friend class InstrumentScriptVMDynVar_NI_CALLBACK_ID; |
friend class InstrumentScriptVMDynVar_NI_CALLBACK_ID; |
368 |
friend class InstrumentScriptVMDynVar_ALL_EVENTS; |
friend class InstrumentScriptVMDynVar_ALL_EVENTS; |
369 |
|
friend class InstrumentScriptVMDynVar_NKSP_CALLBACK_CHILD_ID; |
370 |
}; |
}; |
371 |
|
|
372 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |