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

Method OnTimeEvent

Source/LFO.cpp:170–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void LFO::OnTimeEvent(double time)
171{
172 if (mOsc.GetSoften() == 0)
173 mRandom.SetValue(ofRandom(1));
174 else
175 mRandom.Start(time, ofRandom(1), time + mOsc.GetSoften() * 30);
176}
177
178void LFO::OnTransportAdvanced(float amount)
179{

Callers 2

UpdateListenersMethod · 0.45
OnDrumEventMethod · 0.45

Calls 4

ofRandomFunction · 0.85
GetSoftenMethod · 0.80
SetValueMethod · 0.45
StartMethod · 0.45

Tested by

no test coverage detected