|
JUCE
|
Allows conversion from bytestream- or Universal MIDI Packet-formatted messages to UMP format. More...
#include <juce_UMPConverters.h>
Public Member Functions | |
| GenericUMPConverter (PacketProtocol m) | |
| void | reset () |
| template<typename Fn > | |
| void | convert (const MidiMessage &m, Fn &&fn) |
| template<typename Fn > | |
| void | convert (const View &v, Fn &&fn) |
| template<typename Fn > | |
| void | convert (Iterator begin, Iterator end, Fn &&fn) |
| PacketProtocol | getProtocol () const noexcept |
Allows conversion from bytestream- or Universal MIDI Packet-formatted messages to UMP format.
The packet protocol can be selected using the constructor parameter.
|
explicit |
| void universal_midi_packets::GenericUMPConverter::reset | ( | ) |
Referenced by universal_midi_packets::BytestreamToUMPDispatcher::reset().
| void universal_midi_packets::GenericUMPConverter::convert | ( | const MidiMessage & | m, |
| Fn && | fn | ||
| ) |
References gl::m, universal_midi_packets::MIDI_1_0, and universal_midi_packets::MIDI_2_0.
Referenced by convert().
| void universal_midi_packets::GenericUMPConverter::convert | ( | const View & | v, |
| Fn && | fn | ||
| ) |
References universal_midi_packets::MIDI_1_0, universal_midi_packets::MIDI_2_0, and gl::v.
|
noexcept |