1 |
/* |
/* |
2 |
* Copyright (c) 2014 Christian Schoenebeck |
* Copyright (c) 2014 - 2016 Christian Schoenebeck |
3 |
* |
* |
4 |
* http://www.linuxsampler.org |
* http://www.linuxsampler.org |
5 |
* |
* |
129 |
VMFnResult* successResult(EventGroup* eventGroup); |
VMFnResult* successResult(EventGroup* eventGroup); |
130 |
}; |
}; |
131 |
|
|
132 |
|
class InstrumentScriptVMFunction_change_vol : public VMEmptyResultFunction { |
133 |
|
public: |
134 |
|
InstrumentScriptVMFunction_change_vol(InstrumentScriptVM* parent); |
135 |
|
int minRequiredArgs() const { return 2; } |
136 |
|
int maxAllowedArgs() const { return 3; } |
137 |
|
bool acceptsArgType(int iArg, ExprType_t type) const; |
138 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
139 |
|
VMFnResult* exec(VMFnArgs* args); |
140 |
|
protected: |
141 |
|
InstrumentScriptVM* m_vm; |
142 |
|
}; |
143 |
|
|
144 |
|
class InstrumentScriptVMFunction_change_tune : public VMEmptyResultFunction { |
145 |
|
public: |
146 |
|
InstrumentScriptVMFunction_change_tune(InstrumentScriptVM* parent); |
147 |
|
int minRequiredArgs() const { return 2; } |
148 |
|
int maxAllowedArgs() const { return 3; } |
149 |
|
bool acceptsArgType(int iArg, ExprType_t type) const; |
150 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
151 |
|
VMFnResult* exec(VMFnArgs* args); |
152 |
|
protected: |
153 |
|
InstrumentScriptVM* m_vm; |
154 |
|
}; |
155 |
|
|
156 |
|
class InstrumentScriptVMFunction_change_pan : public VMEmptyResultFunction { |
157 |
|
public: |
158 |
|
InstrumentScriptVMFunction_change_pan(InstrumentScriptVM* parent); |
159 |
|
int minRequiredArgs() const { return 2; } |
160 |
|
int maxAllowedArgs() const { return 3; } |
161 |
|
bool acceptsArgType(int iArg, ExprType_t type) const; |
162 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
163 |
|
VMFnResult* exec(VMFnArgs* args); |
164 |
|
protected: |
165 |
|
InstrumentScriptVM* m_vm; |
166 |
|
}; |
167 |
|
|
168 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |
169 |
|
|
170 |
#endif // LS_INSTRSCRIPTVMFUNCTIONS_H |
#endif // LS_INSTRSCRIPTVMFUNCTIONS_H |