Lines Matching defs:note
75 static int seq_queue(unsigned char *note, char nonblock);
330 static int seq_queue(unsigned char *note, char nonblock)
355 memcpy(&queue[qtail * EV_SZ], note, EV_SZ);
418 static int find_voice(int dev, int chn, int note)
423 key = (chn << 8) | (note + 1);
430 static int alloc_voice(int dev, int chn, int note)
435 key = (chn << 8) | (note + 1);
437 voice = synth_devs[dev]->alloc_voice(dev, chn, note,
450 #define note event_rec[4]
465 voice = find_voice(dev, chn, note);
477 if (note > 127 && note != 255) /* Not a seq2 feature */
483 voice = alloc_voice(dev, chn, note);
491 * The MIDI channel 10 is a percussive channel. Use the note
497 synth_devs[dev]->set_instr(dev, voice, 128 + note);
498 synth_devs[dev]->chn_info[chn].pgm_num = 128 + note;
502 synth_devs[dev]->start_note(dev, voice, note, parm);
508 synth_devs[dev]->kill_note(dev, voice, note, parm);
522 #undef note
1564 * This routine converts a midi note to a frequency (multiplied by 1000)
1567 int note, octave, note_freq;
1577 note = note_num % 12;
1579 note_freq = notes[note];