MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / operator==

Method operator==

Lib/Model/Notes.cpp:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "Notes.h"
6
7bool Notes::Event::operator==(const Notes::Event& other) const
8{
9 return this->startTime == other.startTime && this->endTime == other.endTime && this->startFrame == other.startFrame
10 && this->endFrame == other.endFrame && this->pitch == other.pitch && this->amplitude == other.amplitude
11 && this->bends == other.bends;
12}
13
14std::vector<Notes::Event> Notes::convert(const std::vector<std::vector<float>>& inNotesPG,
15 const std::vector<std::vector<float>>& inOnsetsPG,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected