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

Method QueuePlayNote

Source/NoteOutputQueue.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include "ModularSynth.h"
29
30void NoteOutputQueue::QueuePlayNote(NoteOutput* target, double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
31{
32 PendingNoteOutput output;
33 output.target = target;
34 output.time = time;
35 output.pitch = pitch;
36 output.velocity = velocity;
37 output.voiceIdx = voiceIdx;
38 output.modulation = modulation;
39 mQueue.enqueue(output);
40}
41
42void NoteOutputQueue::QueueFlush(NoteOutput* target, double time)
43{

Callers 1

PlayNoteInternalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected