C# Class Midi.LongMsg

Utility functions for encoding and decoding short messages.
Exibir arquivo Open project: iUltimateLP/launchpad-led-editor Class Usage Examples

Public Methods

Method Description
DecodeSysEx ( UIntPtr dwParam1, UIntPtr dwParam2, byte &data, UInt32 &timestamp ) : void

Decodes a SysEx long message.

IsSysEx ( UIntPtr dwParam1, UIntPtr dwParam2 ) : bool

Returns true if the given long message describes a SysEx message.

Method Details

DecodeSysEx() public static method

Decodes a SysEx long message.
public static DecodeSysEx ( UIntPtr dwParam1, UIntPtr dwParam2, byte &data, UInt32 &timestamp ) : void
dwParam1 System.UIntPtr The dwParam1 arg passed to MidiInProc.
dwParam2 System.UIntPtr The dwParam2 arg passed to MidiInProc.
data byte The SysEx data to send.
timestamp System.UInt32 Filled in with the timestamp in microseconds since /// midiInStart().
return void

IsSysEx() public static method

Returns true if the given long message describes a SysEx message.
public static IsSysEx ( UIntPtr dwParam1, UIntPtr dwParam2 ) : bool
dwParam1 System.UIntPtr The dwParam1 arg passed to MidiInProc.
dwParam2 System.UIntPtr The dwParam2 arg passed to MidiInProc.
return bool