MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / AddHistoryEvent

Method AddHistoryEvent

Source/PatchCableSource.h:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 bool GetIsPartOfCircularDependency() const { return mIsPartOfCircularDependency; }
138
139 void AddHistoryEvent(double time, bool on, int data = 0)
140 {
141 mNoteHistory.AddEvent(time, on, data);
142 if (on)
143 {
144 mLastOnEventTime = time;
145 }
146 }
147 NoteHistory& GetHistory() { return mNoteHistory; }
148 double GetLastOnEventTime() const { return mLastOnEventTime; }
149

Callers 8

DispatchPulseMethod · 0.80
MidiReceivedMethod · 0.80
GoMethod · 0.80
GoMethod · 0.80
PlayNoteInternalMethod · 0.80
FlushMethod · 0.80
StepMethod · 0.80
OnGridButtonMethod · 0.80

Calls 1

AddEventMethod · 0.45

Tested by

no test coverage detected