Lines Matching refs:note
75 static int seq_queue(unsigned char *note, char nonblock);
329 static int seq_queue(unsigned char *note, char nonblock) in seq_queue() argument
354 memcpy(&queue[qtail * EV_SZ], note, EV_SZ); in seq_queue()
417 static int find_voice(int dev, int chn, int note) in find_voice() argument
422 key = (chn << 8) | (note + 1); in find_voice()
429 static int alloc_voice(int dev, int chn, int note) in alloc_voice() argument
434 key = (chn << 8) | (note + 1); in alloc_voice()
436 voice = synth_devs[dev]->alloc_voice(dev, chn, note, in alloc_voice()
449 #define note event_rec[4] in seq_chn_voice_event() macro
464 voice = find_voice(dev, chn, note); in seq_chn_voice_event()
476 if (note > 127 && note != 255) /* Not a seq2 feature */ in seq_chn_voice_event()
482 voice = alloc_voice(dev, chn, note); in seq_chn_voice_event()
496 synth_devs[dev]->set_instr(dev, voice, 128 + note); in seq_chn_voice_event()
497 synth_devs[dev]->chn_info[chn].pgm_num = 128 + note; in seq_chn_voice_event()
501 synth_devs[dev]->start_note(dev, voice, note, parm); in seq_chn_voice_event()
507 synth_devs[dev]->kill_note(dev, voice, note, parm); in seq_chn_voice_event()
521 #undef note in seq_chn_voice_event()
1566 int note, octave, note_freq; in note_to_freq() local
1576 note = note_num % 12; in note_to_freq()
1578 note_freq = notes[note]; in note_to_freq()