2 #include <Process/TimeValue.hpp>
4 #include <Midi/Commands/CommandFactory.hpp>
5 #include <Midi/MidiNote.hpp>
7 #include <score/model/path/Path.hpp>
9 #include <score_plugin_midi_export.h>
16 SCORE_COMMAND_DECL(Midi::CommandFactoryName(),
AddNote,
"Add a note")
35 SCORE_COMMAND_DECL(Midi::CommandFactoryName(),
AddNotes,
"Add multiple notes")
48 std::vector<Id<Note>> m_ids;
49 std::vector<NoteData> m_notes;
54 SCORE_COMMAND_DECL(Midi::CommandFactoryName(),
ReplaceNotes,
"Set notes")
57 const ProcessModel& model,
const std::vector<NoteData>& note,
int min,
int max,
69 std::vector<std::pair<Id<Note>,
NoteData>> m_old, m_new;
70 int m_oldmin{}, m_oldmax{}, m_newmin{}, m_newmax{};
Definition: AddNote.hpp:15
Definition: AddNote.hpp:34
Definition: MidiProcess.hpp:15
Definition: AddNote.hpp:53
The id_base_t class.
Definition: Identifier.hpp:57
The Command class.
Definition: Command.hpp:34
Definition: DataStreamHelpers.hpp:103
Definition: MidiNote.hpp:11
Definition: TimeValue.hpp:21
Definition: DocumentContext.hpp:18