public static bool IsNotePitchGiven(MidiChannel channel) { var cs = instance.channelArray [(int)channel]; return cs.lastNote >= 0.0f; }