1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
4 |
* * |
* * |
5 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
6 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
225 |
*/ |
*/ |
226 |
void SetMidiInstrumentMap(int MidiMap) throw (Exception); |
void SetMidiInstrumentMap(int MidiMap) throw (Exception); |
227 |
|
|
228 |
|
/** |
229 |
|
* Set MIDI Registered Parameter Number (RPN) Controller |
230 |
|
* (upper 8 bits / coarse). |
231 |
|
*/ |
232 |
|
void SetMidiRpnControllerMsb(uint8_t CtrlMSB); |
233 |
|
|
234 |
|
/** |
235 |
|
* Set MIDI Registered Parameter Number (RPN) Controller |
236 |
|
* (lower 8 bits / fine). |
237 |
|
*/ |
238 |
|
void SetMidiRpnControllerLsb(uint8_t CtrlLSB); |
239 |
|
|
240 |
|
/** |
241 |
|
* Get currently selected MIDI Registered Parameter Number |
242 |
|
* (RPN) Controller, this method will return the already merged |
243 |
|
* value (MSB and LSB value). |
244 |
|
*/ |
245 |
|
int GetMidiRpnController(); |
246 |
|
|
247 |
int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM) |
int iSamplerChannelIndex; ///< FIXME: nasty hack, might be removed (should be 'virtual EngineChannel* EngineChannel() = 0;', but due to cyclic dependencies only a void* solution would be possible ATM) |
248 |
|
|
249 |
protected: |
protected: |
257 |
uint8_t uiMidiProgram; |
uint8_t uiMidiProgram; |
258 |
uint8_t uiMidiBankMsb; |
uint8_t uiMidiBankMsb; |
259 |
uint8_t uiMidiBankLsb; |
uint8_t uiMidiBankLsb; |
260 |
|
uint8_t uiMidiRpnMsb; ///< MIDI Registered Parameter Number (upper 8 bits / coarse) |
261 |
|
uint8_t uiMidiRpnLsb; ///< MIDI Registered Parameter Number (lower 8 bits / fine) |
262 |
bool bMidiBankMsbReceived; |
bool bMidiBankMsbReceived; |
263 |
bool bMidiBankLsbReceived; |
bool bMidiBankLsbReceived; |
264 |
bool bProgramChangeReceived; |
bool bProgramChangeReceived; |