tag | line | file | source code |
octave | 726 | drivers/sound/opl3.c | int f, octave; |
octave | 737 | drivers/sound/opl3.c | octave = 5; |
octave | 740 | drivers/sound/opl3.c | octave = 0; |
octave | 745 | drivers/sound/opl3.c | octave--; |
octave | 753 | drivers/sound/opl3.c | octave++; |
octave | 758 | drivers/sound/opl3.c | if (octave > 7) |
octave | 759 | drivers/sound/opl3.c | octave = 7; |
octave | 761 | drivers/sound/opl3.c | *fnum = freq * (1 << (20 - octave)) / 49716; |
octave | 762 | drivers/sound/opl3.c | *block = octave; |
octave | 1984 | drivers/sound/sequencer.c | int note, octave, note_freq; |
octave | 1993 | drivers/sound/sequencer.c | octave = note_num / 12; |
octave | 1998 | drivers/sound/sequencer.c | if (octave < BASE_OCTAVE) |
octave | 1999 | drivers/sound/sequencer.c | note_freq >>= (BASE_OCTAVE - octave); |
octave | 2000 | drivers/sound/sequencer.c | else if (octave > BASE_OCTAVE) |
octave | 2001 | drivers/sound/sequencer.c | note_freq <<= (octave - BASE_OCTAVE); |