-
... ary (abs, reciprocal, etc.), binary (+, -, *, /, **, min, max, etc.) and n-ary (clip, wrap, fold, linlin, linexp, etc.) operators are all valid with patterns. // Random integers, 1-5 Pwhite (1, 5, inf ).asStream.nextN(10); // Random integer ...
-
... loc(s,2048,1); ) //// proof of concept ( x = { var inA, chainA, chainB; inA = LFClipNoise .ar(100); chainA = FFT (b, inA); chainB = PV_Copy (chainA, c); IFFT (chainA) - IFFT (chainB); // cancels to zero so silent! }.play(s); ) x.free; // IF ...
-
... s of expression consistently. eg. variable_ { arg newValue; variable = newValue.clip(minval,maxval); } A setter method should always return the receiver. This is standard OOP practice (outside of SC as well). Do not return the new value fro ...
-
... ) }, \bufnum , Pfunc ({ |ev| ~midinotes.indexInBetween(ev[ \freq ].cpsmidi) }) .clip(0, ~midinotes.size - 1.001) ).play; ) p.stop; b.do( _ .free); ~baseBuf.free; Previous: PG_Cookbook04_Sending_MIDI Next: PG_Cookbook06_Phrase_Network
-
... array must be a FloatArray or Signal, with all values between -1 and 1 to avoid clipping during playback. Example: ( f = SoundFile .new.headerFormat_( "AIFF" ).sampleFormat_( "int16" ).numChannels_(1); f.openWrite( "sounds/sfwrite.aiff" ); ...
-
... se are equivalent a[2]; See ArrayedCollection for the principal methods: at put clipAt, wrapAt etc. Literal Arrays can be created at compile time, and are very efficient. See Literals for information. Class Methods *with(... args) Create a ...
-
... ue = 2; // does action if it results in a change of value b.valueAction = 3; // clips to size of states b.valueAction = -1; // floats no problem b.valueAction = 3.3; //In a musical context, a button-down press is more meaningful than a butt ...
-
... cillate between 1 and -1. This is a good default as anything bigger would cause clipping and distortion. A mul of 0 would be effectively silent, as if the volume knob was turned all the way down. To make clearer how mul works, here is a gra ...
-
... lor. val - Varies the RGB values +- this amount. Default value is 0.1. lo - Low-clips the RGB variation here . Default value is 0.3.. hi - High-clips the RGB variation here . Default value is 0.9. alphaVal - Varies the alpha value +- tis am ...
-
... rent maximum size of a filtered SCImage is 4096 / 4096. Any larger size will be clipped. by default crop is constrained to the receiver bounds. region - NOTE: supported only in Mac OS 10.5 and later. option to constrain the filter to a spec ...