16 |
#include "Event.h" |
#include "Event.h" |
17 |
#include "../../common/Pool.h" |
#include "../../common/Pool.h" |
18 |
#include "InstrumentScriptVMFunctions.h" |
#include "InstrumentScriptVMFunctions.h" |
19 |
|
#include "InstrumentScriptVMDynVars.h" |
20 |
|
|
21 |
/** |
/** |
22 |
* Amount of bits on the left hand side of all pool_element_id_t numbers (i.e. |
* Amount of bits on the left hand side of all pool_element_id_t numbers (i.e. |
36 |
|
|
37 |
#define INSTR_SCRIPT_EVENT_GROUPS 28 |
#define INSTR_SCRIPT_EVENT_GROUPS 28 |
38 |
|
|
39 |
|
#define EVENT_STATUS_INACTIVE 0 |
40 |
|
#define EVENT_STATUS_NOTE_QUEUE 1 |
41 |
|
|
42 |
namespace LinuxSampler { |
namespace LinuxSampler { |
43 |
|
|
44 |
class AbstractEngineChannel; |
class AbstractEngineChannel; |
215 |
std::map<String,VMIntRelPtr*> builtInIntVariables() OVERRIDE; |
std::map<String,VMIntRelPtr*> builtInIntVariables() OVERRIDE; |
216 |
std::map<String,VMInt8Array*> builtInIntArrayVariables() OVERRIDE; |
std::map<String,VMInt8Array*> builtInIntArrayVariables() OVERRIDE; |
217 |
std::map<String,int> builtInConstIntVariables() OVERRIDE; |
std::map<String,int> builtInConstIntVariables() OVERRIDE; |
218 |
|
std::map<String,VMDynVar*> builtInDynamicVariables() OVERRIDE; |
219 |
protected: |
protected: |
220 |
ScriptEvent* m_event; ///< The event currently executed by exec(). |
ScriptEvent* m_event; ///< The event currently executed by exec(). |
221 |
|
|
241 |
InstrumentScriptVMFunction_change_vol m_fnChangeVol; |
InstrumentScriptVMFunction_change_vol m_fnChangeVol; |
242 |
InstrumentScriptVMFunction_change_tune m_fnChangeTune; |
InstrumentScriptVMFunction_change_tune m_fnChangeTune; |
243 |
InstrumentScriptVMFunction_change_pan m_fnChangePan; |
InstrumentScriptVMFunction_change_pan m_fnChangePan; |
244 |
|
InstrumentScriptVMFunction_change_cutoff m_fnChangeCutoff; |
245 |
|
InstrumentScriptVMFunction_change_reso m_fnChangeReso; |
246 |
|
InstrumentScriptVMFunction_event_status m_fnEventStatus; |
247 |
|
InstrumentScriptVMDynVar_ENGINE_UPTIME m_varEngineUptime; |
248 |
|
|
249 |
friend class InstrumentScriptVMFunction_play_note; |
friend class InstrumentScriptVMFunction_play_note; |
250 |
friend class InstrumentScriptVMFunction_set_controller; |
friend class InstrumentScriptVMFunction_set_controller; |
257 |
friend class InstrumentScriptVMFunction_change_vol; |
friend class InstrumentScriptVMFunction_change_vol; |
258 |
friend class InstrumentScriptVMFunction_change_tune; |
friend class InstrumentScriptVMFunction_change_tune; |
259 |
friend class InstrumentScriptVMFunction_change_pan; |
friend class InstrumentScriptVMFunction_change_pan; |
260 |
|
friend class InstrumentScriptVMFunction_change_cutoff; |
261 |
|
friend class InstrumentScriptVMFunction_change_reso; |
262 |
|
friend class InstrumentScriptVMFunction_event_status; |
263 |
|
friend class InstrumentScriptVMDynVar_ENGINE_UPTIME; |
264 |
}; |
}; |
265 |
|
|
266 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |