38 |
protected: |
protected: |
39 |
ScriptEvent* m_event; ///< The event currently executed by exec(). |
ScriptEvent* m_event; ///< The event currently executed by exec(). |
40 |
|
|
|
Event* m_cause; |
|
|
|
|
41 |
// buil-in script variables |
// buil-in script variables |
42 |
VMInt8Array m_CC; |
VMInt8Array m_CC; |
43 |
VMInt8RelPtr m_CC_NUM; |
VMInt8RelPtr m_CC_NUM; |
44 |
|
VMIntRelPtr m_EVENT_ID; |
45 |
VMInt8RelPtr m_EVENT_NOTE; |
VMInt8RelPtr m_EVENT_NOTE; |
46 |
VMInt8RelPtr m_EVENT_VELOCITY; |
VMInt8RelPtr m_EVENT_VELOCITY; |
47 |
//VMIntArray m_KEY_DOWN; //TODO: ... |
//VMIntArray m_KEY_DOWN; //TODO: ... |
50 |
|
|
51 |
// buil-in script functions |
// buil-in script functions |
52 |
InstrumentScriptVMFunction_play_note m_fnPlayNote; |
InstrumentScriptVMFunction_play_note m_fnPlayNote; |
53 |
|
InstrumentScriptVMFunction_set_controller m_fnSetController; |
54 |
|
InstrumentScriptVMFunction_ignore_event m_fnIgnoreEvent; |
55 |
|
InstrumentScriptVMFunction_ignore_controller m_fnIgnoreController; |
56 |
|
|
57 |
friend class InstrumentScriptVMFunction_play_note; |
friend class InstrumentScriptVMFunction_play_note; |
58 |
|
friend class InstrumentScriptVMFunction_set_controller; |
59 |
|
friend class InstrumentScriptVMFunction_ignore_event; |
60 |
|
friend class InstrumentScriptVMFunction_ignore_controller; |
61 |
}; |
}; |
62 |
|
|
63 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |