DxMidi - Sending events | ||||||||||||||||||||||||
|
result
= me.NoteON ( channel,
note, velocity
) channel is the specified
MIDI channel Don't overflow any value of the method, either you could
have an transmit error. result = me.NoteOFF ( channel, note ) result as Integer channel as Integer note as Integer Plays a note OFF data command (3 datas posted to Midi, status, note and velocity = 0). In fact, this is always a Note ON command, but with velocity = 0. result code <> 0 if an error occured. channel is the specified
MIDI channel
Dont use NoCont to terminate
a long multi-packet message. NoCont is just the default. Examples soon... result = me.DurNote ( channel, note, velocity, duration ) result as Integer channel as Integer note as Integer velocity as Integer duration as Integer Synchronous version only to send notes with duration (1/60 of a second). result code <> 0 if an error occured. channel is the specified MIDI channel (see MIDI documentation for more infos). note is the MIDI note (0-127) defined in the MIDI norm. velocity is a velocity MIDI value (0-127) result = me.Note ( note, velocity ) result as Integer note as Integer velocity as Integer This is a different version of NoteON() method. This method uses the chan control property to affect the output of notes. This could simplify send of notes from windows to create midi effects (arpeggiators, delays, etc...). result code <> 0 if an error occured. note is the MIDI note (0-127) defined in the MIDI norm. velocity is a velocity MIDI value (0-127) |