Skip to content

GuitarPrometheus::Midi::InjectionResult

GuitarPrometheus::Midi::InjectionResult

Output of inject(). More…

#include <KeyswitchInjector.h>

Public Attributes

Name
std::map< juce::Uuid, std::vector< MidiEvent > >eventsByPart
std::vector< std::string >warnings

Detailed Description

struct GuitarPrometheus::Midi::InjectionResult;

Output of inject().

eventsByPart is keyed by [Part::getId()](/api-reference/classes/classguitarprometheus_1_1songstructure_1_1part/#function-getid); each value is a stable-sorted vector of [MidiEvent](/api-reference/classes/structguitarprometheus_1_1midi_1_1midievent/)s ordered first by tick, then by priority (Meta < ProgramChange < BankSelect < keyswitch-NoteOn < note-NoteOn < ControlChange < note-NoteOff < keyswitch-NoteOff). warnings lists non-fatal issues (e.g. a drum note whose instrument-ref is not present in the profile’s drumMap).

Public Attributes Documentation

variable eventsByPart

std::map< juce::Uuid, std::vector< MidiEvent > > eventsByPart;

variable warnings

std::vector< std::string > warnings;

Updated on 2026-05-29 at 07:39:52 +0000