MostlyHarmless 0.0.1
Loading...
Searching...
No Matches
mostlyharmless_MidiEvent.h File Reference
#include <variant>
#include <optional>

Go to the source code of this file.

Classes

struct  mostly_harmless::events::midi::NoteOn
struct  mostly_harmless::events::midi::NoteOff
struct  mostly_harmless::events::midi::PolyAftertouch
struct  mostly_harmless::events::midi::ControlChange
struct  mostly_harmless::events::midi::ProgramChange
struct  mostly_harmless::events::midi::ChannelAftertouch
struct  mostly_harmless::events::midi::PitchWheel

Namespaces

namespace  mostly_harmless
 The top-level namespace, contains all things plugin-related.
namespace  mostly_harmless::events
 Contains classes and functions related to events.
namespace  mostly_harmless::events::midi

Typedefs

using mostly_harmless::events::midi::MidiEvent = std::variant<NoteOn, NoteOff, PolyAftertouch, ControlChange, ProgramChange, ChannelAftertouch, PitchWheel>

Functions

auto mostly_harmless::events::midi::parse (std::uint8_t b0, std::uint8_t b1, std::uint8_t b2) -> std::optional< MidiEvent >