-
... hods Examples Classes (extension) | Extensions PersistentMainFX Extension Add a synthdef to the main output of SuperCollider Location: NOT INSTALLED! See also: Quarks Description This class enables all it's subclasses to create a "persisten ...
-
( SynthDef(\defaultP, { arg out=0, freqBuffersIndex=0, freqBuffers=0, amp=0.1, pan=0, time = 2; var z; var freq = BufRd.kr(1, freqBuffers, freqBuffersIndex, 0, 0); z = LPF.ar( Mix.new(VarSaw.ar(freq + [0, Rand(-0.4,0.0), Rand(0.0,0.4)], 0, ...
-
... sub octave is more distorted and gritty than subBass1. Josh Mitchell, 8/19. */ SynthDef(\subBass2, { arg //Blend goes from 0 to 1 out = 0, amp = 0.5, pan = 0, freq = 440, att = 0.001, rel = 1, curve = 8, blend = 0.5; var env, in, ina, sync ...
-
... } needsReCompile { | name, maxOrder, speaker_array | var desc = SynthDesc.read( SynthDef.synthDefDir ++ name ++ ".scsyndef")[name.asSymbol]; if (desc.notNil) { ^desc.metadata[\order] != maxOrder; } { ^true; }; } format {} // override this m ...
-
Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code
... d.doOnce({if(w.isClosed.not, {w.close})}); /////////////////////// // Synthdef(s) /////////////////////// SynthDef(\gliss, { arg freq=440, gate=1, amp=0.0, out=0; var sig, env; freq = Lag.kr(freq, 1); amp = Lag.kr(am ...
-
... erCollider, Env s have a default maximum number of values , which is defined at SynthDef creation. This needs to be assigned to the GMCurveEnvView using maxSize to prevent the user from exceeding the length of the Env . This widget only man ...
-
Timing variations... ( SynthDef(\sound, { arg i_bus = 0, amp = 0.1, freq = 440, sustain = 1, pan = 0; var env, osc, out; env = EnvGen.kr(Env.perc(0.01, sustain, amp),doneAction:2); osc = SinOsc.ar([freq, freq * 1.005, freq * 0.995] ...
-
... Stream; 24.do({ x.next.postln }); ) // Pswitch used as a sequence of pitches: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... .1), 0, 0.1) }.play; { SinOsc.ar(MouseButton.kr(400, 740, 2), 0, 0.1) }.play; ( SynthDef(\mousexyb, { |out = 0| var mousex, mousey, mousebutton; mousex = MouseX.kr(500, 1000); // this will determine the frequency of the sound (minimum value ...
-
... // alloc and set the values s.listSendMsg(b.allocMsg(b.setnMsg(0, t)).postln); SynthDef(\help_Index, { |out = 0, bufnum = 0| Out.ar(out, SinOsc.ar( FoldIndex.kr( bufnum, MouseX.kr(0, BufFrames.ir(bufnum) * 3) ), 0, 0.5 ) ) }).play(s, [\buf ...