Ejemplo n.º 1
0
		bool CheckNote(MidiData d, byte k, short v)
		{
			if (d is MidiNote)
				// check for key and velocity?
				return (d as MidiNote).K == k && (d as MidiNote).V2 == v;
			return false;
		}
Ejemplo n.º 2
0
 bool CheckNote(MidiData d, byte k, short v)
 {
     if (d is MidiNote)             // check for key and velocity?
     {
         return((d as MidiNote).K == k && (d as MidiNote).V2 == v);
     }
     return(false);
 }
Ejemplo n.º 3
0
 bool CheckNote(MidiData d, byte k, short v)
 {
     if (d is MidiNote) // check for key and velocity?
         return (d as MidiNote).K == k && (d as MidiNote).V2 == v;
     return false;
 }