|
LMMS
|
#include <juce_UMPUtils.h>
Classes | |
| struct | U4 |
| struct | U8 |
| struct | U16 |
Static Public Member Functions | |
| static constexpr uint32_t | bytesToWord (uint8_t a, uint8_t b, uint8_t c, uint8_t d) |
| static uint32_t | getNumWordsForMessageType (uint32_t) |
| static constexpr uint8_t | getMessageType (uint32_t w) noexcept |
| static constexpr uint8_t | getGroup (uint32_t w) noexcept |
| static constexpr uint8_t | getStatus (uint32_t w) noexcept |
| static constexpr uint8_t | getChannel (uint32_t w) noexcept |
Helpful types and functions for interacting with Universal MIDI Packets.
@tags{Audio}
|
inlinestaticconstexpr |
Joins 4 bytes into a single 32-bit word.
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
Returns the expected number of 32-bit words in a Universal MIDI Packet, given the first word of the packet.
The result will be between 1 and 4 inclusive. A result of 1 means that the word is itself a complete packet.
|
inlinestaticconstexprnoexcept |