Lines Matching refs:freq
83 static void freq_to_fnum(int freq, int *block, int *fnum);
460 int block, fnum, freq, voice_mode, pan; in opl3_start_note() local
647 freq = devc->voc[voice].orig_freq = note_to_freq(note) / 1000; in opl3_start_note()
654 …freq = compute_finetune(devc->voc[voice].orig_freq, devc->voc[voice].bender, devc->voc[voice].bend… in opl3_start_note()
655 devc->voc[voice].current_freq = freq; in opl3_start_note()
657 freq_to_fnum(freq, &block, &fnum); in opl3_start_note()
677 static void freq_to_fnum (int freq, int *block, int *fnum) in freq_to_fnum() argument
688 f = freq; in freq_to_fnum()
714 *fnum = freq * (1 << (20 - octave)) / 49716; in freq_to_fnum()
934 int block, fnum, freq; in bend_pitch() local
950 …freq = compute_finetune(devc->voc[voice].orig_freq, devc->voc[voice].bender, devc->voc[voice].bend… in bend_pitch()
951 devc->voc[voice].current_freq = freq; in bend_pitch()
953 freq_to_fnum(freq, &block, &fnum); in bend_pitch()