Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
USBHostMIDI_Interface.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
10template <size_t MaxPacketSize = 512>
25
41 : public GenericUSBMIDI_Interface<USBHostMIDIBackend<64>> {
42 public:
44};
45
66
#define END_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
AH::Array< uint8_t, 4 > u32_to_bytes(uint32_t u)
Definition USBMIDI.hpp:14
uint32_t bytes_to_u32(uint8_t b0, uint8_t b1, uint8_t b2, uint8_t b3)
Definition USBMIDI.hpp:23
A class for MIDI interfaces sending MIDI messages over a USB MIDI connection.
uint32_t read()
Try reading a 4-byte MIDI USB message.
void write(uint32_t msg)
Send a MIDI USB message.
MIDI over USB backend for the Teensy USBHost_t36 library.
void write(MIDIUSBPacket_t data)
USBHostMIDIBackend(USBHost &host)
TeensyHostMIDI< MaxPacketSize > backend
A class for MIDI interfaces sending MIDI messages to a MIDI USB device connected to a Teensy's USB ho...
A class for MIDI interfaces sending MIDI messages to a MIDI USB device connected to a Teensy's USB ho...
An array wrapper for easy copying, comparing, and iterating.
Definition Array.hpp:32
void send_now()
Try sending the buffered data now.