tag | line | file | source code |
octave | 743 | drivers/sound/opl3.c | int f, octave; |
octave | 754 | drivers/sound/opl3.c | octave = 5; |
octave | 757 | drivers/sound/opl3.c | octave = 0; |
octave | 762 | drivers/sound/opl3.c | octave--; |
octave | 770 | drivers/sound/opl3.c | octave++; |
octave | 775 | drivers/sound/opl3.c | if (octave > 7) |
octave | 776 | drivers/sound/opl3.c | octave = 7; |
octave | 778 | drivers/sound/opl3.c | *fnum = freq * (1 << (20 - octave)) / 49716; |
octave | 779 | drivers/sound/opl3.c | *block = octave; |
octave | 1718 | drivers/sound/sequencer.c | int note, octave, note_freq; |
octave | 1727 | drivers/sound/sequencer.c | octave = note_num / 12; |
octave | 1732 | drivers/sound/sequencer.c | if (octave < BASE_OCTAVE) |
octave | 1733 | drivers/sound/sequencer.c | note_freq >>= (BASE_OCTAVE - octave); |
octave | 1734 | drivers/sound/sequencer.c | else if (octave > BASE_OCTAVE) |
octave | 1735 | drivers/sound/sequencer.c | note_freq <<= (octave - BASE_OCTAVE); |