-
... NRand , Rand , TExpRand , TIRand , TRand Description Generates a single random float value in an exponential distributions from lo to hi . It generates this when the SynthDef first starts playing, and remains fixed for the duration of the ...
-
... the interactive sequencer OSSIA/score (https://github.com/OSSIA/score.git) */ + Float { *ossiaWsWrite { | anOssiaParameter, ws | ws.writeOsc(anOssiaParameter.path, anOssiaParameter.value); } *ossiaSendMsg { | anOssiaParameter, addr | addr.s ...
-
... voke Example: The Objective-C synthax: NSNumber *n = [[ NSNumber alloc] initWithFloat: 1.1]; [n floatValue]; turns into: n = SCNSObject ( "NSNumber" , "initWithFloat:" , [1.1]); n.invoke( "floatValue" ); Multiple messages are put together i ...
-
... pec(\freq), \scaleStream -> StreamSpec(scale), // chord changes are an array of float arrays // TwoDArraySpec works // but it has to accept patterns // or maybe always doing chord changes as a stream is best. // you can always return a Pseq ...
-
... 480"], [-36rZIGZAG, "-2147341480"], [2r01100, "12"], [-2r01100, "-12"], // test Float [2.0, "2.0"], [-2.0, "-2.0"], [1e4, "10000.0"], [-1e4, "-10000.0"], [1e-4, "0.0001"], [-1e-4, "-0.0001"], [0.5pi, "1.5707963267949"], [-0.5pi, "-1.5707963 ...
-
... 13/06/Basimal-Fractions-Part-A-only.pdf //it doesn't work perfectly due to floating point errors, I can't find an arbitrary precision float for SC ~fraction2basimal.(1/3, 10); //without rounding in the equals comparision, this returns ...
-
... s[2..]; pitches = pitches.collect {|line| case { line.contains(".") } { (line.asFloat * 0.01) } { line.contains("/") } { var parts = line.split($/); var ratio = parts[0].asFloat / parts[1].asFloat; ratio.ratiomidi } { true } { line.asFloat ...
-
... so on. /* format of each entry: * 0 or 1: leftIsLeaf * 0 or 1: rightIsLeaf * k floats: location * 1 float: label */ var numChannels = tree.location.size + 3; var array = {{0.0}.dup(numChannels)}.dup(tree.highestUniqueId+1); tree.do{|node| ...
-
... oke . Example: The Objective-C synthax: NSNumber *n = [[NSNumber alloc] initWithFloat: 1.1]; [n floatValue]; turns into: n = SCNSObject("NSNumber", "initWithFloat:", [1.1]); n.invoke("floatValue"); Multiple messages are put together in one ...
-
... se to calculate? if(unitsdone>=(totalunits-0.000001), //account for very slight floating point errors { //new cutsize? subdiv= sdiv.value.round(1.0).asInteger; //integers only //new number of beats to cut into subdiv units sdivbeats=barleng ...