Component: USB MIDI (Comms: USB)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 1.3 |
Category | Comms: USB |
Contents
USB MIDI component
Component to create and communicate using a standard MIDI connection. Compatible with simulation and USB enabled microcontroller devices. Currently only compatible with the 16-bit PIC range of devices.
Component Source Code
Please click here to view the component source code (Beta): FC_Comp_Source_USBMIDI.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
SendPitchChange |
Sends out a pitch change command on the specified channel. | |
![]() |
Channel |
Channel to send the pitch change to | |
![]() |
Pitch_Change |
New pitch value to use, Default 0x2000 | |
![]() |
Return |
![]() |
SendNoteOff |
Sends a note off command using the channel, note and velocity specified. | |
![]() |
Channel |
![]() |
Note |
![]() |
Velocity |
![]() |
Return |
![]() |
SendControl |
Sends a control command using the channel, controller and value specified. | |
![]() |
Channel |
![]() |
Controller |
![]() |
Value |
![]() |
Return |
![]() |
SendNoteOn |
Sends a note on command using the channel, note and velocity specified. | |
![]() |
Channel |
![]() |
Note |
![]() |
Velocity |
![]() |
Return |
![]() |
SendPolyPressure |
Sends a note press with an associated polyphonic pressure value. | |
![]() |
Channel |
![]() |
Note |
![]() |
Pressure |
![]() |
Return |
![]() |
ReadData |
Reads a byte from the last received MIDI message | |
![]() |
Idx |
Byte to read 0-3 | |
![]() |
Return |
![]() |
SendPatch |
![]() |
Channel |
![]() |
Instrument |
![]() |
Return |
![]() |
SendChannelPressure |
![]() |
Channel |
![]() |
Pressure |
![]() |
Return |
![]() |
Initialise |
Starts up the USB communications and attempts to enumerate. Returns 0 for a successful startup or 255 for a enumeration timeout. | |
![]() |
Return |
Property reference
==Macro reference==
![]() |
SendPitchChange |
Sends out a pitch change command on the specified channel. | |
![]() |
Channel |
Channel to send the pitch change to | |
![]() |
Pitch_Change |
New pitch value to use, Default 0x2000 | |
![]() |
Return |
![]() |
SendNoteOff |
Sends a note off command using the channel, note and velocity specified. | |
![]() |
Channel |
![]() |
Note |
![]() |
Velocity |
![]() |
Return |
![]() |
SendControl |
Sends a control command using the channel, controller and value specified. | |
![]() |
Channel |
![]() |
Controller |
![]() |
Value |
![]() |
Return |
![]() |
SendNoteOn |
Sends a note on command using the channel, note and velocity specified. | |
![]() |
Channel |
![]() |
Note |
![]() |
Velocity |
![]() |
Return |
![]() |
SendPolyPressure |
Sends a note press with an associated polyphonic pressure value. | |
![]() |
Channel |
![]() |
Note |
![]() |
Pressure |
![]() |
Return |
![]() |
ReadData |
Reads a byte from the last received MIDI message | |
![]() |
Idx |
Byte to read 0-3 | |
![]() |
Return |
![]() |
SendPatch |
![]() |
Channel |
![]() |
Instrument |
![]() |
Return |
![]() |
SendChannelPressure |
![]() |
Channel |
![]() |
Pressure |
![]() |
Return |
![]() |
Initialise |
Starts up the USB communications and attempts to enumerate. Returns 0 for a successful startup or 255 for a enumeration timeout. | |
![]() |
Return |