Lines Matching refs:note
75 static int seq_queue(unsigned char *note, char nonblock);
329 static int seq_queue(unsigned char *note, char nonblock)
354 memcpy(&queue[qtail * EV_SZ], note, EV_SZ);
417 static int find_voice(int dev, int chn, int note)
422 key = (chn << 8) | (note + 1);
429 static int alloc_voice(int dev, int chn, int note)
434 key = (chn << 8) | (note + 1);
436 voice = synth_devs[dev]->alloc_voice(dev, chn, note,
449 #define note event_rec[4]
464 voice = find_voice(dev, chn, note);
476 if (note > 127 && note != 255) /* Not a seq2 feature */
482 voice = alloc_voice(dev, chn, note);
490 * The MIDI channel 10 is a percussive channel. Use the note
496 synth_devs[dev]->set_instr(dev, voice, 128 + note);
497 synth_devs[dev]->chn_info[chn].pgm_num = 128 + note;
501 synth_devs[dev]->start_note(dev, voice, note, parm);
507 synth_devs[dev]->kill_note(dev, voice, note, parm);
521 #undef note
1563 * This routine converts a midi note to a frequency (multiplied by 1000)
1566 int note, octave, note_freq;
1576 note = note_num % 12;
1578 note_freq = notes[note];