| 53 | } |
| 54 | |
| 55 | void 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 | |
| 66 | void PitchToValue::PlayNote(double time, int pitch, int velocity, int voiceIdx, ModulationParameters modulation) |
| 67 | { |