Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. ZZZ Quark

    ... saw = LFSaw.ar(freq: freq, iphase: iphase, mul: mul, add: add) * sawAmp, sine = SinOsc.ar(freq, 0, 0.5) * sineAmp; OffsetOut.ar( out, triangle + pulse + saw + sine ) }, variants: ( triangle: [mul: 0.5, add: 0.0, triAmp: 1.0], pulse: [width: ...

  2. basic_telepathy_test Quark

    ... env = EnvGen.ar(Env.perc(0.01, sustain), 1, doneAction:2); Out.ar(out, Pan2.ar(SinOsc.ar(freq, 0.5pi, amp * env), pan)); }).add; ) ( Pbind(\instrument, \Pdefhelp, \dur, 0.5, \note, Pseq([0, 3, 6, 7], inf)).play(b, quant: 1); Pbind(\instrum ...

  3. FbNode Quark

    ... ay line: self-modulating sine wave. ( { var fbNode = FbNode ( 1 ); var signal = SinOsc .ar( 100 , fbNode * Line .kr( 0 , 2 , 10 ) ); // the FbNode is used to modulate the SinOsc's phase fbNode.write(signal); signal ! 2 ; }.play; ) // Two de ...

  4. HierSch Quark

    ... rg out = 0, mfreq = 69, pan = 0, gain = 0.2, dur = 0.25; Out .ar(out, Pan2 .ar( SinOsc .ar(mfreq.midicps, 0, EnvGen .kr(envelope: ( Env .perc(0.01, dur)), doneAction: 2)), pan, gain)); }).add; m = { |f| Synth ( \midiPing , [ \mfreq , f + 69 ...

  5. SharedWFSExample Quark

    ... it; } }).play; ) Tdef ( \randPan ).stop; Tdef ( \randPan1 ).stop; x.free; x = { SinOsc .ar(100) * 0.1 }.play(s, s.myOuts[2]); // xy pendulum - lissajou figures ( Tdef ( \pendulum , { inf .do { |i| var xpos = (i * 0.02).sin * 7; var ypos = ( ...

  6. Filter Quark

    ... rg mix=0 , match=0.3 , lffreq=0.1 , sinadd = 300; var concat, control; control= SinOsc.ar(0.5)*Saw.ar(SinOsc.kr(LFNoise0.kr(lffreq,3,4.5),0,50,sinadd)); concat= Concat2.ar(control,\in,4.0,4.0,4.0,match,0,0.5,1.0,0.5,0.0); ((concat*mix.linli ...

  7. Other event and pattern shortcuts Quark

    ... define SynthDef SynthDef ( \x , { |out = 0, freq = 440, amp = 0.05| Out .ar(0, SinOsc .ar(freq, 0, amp) * EnvGate .new) }).add // run synth, audible beats with equal temperature, pitches given as notes ('n') (i: \x , n: [0, 4, 7], d: 3).on ...

  8. CtkScore Quark

    ... .new; b = CtkScore .new; z = CtkSynthDef ( \test , { arg freq, dur; Out .ar(0, SinOsc .ar(freq, 0, XLine .kr(0.1, 0.0001, dur))) }); t = 0.0; while({ b.add(z.new(t, 0.1).freq_(440).dur_(0.1)); t = t + 0.1; t < 5.0; }); a.add(b); a.saveToFi ...

  9. sclork_chat_test Quark

    ... + 256.rand]; (5.rand + 1).wait; switch (i, 1, { msgType = \code; contents = "{ SinOsc.ar }.play"; }, 2, { msgType = \shout; }); bot.sendMessage(SCLOrkChatMessage.new( bot.userId, [ 0 ], msgType, contents ) ); (5.rand + 1).wait; }); 1.wait; ...

  10. NB Quark

    ... 25); n.fill(1, 1, 1); n.text("sc3 ++ nodebox", 10, 26); n.fontsize(16); n.text("SinOsc.ar(440)", 282, 289); n.fill(1, 1, 1, 0.05); n.rect(0, 0, 50, 300); n.oval(0, 267, "HEIGHT", 200); n.displayCode } *test1_imageDisplay { var n; n = NB("te ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow