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

Method ButtonClicked

Source/NoteFlusher.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void NoteFlusher::ButtonClicked(ClickButton* button, double time)
48{
49 if (button == mFlushButton)
50 {
51 mNoteOutput.Flush(time);
52 for (int i = 0; i < 127; ++i)
53 mNoteOutput.PlayNote(time, i, 0);
54 }
55}
56
57void NoteFlusher::LoadLayout(const ofxJSONElement& moduleInfo)
58{

Callers

nothing calls this directly

Calls 2

FlushMethod · 0.45
PlayNoteMethod · 0.45

Tested by

no test coverage detected