Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2836) Code (566) Doc (808) Help (347) Quark (1105) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. playInMixerGroup Quark

    ... x] }); ^Synth(this, args, (target ?? { gc.server }).asTarget, addAction); } } + SynthDef { playInMixerGroup { |mixer, target, patchType, args| var result; (args.notNil and: { args.includes(\outbus) }).not.if({ args = args ++ [\outbus, mixer ...

  2. EventShortcuts Quark

    ... ctranspose d: 0.2, // dur s: Scale .chromatic24 // scale ]).play ) // define a SynthDef ( SynthDef ( \test , { |out = 0, freq = 440, width = 0.5, amp = 0.05, gate = 1, att = 0.05, rel = 1, pan = 0| Out .ar(out, Pan2 .ar( Pulse .ar(freq, wi ...

  3. Pisano Melodies by henklasschuit (henk.lasschuit) Code

    ... xponentially, it seems best to assign the values to frequencies. */ s.boot; SynthDef( \puls, {|freq=30, out| Out.ar(out, SinOsc.ar(freq, mul: 0.5*EnvGen.kr(Env.perc(0.01,0.75), doneAction: 2)),0) }).add; ( m=3000; //max index, ...

  4. LagUD Doc

    ... ods Instance Methods Inherited instance methods Examples // used to lag pitch ( SynthDef(\lagud_help, { |out, freq = 300, lagup = 1, lagdown = 5| Out.ar(out, SinOsc.ar( // sine wave LagUD.kr( // lag the frequency freq, lagup, lagdown ), 0, ...

  5. WrapIndex Doc

    ... // 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( WrapIndex.kr( bufnum, MouseX.kr(0, BufFrames.ir(bufnum) * 3) ), 0, 0.5 ) ) }).play(s, [\buf ...

  6. Punop Help

    ... ; Pseq ([0.2, 0.5, 0.8]).coin; Pwhite (-100, 100, inf ).abs; // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2, amp), doneAction:2); Out .ar ...

  7. RedSFPlayer Quark

    ... ivate prRead {|path| buffer= Buffer.read(server, path); } prSendDefs { 8.do{|i| SynthDef("redSFPlayer"++(i+1), {|out= 0, rate= 1, atk= 0, rel= 0, loop= 1, amp= 1, buf, gate= 1| var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2); v ...

  8. analyze a sample with SCMIR and sort sample segments by similarity by 0-2U (grirgz) Code

    ... it:10, metric:2); // create similarityMatrix ( // simple buffer player SynthDef(\playersec, { arg out=0, amp=0.1, gate=1, pan=0, freq=200, bufnum, speed=1, pos=0, doneAction=2, loop=0, trigger=1, velamp=1; // pos in seconds var ...

  9. Pmeanrand Doc

    ... histo(500).plot(bounds: Rect(10, 410, 520, 380), parent: w)) // sound example ( 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, ...

  10. spawnSynthGranulizer by bateslewis (bateslewis) Code

    ... refers to the parent and child streams of the Pspawn ( Routine.run{ SynthDef(\sinGab, { |amp=0.1, freq=440, bend=1.0, sustain=0.05, pan=0, filter=22000, hiPass=20, vol=1| var snd = HPF.ar((LPF.ar(FSinOsc.ar(Line.ar(freq, freq ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow