CFugue
PitchBend.h
1 /*
2  This is part of CFugue, a C++ Runtime for MIDI Score Programming
3  Copyright (C) 2009 Gopalakrishna Palem
4 
5  For links to further information, or to contact the author,
6  see <http://musicnote.sourceforge.net/>.
7 */
8 
9 #ifndef __PITCHBEND_H__898E3A18_93D1_411D_B7D0_77269C3A0108__
10 #define __PITCHBEND_H__898E3A18_93D1_411D_B7D0_77269C3A0108__
11 
12 namespace CFugue
13 {
14  class PitchBend
15  {
16  unsigned char uLow;
17  unsigned char uHigh;
18  public:
19  PitchBend(unsigned char nLow, unsigned char nHigh)
20  : uLow(nLow), uHigh(nHigh)
21  {
22  }
23 
24  ///<Summary>Returns the Low Byte value of the PitchBend value</Summary>
25  inline unsigned char GetLowByte() const { return uLow; }
26 
27  ///<Summary>Returns the High Byte value of the PitchBend value</Summary>
28  inline unsigned char GetHighByte() const { return uHigh; }
29  };
30 } // namespace
31 
32 #endif // __PITCHBEND_H__898E3A18_93D1_411D_B7D0_77269C3A0108__
unsigned char GetLowByte() const
Summary>Returns the High Byte value of the PitchBend value
Definition: PitchBend.h:25
PitchBend(unsigned char nLow, unsigned char nHigh)
Summary>Returns the Low Byte value of the PitchBend value
Definition: PitchBend.h:19

CFugue, the C++ Music Programming Library © Copyright 2009 Cenacle Research India Private Limited Gopalakrishna Palem