-
... CImage. They will be displayed at original size, centered in the button and not clipped. // osx only until JSCImage answers to .width and .height o = Image .open( String .scDir ++ "/SuperCollider.app/Contents/Resources/SCcube.icns" ); p = R ...
-
... lease}}.play//#SuperCollider /* by redfrik */ r{loop{x={GVerb.ar(MoogFF.ar(ClipNoise.ar*0.4,LFPar.kr({0.3.rand}!2,0,600,990)),9,9,1)}.play(s,0,19);3.wait;x.release}}.play//#SuperCollider /* by redfrik */ r{loop{x={BPF.ar(Pluck.ar( ...
-
... 90, 40, 16)) .font_(GUI.font.new("Helvetica", 9)) .step_(0.1) .align_(\center) .clipLo_(0.1) .clipHi_(120.0) .value_(params[3]) .action_({ arg sbs; var val; val = sbs.value.clip(0.1, 120); }); newClearBufButt = GUI.button.new(win, Rect(60, ...
-
... ) { ^inf } { ^unit.get( \u_dur ); }; } /* * sets same duration for all units * clipFadeIn = true clips fadeIn * clipFadeIn = false clips fadeOut */ prSetChainsDur { |dur = inf, clipFadeIn = true| // units.do(_.setDur(dur)); if( releaseSelf ...
-
... 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 ...
-
... r la influencia del control de voltaje correctamente... scaledFreq = scaledFreq.clip(0, 20000); // Se evita que pueda tener una frecuencia superior a 20000. syncIn = In.ar(inputBusSync) + InFeedback.ar(inFeedbackBusSync); pulseMod = (In.ar( ...
-
... caytime: decay, coef: dampen ); snd = FreeVerb.ar(snd, mix, 0.4, 0.8).clip; Out.ar(0, [snd, snd]); //DetectSilence.ar(in: snd, amp: 0.0001, time: 0.01, doneAction: 2); }).add; SynthDef("snare", {arg amp = 0.1, freq = 1 ...
-
... string, value = event; // Wait for the adjusted time for subsequent events time.clip(0, if (maxPlaybackInterval == 0) {inf} {maxPlaybackInterval}).wait; {synthiGME.setParameterOSC(string, value)}.defer(); //("Time: %.3f, String: %s, Value: ...
-
... ); // where does SynthDef code actually begins? sString = sString.drop(beg); // clip off any comments before SynthDef code beg = sString.find("arg"); // index of keyword arg end = sString.find(";"); // index of semicolon at end of arg list ...
-
... ) }, \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