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

Method onRandomize

src/Tides2.cpp:130–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void onRandomize() override {
131 range = random::u32() % 3;
132 output_mode = (tides2::OutputMode)(random::u32() % 4);
133 ramp_mode = (tides2::RampMode)(random::u32() % 3);
134 }
135
136 void onSampleRateChange() override {
137 ramp_extractor.Init(APP->engine->getSampleRate(), 40.f / APP->engine->getSampleRate());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected