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