Class MIDIOutput
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The MIDIOutput interface of the 'Web MIDI API' provides methods to add messages to the queue of an output device, and to clear the queue of messages.
[Value("MIDIOutput")]
public class MIDIOutput : MIDIPort
- Inheritance
-
MIDIOutput
- Inherited Members
Remarks
Constructors
MIDIOutput()
public MIDIOutput()
Methods
Clear()
The clear() method of the MIDIOutput interface clears the queue of messages being sent to the output device.
[Value("clear")]
public GlobalObject.Undefined Clear()
Returns
Remarks
Send(List<byte>, Number)
The send() method of the MIDIOutput interface queues messages for the corresponding MIDI port. The message can be sent immediately, or with an optional timestamp to delay sending.
[Value("send")]
public GlobalObject.Undefined Send(List<byte> data, Number timestamp = null)