Lines Matching refs:noteon
136 int noteon; /* (-1 means OFF status) */ member
293 if (ModV[v].noteon < 0) in Voice_SetPeriod()
299 bend += (new_noteon - ModV[v].noteon) << 13; in Voice_SetPeriod()
300 new_noteon = ModV[v].noteon; in Voice_SetPeriod()
305 if (ModV[v].noteon != new_noteon) in Voice_SetPeriod()
309 MIDIEVENT(at, ME_KEYPRESSURE, v, ModV[v].noteon, 1); in Voice_SetPeriod()
338 if (ModV[v].noteon != new_noteon) in Voice_SetPeriod()
341 ModV[v].noteon = new_noteon; in Voice_SetPeriod()
367 if (ModV[v].noteon != -1) in Voice_Play()
379 ModV[v].noteon = new_noteon; in Voice_Play()
403 MIDIEVENT (at, ME_NOTEON, v, ModV[v].noteon, 127); in Voice_Play()
415 if (ModV[v].noteon == -1) in Voice_Stop()
438 ModV[v].noteon = -1; in Voice_Stop()
444 return (v >= MOD_NUM_VOICES) || (ModV[v].noteon == -1); in Voice_Stopped()
481 ModV[v].noteon = -1; in Voice_StartPlaying()