tag | line | file | source code |
octave | 755 | drivers/sound/opl3.c | int f, octave; |
octave | 766 | drivers/sound/opl3.c | octave = 5; |
octave | 769 | drivers/sound/opl3.c | octave = 0; |
octave | 774 | drivers/sound/opl3.c | octave--; |
octave | 782 | drivers/sound/opl3.c | octave++; |
octave | 787 | drivers/sound/opl3.c | if (octave > 7) |
octave | 788 | drivers/sound/opl3.c | octave = 7; |
octave | 790 | drivers/sound/opl3.c | *fnum = freq * (1 << (20 - octave)) / 49716; |
octave | 791 | drivers/sound/opl3.c | *block = octave; |
octave | 1814 | drivers/sound/sequencer.c | int note, octave, note_freq; |
octave | 1823 | drivers/sound/sequencer.c | octave = note_num / 12; |
octave | 1828 | drivers/sound/sequencer.c | if (octave < BASE_OCTAVE) |
octave | 1829 | drivers/sound/sequencer.c | note_freq >>= (BASE_OCTAVE - octave); |
octave | 1830 | drivers/sound/sequencer.c | else if (octave > BASE_OCTAVE) |
octave | 1831 | drivers/sound/sequencer.c | note_freq <<= (octave - BASE_OCTAVE); |