MidiOutSendMessage
Result = MidiOutSendMessage(Index, Byte1, Byte2, Byte3)
 
Parameters:

    Index = MidiOut index
    Byte1 = 1st Midi Byte
    Byte2 = 2nd Midi Byte
    Byte3 = 3rd Midi Byte
Returns:

    Success = 1 means successfully sent, 0 means an error occured
 

MidiOutSendMessage sends a user specified Midi message to the specified port. Midi messages a composed of three separate bytes; one status byte followed byte two data bytes. While MidiOutShortMsg encodes these bytes in one Integer value, with this function you can set each byte separately. The function returns 1 if the message was successfully send, or else 0 if an error occured. In the event of an error, the error code can be retrieved with GetLastMidiOutError().

 
Related Info: GetLastMidiOutError | MidiOutShortMsg :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com