MidiInput.IsNotePitchGiven C# (CSharp) Method

IsNotePitchGiven() public static method

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