Public Member Functions | Public Attributes | List of all members
universal_midi_packets::ToUMP2Converter Struct Reference

Allows conversion from bytestream- or Universal MIDI Packet-formatted messages to MIDI 2.0 messages in UMP format. More...

Public Member Functions

template<typename Fn >
void convert (const MidiMessage &m, Fn &&fn)
 
template<typename Fn >
void convert (const View &v, Fn &&fn)
 
void reset ()
 

Public Attributes

Midi1ToMidi2DefaultTranslator translator
 

Detailed Description

Allows conversion from bytestream- or Universal MIDI Packet-formatted messages to MIDI 2.0 messages in UMP format.

Member Function Documentation

◆ convert() [1/2]

template<typename Fn >
void universal_midi_packets::ToUMP2Converter::convert ( const MidiMessage m,
Fn &&  fn 
)

◆ convert() [2/2]

template<typename Fn >
void universal_midi_packets::ToUMP2Converter::convert ( const View v,
Fn &&  fn 
)

◆ reset()

void universal_midi_packets::ToUMP2Converter::reset ( )

Member Data Documentation

◆ translator

Midi1ToMidi2DefaultTranslator universal_midi_packets::ToUMP2Converter::translator

Referenced by convert(), and reset().


The documentation for this struct was generated from the following file: