| 857 | } |
| 858 | |
| 859 | void ScriptModule::SetNumNoteOutputs(int num) |
| 860 | { |
| 861 | while (num - 1 > (int)mExtraNoteOutputs.size()) |
| 862 | { |
| 863 | auto noteCable = new AdditionalNoteCable(); |
| 864 | noteCable->SetPatchCableSource(new PatchCableSource(this, kConnectionType_Note)); |
| 865 | noteCable->GetPatchCableSource()->SetOverrideCableDir(ofVec2f(-1, 0), PatchCableSource::Side::kLeft); |
| 866 | AddPatchCableSource(noteCable->GetPatchCableSource()); |
| 867 | noteCable->GetPatchCableSource()->SetManualPosition(0, 30 + 20 * (int)mExtraNoteOutputs.size()); |
| 868 | mExtraNoteOutputs.push_back(noteCable); |
| 869 | } |
| 870 | } |
| 871 | |
| 872 | void ScriptModule::ConnectOscInput(int port) |
| 873 | { |
nothing calls this directly
no test coverage detected