tag | line | file | source code |
octave | 585 | drivers/sound/opl3.c | int f, octave; |
octave | 592 | drivers/sound/opl3.c | octave = 5; |
octave | 595 | drivers/sound/opl3.c | octave = 0; |
octave | 600 | drivers/sound/opl3.c | octave--; |
octave | 608 | drivers/sound/opl3.c | octave++; |
octave | 613 | drivers/sound/opl3.c | if (octave > 7) |
octave | 614 | drivers/sound/opl3.c | octave = 7; |
octave | 616 | drivers/sound/opl3.c | *fnum = freq * (1 << (20 - octave)) / 49716; |
octave | 617 | drivers/sound/opl3.c | *block = octave; |
octave | 1024 | drivers/sound/sequencer.c | int note, octave, note_freq; |
octave | 1033 | drivers/sound/sequencer.c | octave = note_num / 12; |
octave | 1038 | drivers/sound/sequencer.c | if (octave < BASE_OCTAVE) |
octave | 1039 | drivers/sound/sequencer.c | note_freq >>= (BASE_OCTAVE - octave); |
octave | 1040 | drivers/sound/sequencer.c | else if (octave > BASE_OCTAVE) |
octave | 1041 | drivers/sound/sequencer.c | note_freq <<= (octave - BASE_OCTAVE); |