/[svn]/linuxsampler/trunk/src/engines/gig/EngineChannel.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/EngineChannel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 840 by persson, Sun Feb 26 13:00:08 2006 UTC revision 947 by schoenebeck, Mon Nov 27 21:34:55 2006 UTC
# Line 29  Line 29 
29  #endif // DEBUG_HEADERS  #endif // DEBUG_HEADERS
30    
31  #include "../common/Event.h"  #include "../common/Event.h"
32  #include "../common/EngineChannel.h"  #include "../EngineChannel.h"
33  #include "../../common/RingBuffer.h"  #include "../../common/RingBuffer.h"
34  #include "EngineGlobals.h"  #include "EngineGlobals.h"
35  #include "Engine.h"  #include "Engine.h"
# Line 57  namespace LinuxSampler { namespace gig { Line 57  namespace LinuxSampler { namespace gig {
57              virtual void    LoadInstrument();              virtual void    LoadInstrument();
58              virtual void    Reset();              virtual void    Reset();
59              virtual void    SendNoteOn(uint8_t Key, uint8_t Velocity);              virtual void    SendNoteOn(uint8_t Key, uint8_t Velocity);
60                virtual void    SendNoteOn(uint8_t Key, uint8_t Velocity, int32_t FragmentPos);
61              virtual void    SendNoteOff(uint8_t Key, uint8_t Velocity);              virtual void    SendNoteOff(uint8_t Key, uint8_t Velocity);
62                virtual void    SendNoteOff(uint8_t Key, uint8_t Velocity, int32_t FragmentPos);
63              virtual void    SendPitchbend(int Pitch);              virtual void    SendPitchbend(int Pitch);
64                virtual void    SendPitchbend(int Pitch, int32_t FragmentPos);
65              virtual void    SendControlChange(uint8_t Controller, uint8_t Value);              virtual void    SendControlChange(uint8_t Controller, uint8_t Value);
66                virtual void    SendControlChange(uint8_t Controller, uint8_t Value, int32_t FragmentPos);
67              virtual bool    StatusChanged(bool bNewStatus = false);              virtual bool    StatusChanged(bool bNewStatus = false);
68              virtual float   Volume();              virtual float   Volume();
69              virtual void    Volume(float f);              virtual void    Volume(float f);
# Line 94  namespace LinuxSampler { namespace gig { Line 98  namespace LinuxSampler { namespace gig {
98              midi_chan_t             midiChannel;              ///< MIDI channel(s) on which this engine channel listens to.              midi_chan_t             midiChannel;              ///< MIDI channel(s) on which this engine channel listens to.
99              RingBuffer<Event>*      pEventQueue;              ///< Input event queue.              RingBuffer<Event>*      pEventQueue;              ///< Input event queue.
100              RTList<Event>*          pEvents;                  ///< All engine channel specific events for the current audio fragment.              RTList<Event>*          pEvents;                  ///< All engine channel specific events for the current audio fragment.
101              uint8_t                 ControllerTable[128];     ///< Reflects the current values (0-127) of all MIDI controllers for this engine / sampler channel.              uint8_t                 ControllerTable[129];     ///< Reflects the current values (0-127) of all MIDI controllers for this engine / sampler channel. Number 128 is for channel pressure (mono aftertouch).
102              midi_key_info_t*        pMIDIKeyInfo;             ///< Contains all active voices sorted by MIDI key number and other informations to the respective MIDI key              midi_key_info_t*        pMIDIKeyInfo;             ///< Contains all active voices sorted by MIDI key number and other informations to the respective MIDI key
103              Pool<uint>*             pActiveKeys;              ///< Holds all keys in it's allocation list with active voices.              Pool<uint>*             pActiveKeys;              ///< Holds all keys in it's allocation list with active voices.
104              std::map<uint,uint*>    ActiveKeyGroups;          ///< Contains active keys (in case they belong to a key group) ordered by key group ID.              std::map<uint,uint*>    ActiveKeyGroups;          ///< Contains active keys (in case they belong to a key group) ordered by key group ID.
# Line 106  namespace LinuxSampler { namespace gig { Line 110  namespace LinuxSampler { namespace gig {
110              bool                    PortamentoMode;           ///< in Portamento Mode we slide the pitch from the last note to the current note.              bool                    PortamentoMode;           ///< in Portamento Mode we slide the pitch from the last note to the current note.
111              float                   PortamentoTime;           ///< How long it will take to glide from the previous note to the current (in seconds)              float                   PortamentoTime;           ///< How long it will take to glide from the previous note to the current (in seconds)
112              float                   PortamentoPos;            ///< Current position on the keyboard, that is integer and fractional part (only used if PortamentoMode is on)              float                   PortamentoPos;            ///< Current position on the keyboard, that is integer and fractional part (only used if PortamentoMode is on)
113              double                  GlobalVolume;             ///< overall volume (a value < 1.0 means attenuation, a value > 1.0 means amplification)              double                  GlobalVolume;             ///< Master volume factor set through the C++ API / LSCP (a value < 1.0 means attenuation, a value > 1.0 means amplification)
114                double                  MidiVolume;               ///< Volume factor altered by MIDI CC#7 (a value < 1.0 means attenuation, a value > 1.0 means amplification)
115              float                   GlobalPanLeft;              float                   GlobalPanLeft;
116              float                   GlobalPanRight;              float                   GlobalPanRight;
117              int                     Pitch;                    ///< Current (absolute) MIDI pitch value.              int                     Pitch;                    ///< Current (absolute) MIDI pitch value.
118              int                     CurrentKeyDimension;      ///< Current value (0-127) for the keyboard dimension, altered by pressing a keyswitching key.              float                   CurrentKeyDimension;      ///< Current value (0-1.0) for the keyboard dimension, altered by pressing a keyswitching key.
119              String                  InstrumentFile;              String                  InstrumentFile;
120              int                     InstrumentIdx;              int                     InstrumentIdx;
121              String                  InstrumentIdxName;              String                  InstrumentIdxName;

Legend:
Removed from v.840  
changed lines
  Added in v.947

  ViewVC Help
Powered by ViewVC