Difference between revisions of "Component: USB MIDI (Comms: USB)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 34: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 317: | Line 321: | ||
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | USB Properties | ||
|- | |- | ||
|- | |- | ||
Line 354: | Line 362: | ||
| 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" style="background-color:# | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] |
− | | width="90%" style="background-color:# | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|- | |- |
Latest revision as of 17:24, 9 November 2022
Author | 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 Pack
COMMSC
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable 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 |