Lines Matching defs:fm
300 struct fm_instrument *fm;
346 fm = &patch->inst;
434 vol_op[i] = fm->op[i].ksl_level;
436 connection = fm->feedback_connection[0] & 0x01;
439 connection |= fm->feedback_connection[1] & 0x01;
466 reg_val = fm->op[i].am_vib;
476 reg_val = fm->op[i].attack_decay;
481 reg_val = fm->op[i].sustain_release;
486 reg_val = fm->op[i].wave_select;
492 reg_val = fm->feedback_connection[0];
504 reg_val = fm->feedback_connection[1] & OPL3_CONNECTION_BIT;
517 * Special treatment of percussion notes for fm:
521 if (fm->fix_key)
522 note = fm->fix_key;
526 if (fm->trnsps)
527 note += (fm->trnsps - 64);
548 if (fm->fix_dur) {
550 (fm->fix_dur * HZ) / 100;
557 extra_prg = (extra_prg) ? 0 : fm->modes;