Lines Matching refs:note
76 static int seq_queue(unsigned char *note, char nonblock);
327 static int seq_queue(unsigned char *note, char nonblock) in seq_queue() argument
352 memcpy(&queue[qtail * EV_SZ], note, EV_SZ); in seq_queue()
415 static int find_voice(int dev, int chn, int note) in find_voice() argument
420 key = (chn << 8) | (note + 1); in find_voice()
427 static int alloc_voice(int dev, int chn, int note) in alloc_voice() argument
432 key = (chn << 8) | (note + 1); in alloc_voice()
434 voice = synth_devs[dev]->alloc_voice(dev, chn, note, in alloc_voice()
447 #define note event_rec[4] in seq_chn_voice_event() macro
462 voice = find_voice(dev, chn, note); in seq_chn_voice_event()
474 if (note > 127 && note != 255) /* Not a seq2 feature */ in seq_chn_voice_event()
480 voice = alloc_voice(dev, chn, note); in seq_chn_voice_event()
494 synth_devs[dev]->set_instr(dev, voice, 128 + note); in seq_chn_voice_event()
495 synth_devs[dev]->chn_info[chn].pgm_num = 128 + note; in seq_chn_voice_event()
499 synth_devs[dev]->start_note(dev, voice, note, parm); in seq_chn_voice_event()
505 synth_devs[dev]->kill_note(dev, voice, note, parm); in seq_chn_voice_event()
519 #undef note in seq_chn_voice_event()
1556 int note, octave, note_freq; in note_to_freq() local
1566 note = note_num % 12; in note_to_freq()
1568 note_freq = notes[note]; in note_to_freq()