Component: USB MIDI (Comms: USB): Difference between revisions
Appearance
m Text replacement - "style="background-color:#EAE1EA; color:#4B008D;"" to "class="mtx-class-propfolder"" |
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"" |
||
| Line 368: | Line 368: | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | USB Properties | | width="90%" class="mtx-class-propfolder" | USB Properties | ||
|- | |- | ||
| Line 407: | Line 407: | ||
| colspan="2" | Specifies if the enumeration (Initialise function) can timeout if taking too long. | | colspan="2" | Specifies if the enumeration (Initialise function) can timeout if taking too long. | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" class="mtx-class-propfolder" | Simulation | | width="90%" class="mtx-class-propfolder" | Simulation | ||
|- | |- | ||
Latest revision as of 14:37, 13 July 2026
| Author | Matrix Ltd. |
| Version | 1.3 |
| Category | Comms: USB |
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 download the component source project: FC_Comp_Source_USBMIDI.fcfx
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
Initialise
| Initialise | |
| Starts up the USB communications and attempts to enumerate. Returns 0 for a successful startup or 255 for a enumeration timeout. | |
| Return | |
ReadData
| ReadData | |
| Reads a byte from the last received MIDI message | |
| Idx | |
| Byte to read 0-3 | |
| Return | |
ReceiveMIDI
SendChannelPressure
| SendChannelPressure | |
| Channel | |
| Pressure | |
| Return | |
SendControl
| SendControl | |
| Sends a control command using the channel, controller and value specified. | |
| Channel | |
| Controller | |
| Value | |
| Return | |
SendMIDI
SendNoteOff
| SendNoteOff | |
| Sends a note off command using the channel, note and velocity specified. | |
| Channel | |
| Note | |
| Velocity | |
| Return | |
SendNoteOn
| SendNoteOn | |
| Sends a note on command using the channel, note and velocity specified. | |
| Channel | |
| Note | |
| Velocity | |
| Return | |
SendPatch
| SendPatch | |
| Channel | |
| Instrument | |
| Return | |
SendPitchChange
| 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 | |
SendPolyPressure
| SendPolyPressure | |
| Sends a note press with an associated polyphonic pressure value. | |
| Channel | |
| Note | |
| Pressure | |
| Return | |