Lines Matching +full:four +full:- +full:bank
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
6 * Definitions of the OPL-3 registers.
9 * Hannu Savolainen 1993-1996
11 * The OPL-3 mode is switched on by writing 0x01, to the offset 5
34 * register of the voice (0xC0-0xC8). In 4 OP voices these bits are
76 #define OPL3_COMPOSITE_SINE_WAVE_MODE 0x80 /* Don't use with OPL-3? */
91 * register number just add the operator offset to the bank offset
133 * F-Number low bits (0xA0 to 0xA8).
138 * F-number high bits / Key on / Block (octave) (0xB0 to 0xB8)
148 * These registers have two new bits when the OPL-3 mode
161 * In the 4 OP mode there is four possible configurations how the
164 * bit of the FEEDBACK_CONNECTION (0xC0-0xC8) on the both halves.
168 * +---+
170 * 0 0 >+-1-+--2--3--4-->
174 * +---+
176 * 0 1 >+-1-+--2-+
177 * |->
178 * >--3----4-+
180 * +---+
182 * 1 0 >+-1-+-----+
183 * |->
184 * >--2--3--4-+
186 * +---+
188 * 1 1 >+-1-+--+
190 * >--2--3-+->
192 * >--4----+
194 #define OPL3_STEREO_BITS 0x30 /* OPL-3 only */
254 unsigned char bank; member
270 #define SNDRV_OPL3_ST_NOT_AVAIL -1 /* voice is not available */
275 unsigned long note_off; /* note-off time */
276 int note_off_check; /* check note-off time */
307 #define SNDRV_OPL3_MODE_SYNTH 0 /* OSS - voices allocated by application */
308 #define SNDRV_OPL3_MODE_SEQ 1 /* ALSA - driver handles voice allocation */
331 struct timer_list tlist; /* timer for note-offs and effects */
363 int prog, int bank, int type,
367 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank,