|
virtual void | Reset ()=0 |
|
virtual void | SendNoteOn (uint8_t Key, uint8_t Velocity, uint8_t MidiChannel)=0 |
|
virtual void | SendNoteOn (uint8_t Key, uint8_t Velocity, uint8_t MidiChannel, int32_t FragmentPos)=0 |
|
virtual void | SendNoteOff (uint8_t Key, uint8_t Velocity, uint8_t MidiChannel)=0 |
|
virtual void | SendNoteOff (uint8_t Key, uint8_t Velocity, uint8_t MidiChannel, int32_t FragmentPos)=0 |
|
virtual void | SendPitchbend (int Pitch, uint8_t MidiChannel)=0 |
|
virtual void | SendPitchbend (int Pitch, uint8_t MidiChannel, int32_t FragmentPos)=0 |
|
virtual void | SendControlChange (uint8_t Controller, uint8_t Value, uint8_t MidiChannel)=0 |
|
virtual void | SendControlChange (uint8_t Controller, uint8_t Value, uint8_t MidiChannel, int32_t FragmentPos)=0 |
|
virtual void | SendProgramChange (uint8_t Program)=0 |
|
virtual void | SendChannelPressure (uint8_t Value, uint8_t MidiChannel)=0 |
|
virtual void | SendChannelPressure (uint8_t Value, uint8_t MidiChannel, int32_t FragmentPos)=0 |
|
virtual void | SendPolyphonicKeyPressure (uint8_t Key, uint8_t Value, uint8_t MidiChannel)=0 |
|
virtual void | SendPolyphonicKeyPressure (uint8_t Key, uint8_t Value, uint8_t MidiChannel, int32_t FragmentPos)=0 |
|
virtual bool | StatusChanged (bool bNewStatus=false)=0 |
|
virtual float | Volume ()=0 |
|
virtual void | Volume (float f)=0 |
|
virtual float | Pan ()=0 |
|
virtual void | Pan (float f)=0 |
|
virtual uint | Channels ()=0 |
|
virtual void | Connect (AudioOutputDevice *pAudioOut)=0 |
|
virtual void | DisconnectAudioOutputDevice ()=0 |
|
virtual AudioOutputDevice * | GetAudioOutputDevice ()=0 |
|
virtual void | SetOutputChannel (uint EngineAudioChannel, uint AudioDeviceChannel)=0 |
|
virtual int | OutputChannel (uint EngineAudioChannel)=0 |
|
virtual void | Connect (MidiInputPort *pMidiPort)=0 |
|
virtual void | Disconnect (MidiInputPort *pMidiPort)=0 |
|
virtual void | DisconnectAllMidiInputPorts ()=0 |
|
virtual uint | GetMidiInputPortCount ()=0 |
|
virtual MidiInputPort * | GetMidiInputPort (uint index)=0 |
|
virtual midi_chan_t | MidiChannel ()=0 |
|
virtual void | SetMidiChannel (midi_chan_t MidiChannel)=0 |
|
virtual void | Connect (MidiInputPort *pMidiPort, midi_chan_t MidiChannel) DEPRECATED_API=0 |
|
virtual void | DisconnectMidiInputPort () DEPRECATED_API=0 |
|
virtual MidiInputPort * | GetMidiInputPort () DEPRECATED_API=0 |
|
virtual void | Connect (VirtualMidiDevice *pDevice)=0 |
|
virtual void | Disconnect (VirtualMidiDevice *pDevice)=0 |
|
virtual void | PrepareLoadInstrument (const char *FileName, uint Instrument)=0 |
|
virtual void | LoadInstrument ()=0 |
|
virtual String | InstrumentFileName ()=0 |
| Returns the file name of the currently loaded instrument. Equivalent as calling InstrumentFileName(0).
|
|
virtual String | InstrumentFileName (int index) |
|
virtual String | InstrumentName ()=0 |
|
virtual int | InstrumentIndex ()=0 |
|
virtual int | InstrumentStatus ()=0 |
|
virtual Engine * | GetEngine ()=0 |
|
virtual String | EngineName ()=0 |
|
virtual FxSend * | AddFxSend (uint8_t MidiCtrl, String Name="") throw (Exception) =0 |
|
virtual FxSend * | GetFxSend (uint FxSendIndex)=0 |
|
virtual uint | GetFxSendCount ()=0 |
|
virtual void | RemoveFxSend (FxSend *pFxSend)=0 |
|
void | SetMute (int state) throw (Exception) |
| Sets the mute state of this channel.
|
|
int | GetMute () |
| Determines whether this channel is muted.
|
|
void | SetSolo (bool solo) |
| Sets the solo state of this channel.
|
|
bool | GetSolo () |
| Determines whether this is a solo channel.
|
|
uint8_t | GetMidiProgram () |
| Returns current MIDI program (change) number of this EngineChannel.
|
|
void | SetMidiProgram (uint8_t Program) |
| Change EngineChannel's MIDI program.
|
|
uint8_t | GetMidiBankMsb () |
| Returns current MIDI bank MSB (coarse) number of this EngineChannel.
|
|
void | SetMidiBankMsb (uint8_t BankMSB) |
| Change current MIDI bank MSB (coarse) number of this EngineChannel.
|
|
uint8_t | GetMidiBankLsb () |
| Returns current MIDI bank LSB (fine) number of this EngineChannel.
|
|
void | SetMidiBankLsb (uint8_t BankLSB) |
| Change current MIDI bank LSB (fine) number of this EngineChannel.
|
|
bool | UsesNoMidiInstrumentMap () |
| Returns true if this EngineChannel is using no MIDI instrument map at all, that is if it will ignore all MIDI program change messages.
|
|
bool | UsesDefaultMidiInstrumentMap () |
| Returns true if this EngineChannel is using the default MIDI instrument map for handling MIDI program changes.
|
|
int | GetMidiInstrumentMap () throw (Exception) |
| Returns ID of the MIDI instrument map currently used by this EngineChannel to handle MIDI program changes.
|
|
void | SetMidiInstrumentMapToNone () |
| Let this EngineChannel use no MIDI instrument map at all, that is to let it ignore all MIDI program change messages.
|
|
void | SetMidiInstrumentMapToDefault () |
| Let this EngineChannel use the default MIDI instrument map to handle MIDI program changes.
|
|
void | SetMidiInstrumentMap (int MidiMap) throw (Exception) |
| Set a specific MIDI instrument map this EngineChannel should use to handle MIDI program changes.
|
|
void | SetMidiRpnParameterMsb (uint8_t ParamMSB) |
| Set MIDI Registered Parameter Number (RPN) (upper 7 bits / coarse).
|
|
void | SetMidiRpnParameterLsb (uint8_t ParamLSB) |
| Set MIDI Registered Parameter Number (RPN) (lower 7 bits / fine).
|
|
void | SetMidiRpnDataMsb (uint8_t DataMSB) |
| Set new MSB data value (upper 7 bits / coarse) for currently selected MIDI Registered Parameter Number (RPN).
|
|
void | SetMidiRpnDataLsb (uint8_t DataLSB) |
| Set new LSB data value (lower 7 bits / fine) for currently selected MIDI Registered Parameter Number (RPN).
|
|
void | SetMidiRpnData (int Data) |
| Set new data value (14 bits, MSB and LSB data combined) for currently selected MIDI Registered Parameter Number (RPN).
|
|
void | ResetMidiRpnParameter () |
| Reset to no RPN parameter currently selected.
|
|
void | SetMidiNrpnParameterMsb (uint8_t ParamMSB) |
| Set MIDI Non-Registered Parameter Number (NRPN) (upper 7 bits / coarse).
|
|
void | SetMidiNrpnParameterLsb (uint8_t ParamLSB) |
| Set MIDI Non-Registered Parameter Number (NRPN) (lower 7 bits / fine).
|
|
void | SetMidiNrpnDataMsb (uint8_t DataMSB) |
| Set new MSB data value (upper 7 bits / coarse) for currently selected MIDI Non-Registered Parameter Number (NRPN).
|
|
void | SetMidiNrpnDataLsb (uint8_t DataLSB) |
| Set new LSB data value (lower 7 bits / fine) for currently selected MIDI Non-Registered Parameter Number (NRPN).
|
|
void | SetMidiNrpnData (int Data) |
| Set new data value (14 bits, MSB and LSB data combined) for currently selected MIDI Non-Registered Parameter Number (NRPN).
|
|
void | ResetMidiNrpnParameter () |
| Reset to no NRPN parameter currently selected.
|
|
int | GetMidiRpnParameter () |
| Get currently selected MIDI Registered Parameter Number (RPN), this method will return the already merged 14 bit parameter number (MSB and LSB value combined).
|
|
int | GetMidiRpnData () |
| Get current data value of currently selected MIDI Registered Parameter Number (RPN), this method will return the already merged 14 bit data value (MSB and LSB data values combined).
|
|
int | GetMidiNrpnParameter () |
| Get currently selected MIDI Non-Registered Parameter Number (NRPN), this method will return the already merged 14 bit value (MSB and LSB value combined).
|
|
int | GetMidiNrpnData () |
| Get current data value of currently selected MIDI Non-Registered Parameter Number (NRPN), this method will return the already merged 14 bit data value (MSB and LSB data values combined).
|
|
void | AddFxSendCountListener (FxSendCountListener *l) |
| Registers the specified listener to be notified when the number of effect sends on this channel is changed.
|
|
void | RemoveFxSendCountListener (FxSendCountListener *l) |
| Removes the specified listener.
|
|
void | RemoveAllFxSendCountListeners () |
| Removes all listeners.
|
|
uint | GetVoiceCount () |
| Gets the current number of active voices.
|
|
void | SetVoiceCount (uint Voices) |
| Sets the current number of active voices.
|
|
uint | GetDiskStreamCount () |
| Gets the current number of active disk streams.
|
|
void | SetDiskStreamCount (uint Streams) |
| Sets the current number of active disk streams.
|
|
SamplerChannel * | GetSamplerChannel () |
|
void | SetSamplerChannel (SamplerChannel *pChannel) |
|
Sampler * | GetSampler () |
| Returns the sampler to which this channel belongs.
|
|
void | ExecuteProgramChange (uint32_t Program) |
| Performs a program change on the channel.
|
|
void | SetMidiRpnControllerMsb (uint8_t CtrlMSB) DEPRECATED_API |
| Set MIDI Registered Parameter Number (RPN) Controller (upper 8 bits / coarse).
|
|
void | SetMidiRpnControllerLsb (uint8_t CtrlLSB) DEPRECATED_API |
| Set MIDI Registered Parameter Number (RPN) Controller (lower 8 bits / fine).
|
|
void | ResetMidiRpnController () DEPRECATED_API |
| Reset to no RPN controller currently selected.
|
|
void | SetMidiNrpnControllerMsb (uint8_t CtrlMSB) DEPRECATED_API |
| Set MIDI Non-Registered Parameter Number (NRPN) Controller (upper 8 bits / coarse).
|
|
void | SetMidiNrpnControllerLsb (uint8_t CtrlLSB) DEPRECATED_API |
| Set MIDI Non-Registered Parameter Number (NRPN) Controller (lower 8 bits / fine).
|
|
void | ResetMidiNrpnController () DEPRECATED_API |
| Reset to no NRPN controller currently selected.
|
|
int | GetMidiRpnController () DEPRECATED_API |
| Get currently selected MIDI Registered Parameter Number (RPN) Controller, this method will return the already merged value (MSB and LSB value).
|
|
int | GetMidiNrpnController () DEPRECATED_API |
| Get currently selected MIDI Non-Registered Parameter Number (NRPN) Controller, this method will return the already merged value (MSB and LSB value).
|
|
Channel Interface for LinuxSampler Sampler Engines.
Every sampler engine can be used on several sampler channels and usually the same Engine instance is used on multiple sampler channels. For this every sampler engine must also implement a class which handles all channel dependant parameters and channel dependant execution code.
This abstract base interface class defines all mandatory methods which have to be implemented by all engine channel implementations.
Definition at line 54 of file EngineChannel.h.