Lines Matching refs:chan
265 static void do_noteon(int chan, int pitch, int vol)
270 printf("%lu: NoteOn (%d) %d %d\n", Mf_currtime, chan, pitch, vol);
272 snd_seq_ev_set_noteon(&ev, chan, pitch, vol);
277 static void do_noteoff(int chan, int pitch, int vol)
282 printf("%lu: NoteOff (%d) %d %d\n", Mf_currtime, chan, pitch, vol);
284 snd_seq_ev_set_noteoff(&ev, chan, pitch, vol);
289 static void do_program(int chan, int program)
294 printf("%lu: Program (%d) %d\n", Mf_currtime, chan, program);
296 snd_seq_ev_set_pgmchange(&ev, chan, program);
301 static void do_parameter(int chan, int control, int value)
306 printf("%lu: Control (%d) %d %d\n", Mf_currtime, chan, control, value);
308 snd_seq_ev_set_controller(&ev, chan, control, value);
313 static void do_pitchbend(int chan, int lsb, int msb)
318 printf("%lu: Pitchbend (%d) %d %d\n", Mf_currtime, chan, lsb, msb);
320 snd_seq_ev_set_pitchbend(&ev, chan, (lsb + (msb << 7)) - 8192);
324 static void do_pressure(int chan, int pitch, int pressure)
329 printf("%lu: KeyPress (%d) %d %d\n", Mf_currtime, chan, pitch, pressure);
331 snd_seq_ev_set_keypress(&ev, chan, pitch, pressure);
335 static void do_chanpressure(int chan, int pressure)
340 printf("%lu: ChanPress (%d) %d\n", Mf_currtime, chan, pressure);
342 snd_seq_ev_set_chanpress(&ev, chan, pressure);