#include <tempo.h>
Public Member Functions | |
MIDITempo () | |
MIDITempo (int a) | |
MIDITempo (unsigned int a) | |
MIDITempo (long a) | |
MIDITempo (unsigned long a) | |
MIDITempo (float a) | |
MIDITempo (const MIDITempo &a) | |
operator short () | |
operator unsigned short () | |
operator int () | |
operator unsigned int () | |
operator long () | |
operator unsigned long () | |
operator float () | |
void | operator= (unsigned short a) |
void | operator= (short a) |
void | operator= (unsigned int a) |
void | operator= (int a) |
void | operator= (unsigned long a) |
void | operator= (long a) |
void | operator= (float a) |
unsigned long | GetFullTempo () const |
void | SetFullTempo (unsigned long v) |
unsigned long | GetMIDIFileTempo () |
Protected Attributes | |
unsigned long | tempo |
|
Definition at line 56 of file tempo.h. References tempo.
00057 { 00058 tempo=120<<8; 00059 } |
|
Definition at line 60 of file tempo.h. References tempo.
00061 { 00062 tempo=(unsigned long)a << 8; 00063 } |
|
Definition at line 64 of file tempo.h. References tempo.
00065 { 00066 tempo=(unsigned long)a << 8; 00067 } |
|
Definition at line 68 of file tempo.h. References tempo.
00069 { 00070 tempo=(unsigned long)a << 8; 00071 } |
|
Definition at line 72 of file tempo.h. References tempo.
00073 { 00074 tempo=a << 8; 00075 } |
|
Definition at line 76 of file tempo.h. References tempo.
00077 { 00078 tempo=(unsigned long) (a*256.0); 00079 } |
|
Definition at line 80 of file tempo.h. References GetFullTempo(), and tempo.
00081 { 00082 tempo=a.GetFullTempo(); 00083 } |
|
Definition at line 145 of file tempo.h. References tempo.
00146 { 00147 return tempo; 00148 } |
|
Definition at line 154 of file tempo.h. References tempo.
|
|
Definition at line 110 of file tempo.h. References tempo.
00111 { 00112 return (float)tempo / 256.0f; 00113 } |
|
Definition at line 94 of file tempo.h. References tempo.
00095 { 00096 return (int)((tempo+0x80)>>8); 00097 } |
|
Definition at line 102 of file tempo.h. References tempo.
00103 { 00104 return (long)((tempo+0x80)>>8); 00105 } |
|
Definition at line 85 of file tempo.h. References tempo.
00086 { 00087 return (short)((tempo+0x80)>>8); 00088 } |
|
Definition at line 98 of file tempo.h. References tempo.
00099 { 00100 return (unsigned int)((tempo+0x80)>>8); 00101 } |
|
Definition at line 106 of file tempo.h. References tempo.
00107 { 00108 return (unsigned long)((tempo+0x80)>>8); 00109 } |
|
Definition at line 89 of file tempo.h. References tempo.
00090 { 00091 return (unsigned short)((tempo+0x80)>>8); 00092 } |
|
Definition at line 140 of file tempo.h. References tempo.
00141 { 00142 tempo=(unsigned long)(a*256.0); 00143 } |
|
Definition at line 135 of file tempo.h. References tempo.
00136 { 00137 tempo=(unsigned long)a << 8; 00138 } |
|
Definition at line 131 of file tempo.h. References tempo.
00132 { 00133 tempo=(unsigned long)a << 8; 00134 } |
|
Definition at line 127 of file tempo.h. References tempo.
00128 { 00129 tempo=(unsigned long)a << 8; 00130 } |
|
Definition at line 123 of file tempo.h. References tempo.
00124 { 00125 tempo=(unsigned long)a << 8; 00126 } |
|
Definition at line 118 of file tempo.h. References tempo.
00119 { 00120 tempo=(unsigned long)a << 8; 00121 } |
|
Definition at line 114 of file tempo.h. References tempo.
00115 { 00116 tempo=(unsigned long)a << 8; 00117 } |
|
Definition at line 149 of file tempo.h. References tempo.
00150 { 00151 tempo=v; 00152 } |
|
|