XMidiSequence::ChannelShadow Struct Reference

List of all members.

Public Member Functions

void reset ()

Public Attributes

int pitchWheel
int program
int bank [2]
int modWheel [2]
int footpedal [2]
int volumes [2]
int pan [2]
int balance [2]
int expression [2]
int sustain
int effects
int chorus
int xbank

Static Public Attributes

static const uint16 centre_value = 0x2000
static const uint8 fine_value = centre_value & 127
static const uint8 coarse_value = centre_value >> 7
static const uint16 combined_value = (coarse_value << 8) | fine_value

Detailed Description

Definition at line 119 of file XMidiSequence.h.


Member Function Documentation

void XMidiSequence::ChannelShadow::reset (  ) 

Definition at line 88 of file XMidiSequence.cpp.

References balance, bank, chorus, coarse_value, combined_value, effects, expression, fine_value, footpedal, modWheel, pan, pitchWheel, program, sustain, volumes, and xbank.


Member Data Documentation

int XMidiSequence::ChannelShadow::balance[2]

Definition at line 134 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::bank[2]

Definition at line 129 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

const uint16 XMidiSequence::ChannelShadow::centre_value = 0x2000 [static]

Definition at line 120 of file XMidiSequence.h.

int XMidiSequence::ChannelShadow::chorus

Definition at line 138 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

const uint8 XMidiSequence::ChannelShadow::coarse_value = centre_value >> 7 [static]

Definition at line 122 of file XMidiSequence.h.

Referenced by reset().

const uint16 XMidiSequence::ChannelShadow::combined_value = (coarse_value << 8) | fine_value [static]

Definition at line 123 of file XMidiSequence.h.

Referenced by reset().

int XMidiSequence::ChannelShadow::effects

Definition at line 137 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::expression[2]

Definition at line 135 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

const uint8 XMidiSequence::ChannelShadow::fine_value = centre_value & 127 [static]

Definition at line 121 of file XMidiSequence.h.

Referenced by reset().

int XMidiSequence::ChannelShadow::footpedal[2]

Definition at line 131 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::modWheel[2]

Definition at line 130 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::pan[2]

Definition at line 133 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::pitchWheel

Definition at line 125 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::program

Definition at line 126 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::sustain

Definition at line 136 of file XMidiSequence.h.

Referenced by reset().

int XMidiSequence::ChannelShadow::volumes[2]

Definition at line 132 of file XMidiSequence.h.

Referenced by reset(), XMidiSequence::setVolume(), and XMidiSequence::updateShadowForEvent().

int XMidiSequence::ChannelShadow::xbank

Definition at line 140 of file XMidiSequence.h.

Referenced by reset(), and XMidiSequence::updateShadowForEvent().


The documentation for this struct was generated from the following files:
Generated on Fri Jul 27 22:30:14 2007 for pentagram by  doxygen 1.4.7