Lines Matching +full:channel +full:- +full:7

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * Copyright (c) by Paul Barton-Davis <pbd@op.net>
19 /* Pseudo-commands not part of the WaveFront command set.
31 #define WFC_INTERRUPT_STATUS 7
103 /* OR-values for MIDI status bits */
145 u8 attack_time:7;
148 u8 decay1_time:7;
151 u8 decay2_time:7;
154 u8 sustain_time:7;
157 u8 release_time:7;
160 u8 release2_time:7;
169 u8 attack_velocity:7;
172 u8 volume_velocity:7;
175 u8 keyboard_scaling:7;
184 u8 frequency:7;
195 u8 ramp_delay:7;
198 u8 ramp_time:7;
207 u8 amplitude_bias:7;
210 u8 portamento:7;
248 u8 randomizer:7;
262 u8 mix_level:7;
265 u8 split_point:7;
301 #define WF_ST_SAMPLEHDR 7
315 /* channel constants */
328 #define WF_SAMPLE_IS_8BIT(smpl) ((smpl)->SampleResolution&2)
334 never been copied (just mmap-ed into user space straight from the
335 disk), it would be nice to allow handling of multi-channel sample
336 data without forcing user-level extraction of the relevant bytes.
338 So, we need a way of specifying which channel to use (the WaveFront
345 --- -------
346 0 no channel selection (use channel 1, sample is MONO)
347 1 use first channel, and skip one
348 2 use second channel, and skip one
349 3 use third channel, and skip two
350 4 use fourth channel, skip three
351 5 use fifth channel, skip four
352 6 use six channel, skip five
365 (samp)->Unused1 = chn & 0x1; \
366 (samp)->Unused2 = chn & 0x2; \
367 (samp)->Unused3 = chn & 0x4
370 (((samp)->Unused3 << 2)|((samp)->Unused2<<1)|(samp)->Unused1)
413 sum(sizeof(struct-fields)) and so thought that giving a C level
416 standard 16->32 bit issues.
424 u8 MixLevel:7;
442 /* How to get MIDI channel status from the data returned by
446 #define WF_CHANNEL_STATUS(ch,wcp) (wcp)[(ch/7)] & (1<<((ch)%7))
458 might work for other wave-table based patch loading situations.
467 only, and are unused by the current user-level library.
483 the size of the *SELECTED CHANNEL*
493 wavefront_any __user *hdrptr; /* user-space ptr to hdr bytes */
496 wavefront_any hdr; /* kernel-space copy of hdr bytes */
510 well as data-nybbling to/from the card.
515 char status; /* return status to user-space */
532 #define WF_MOD_LOGVEL 7
548 /* FX-related material */
556 else has figured out which of the addresses on page 6 and page 7 of
569 #define WFFX_SETREVERBIN2PORT 7
624 /* Allow direct user-space control over FX memory/coefficient data.