MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / Event

Class Event

Lib/Model/Notes.h:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21{
22public:
23 typedef struct Event {
24 double startTime;
25 double endTime;
26 int startFrame;
27 int endFrame;
28 int pitch; // pitch is not in Hz, but in "MIDI note number"
29 double amplitude;
30 std::vector<int> bends; // One vale of pitch bend per frame. Units is 1/3 of semitones.
31
32 bool operator==(const struct Event&) const;
33 } Event;
34
35 typedef struct ConvertParams {
36 /* Note segmentation (0.05 - 0.95, Split-Merge Notes) */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected