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

Method PostRepatch

Source/PitchToValue.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void PitchToValue::PostRepatch(PatchCableSource* cableSource, bool fromUserClick)
56{
57 for (size_t i = 0; i < mTargets.size(); ++i)
58 {
59 if (i < mControlCable->GetPatchCables().size())
60 mTargets[i] = dynamic_cast<IUIControl*>(mControlCable->GetPatchCables()[i]->GetTarget());
61 else
62 mTargets[i] = nullptr;
63 }
64}
65
66void PitchToValue::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation)
67{

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
GetTargetMethod · 0.45

Tested by

no test coverage detected