MCPcopy Create free account
hub / github.com/VCVRack/AudibleInstruments / getModel

Method getModel

src/Elements.cpp:265–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 }
264
265 int getModel() {
266 // Use the first channel's Part as the reference model
267 if (parts[0]->easter_egg())
268 return -1;
269 return (int) parts[0]->resonator_model();
270 }
271
272 /** Sets the resonator model.
273 -1 means easter egg (Ominous voice)

Callers 1

stepMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected