-
... // had to round due to problems .add(envViewList[1].value.round(0.01)); // with float res in archive ^[2, point, params]; } }
-
... ct all on a single line. | | `%s` | String. | | `%d` | Number (both integer and float). | | `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | | `%%` | Single percent sign ('%'). This does not ...
-
... e resolved[\srcBuffer] !? { resolved[\srcBuffer].write(resolved[\path], "wav", "float"); resolved[\srcBuffer].server.sync; }; sample = SampleDescript(resolved[\path], loadToBuffer: true, filenameAsNote: filenameAsKeynum, normalize: normaliz ...
-
... [A-Za-z0-9_]*", int: "(-[0-9]+|[0-9]+)", // http://www.regular-expressions.info/floatingpoint.html float: "[\\-+]?[0-9]*\\.?[0-9]+([eE][\\-+]?[0-9]+)?", spc: " " // space, tab, return ); /************** Listing 46. Template for cll statemen ...
-
... o subtracting should give zero. // Of course there's some rounding error due to floating-point accuracy. var tests = Dictionary[ ////////////////////////////////////////// // Ramp generators: "Line.ar can match LFSaw.ar" -> {Line.ar(0,1,1) ...
-
... ndFile.path; action.value; }; }; tempChain.writeAudioFile( path, sampleFormat: "float", numChannels: usedBuses.size, action: newAction ? action ); } makeView{ |i=0,minWidth, maxWidth| ^UChainEventView(this, i, minWidth, maxWidth) } isPlayin ...
-
... (source.notes[splice-1] + cross.intervals[spl2 - 1] - cross.notes[spl2].freq).asFloat; new = new ++ (cross.notes.copyRange(spl2, spl2 + spl2size - 1) + current); // last note copied + transposition + next interval from source - next note (s ...
-
... array = array.extend( 2, array.last ); }; array = array.collect({ |item| item.asFloat.clip( clipLo, clipHi ); }); case { (array[1] - array[0]) < minRange } { //"clipped minRange".postln; array = array.mean + ( minRange * [-0.5,0.5] ); case ...
-
... (source.notes[splice-1] + cross.intervals[spl2 - 1] - cross.notes[spl2].freq).asFloat; new = new ++ (cross.notes.copyRange(spl2, spl2 + spl2size - 1) + current); // last note copied + transposition + next interval from source - next note (s ...
-
... ndFile.path; action.value; }; }; tempChain.writeAudioFile( path, sampleFormat: "float", numChannels: usedBuses.size, action: newAction ? action ); } makeView{ |i=0,minWidth, maxWidth| ^UChainEventView(this, i, minWidth, maxWidth) } isPlayin ...