X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fevoral%2Fevoral%2FNote.hpp;h=c8365588ee2da07565fa12077a517459e955a9f2;hb=96d62ba6b4d1454c13c4a4d9c21f20edbdf55f61;hp=75a8046237d784d0ad3b949e3dad9c0aa3393109;hpb=a2d2f738cb63dbf0fb89e0a00c424ce883fb7888;p=ardour.git diff --git a/libs/evoral/evoral/Note.hpp b/libs/evoral/evoral/Note.hpp index 75a8046237..c8365588ee 100644 --- a/libs/evoral/evoral/Note.hpp +++ b/libs/evoral/evoral/Note.hpp @@ -20,7 +20,7 @@ #define EVORAL_NOTE_HPP #include -#include +#include "evoral/MIDIEvent.hpp" namespace Evoral { @@ -29,15 +29,16 @@ namespace Evoral { * * Currently a note is defined as (on event, length, off event). */ +template class Note { public: - Note(uint8_t chan=0, EventTime time=0, EventLength len=0, uint8_t note=0, uint8_t vel=0x40); - Note(const Note& copy); + Note(uint8_t chan=0, Time time=0, Time len=0, uint8_t note=0, uint8_t vel=0x40); + Note(const Note