Searched refs:octave (Results 1 - 4 of 4) sorted by relevance

/linux-master/include/uapi/sound/
H A Dasound_fm.h52 * This describes an FM note by its voice, octave, frequency number (10bit)
58 unsigned char octave; /* 3 bits: what octave to play */ member in struct:snd_dm_fm_note
/linux-master/drivers/hid/
H A Dhid-prodikeys.c164 /* Output routine for the sysfs octave file */
171 dbg_hid("pcmidi sysfs read octave=%d\n", pm->midi_octave);
177 /* Input routine for the sysfs octave file */
184 int octave = 0; local
186 if (sscanf(buf, "%d", &octave) > 0 &&
187 octave >= PCMIDI_OCTAVE_MIN && octave <= PCMIDI_OCTAVE_MAX) {
188 dbg_hid("pcmidi sysfs write octave=%d\n", octave);
189 pm->midi_octave = octave;
[all...]
/linux-master/sound/drivers/opl4/
H A Dopl4_synth.c423 int note, pitch, octave; local
428 * 0x600 is one octave.
440 octave = pitch / 0x600 - 8;
444 (octave << 4) | ((pitch >> 7) & OPL4_F_NUMBER_HIGH_MASK));
/linux-master/sound/drivers/opl3/
H A Dopl3_synth.c424 /* Set octave */
425 reg_val |= (note->octave << 2) & OPL3_BLOCKNUM_MASK;

Completed in 109 milliseconds