Searched refs:octave (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/Documentation/ABI/testing/ |
D | sysfs-driver-hid-prodikeys | 20 What: /sys/bus/hid/drivers/prodikeys/.../octave 25 Controls the octave shift modifier in the pc-midi driver. 26 The octave can be shifted via software up/down 2 octaves.
|
/linux-2.6.39/drivers/hid/ |
D | hid-prodikeys.c | 201 int octave = 0; in store_octave() local 203 if (sscanf(buf, "%d", &octave) > 0 && in store_octave() 204 octave >= PCMIDI_OCTAVE_MIN && octave <= PCMIDI_OCTAVE_MAX) { in store_octave() 205 dbg_hid("pcmidi sysfs write octave=%d\n", octave); in store_octave() 206 pk->pm->midi_octave = octave; in store_octave() 212 static DEVICE_ATTR(octave, S_IRUGO | S_IWUSR | S_IWGRP, show_octave,
|
/linux-2.6.39/sound/oss/ |
D | opl3.c | 680 int f, octave; in freq_to_fnum() local 691 octave = 5; in freq_to_fnum() 694 octave = 0; in freq_to_fnum() 699 octave--; in freq_to_fnum() 707 octave++; in freq_to_fnum() 712 if (octave > 7) in freq_to_fnum() 713 octave = 7; in freq_to_fnum() 715 *fnum = freq * (1 << (20 - octave)) / 49716; in freq_to_fnum() 716 *block = octave; in freq_to_fnum()
|
D | sequencer.c | 1566 int note, octave, note_freq; in note_to_freq() local 1575 octave = note_num / 12; in note_to_freq() 1580 if (octave < BASE_OCTAVE) in note_to_freq() 1581 note_freq >>= (BASE_OCTAVE - octave); in note_to_freq() 1582 else if (octave > BASE_OCTAVE) in note_to_freq() 1583 note_freq <<= (octave - BASE_OCTAVE); in note_to_freq()
|
/linux-2.6.39/include/sound/ |
D | asound_fm.h | 72 unsigned char octave; /* 3 bits: what octave to play */ member
|
/linux-2.6.39/sound/drivers/opl4/ |
D | opl4_synth.c | 423 int note, pitch, octave; in snd_opl4_update_pitch() local 440 octave = pitch / 0x600 - 8; in snd_opl4_update_pitch() 444 (octave << 4) | ((pitch >> 7) & OPL4_F_NUMBER_HIGH_MASK)); in snd_opl4_update_pitch()
|
/linux-2.6.39/sound/drivers/opl3/ |
D | opl3_synth.c | 434 reg_val |= (note->octave << 2) & OPL3_BLOCKNUM_MASK; in snd_opl3_play_note()
|