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

Function ofRandom

Source/OpenFrameworksPort.cpp:402–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402float ofRandom(float max)
403{
404 return max * gRandom01(gRandom);
405}
406
407float ofRandom(float x, float y)
408{

Callers 15

ProcessMethod · 0.85
PlayNoteMethod · 0.85
DrawSyntaxHighlightMethod · 0.85
ProcessFrameMethod · 0.85
SpawnGrainMethod · 0.85
SpawnMethod · 0.85
RandomizeSettingsMethod · 0.85
RandomizeRowMethod · 0.85
OnTimeEventMethod · 0.85
OnTimeEventMethod · 0.85
OnTransportAdvancedMethod · 0.85

Calls

no outgoing calls

Tested by 4

NoteStepSequencerMethod · 0.68
RandomizePitchesMethod · 0.68
RandomizeVelocitiesMethod · 0.68
RandomizeLengthsMethod · 0.68