Lines Matching defs:Operator
94 struct Operator { struct
97 enum {
104 typedef enum {
110 } State;
112 VolumeHandler volHandler;
115 WaveHandler waveHandler; //Routine that generate a wave
117 Bit16s* waveBase;
118 Bit32u waveMask;
119 Bit32u waveStart;
121 Bit32u waveIndex; //WAVE_BITS shifted counter of the frequency index
122 Bit32u waveAdd; //The base frequency without vibrato
123 Bit32u waveCurrent; //waveAdd + vibratao
125 Bit32u chanData; //Frequency/octave and derived data coming from whatever channel controls this
126 Bit32u freqMul; //Scale channel frequency with this, TODO maybe remove?
127 Bit32u vibrato; //Scaled up vibrato strength
128 Bit32s sustainLevel; //When stopping at sustain level stop here
129 Bit32s totalLevel; //totalLevel is added to every generated volume
130 Bit32u currentLevel; //totalLevel + tremolo
131 Bit32s volume; //The currently active volume
133 Bit32u attackAdd; //Timers for the different states of the envelope
134 Bit32u decayAdd;
135 Bit32u releaseAdd;
136 Bit32u rateIndex; //Current position of the evenlope
138 Bit8u rateZero; //Bits for the different states of the envelope having no changes
139 Bit8u keyOn; //Bitmask of different values that can generate keyon
141 Bit8u reg20, reg40, reg60, reg80, regE0;
143 Bit8u state;
145 Bit8u tremoloMask;
147 Bit8u vibStrength;
149 Bit8u ksr;