Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. helpSettings Quark

    ... 'sine', [ 'str', 'num', 'num' ], {|str, num1, num2| {SinOsc.ar(num1, 0, num2)}.play }, "play sine wave" ], [ 'sineArr', [ 'str', 'arr', 'arr', 'num' ], {|str,arr1,arr2,num| {SinOsc.ar(arr1, num, arr2)}.play }, "play sine wave" ], [ 'ls', [ ...

  2. TestDurInterpolationFinal Quark

    ... odify a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1) * 0.5 }, dur: 0.5 )).play(chans:2); //Metronome b = AP(( def: { EnvPerc.ar(release: SampleDur.ir); Impulse.ar(0) }, dur: 1 )).play(chans:2); }) ) //Using Env and resync a.interpDur( ...

  3. SWDataNetworkLog Quark

    SWDataNetworkLog If data from a network has been recorded, the file can be played back, using this class. *new ( fn, netw ) Create a new instance. fn is the filename. netw is the SWDataNetwork to set the data to. If none is given, the class ...

  4. ChordCheck Quark

    // Check if the player is playing a chord instead of single notes ChordCheck { classvar <> waittime = 0.05; classvar <> classlock = false; classvar <> classchord; var <> lock = false; var <> chord; *new { ^super.new.init(); } *check {arg nu ...

  5. PHelpSynthParPlayer Quark

    ... on, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ PHSparPlayer : PHelpSynthParPlayer {} PHelpSynthParPlayer : PHelpSynthUsePlayer { var <>helpSynthPlayer, <>isSwitchPlaying = false; *new { arg pHelpSynthPar; ^super.n ...

  6. UGenPatterns Overview Quark

    ... e (8).linlin(0, 1, 400, 800)+ PSinOsc (40).linlin(-1, 1, -10, 10), \dur , 0.25).play a.stop //or the same thing without using linlin a= Pbind ( \freq , PLFPulse (8, 0, 0.5, 400, 400)+ PSinOsc (40, 0, 10), \dur , 0.25).play a.stop //--compar ...

  7. SelectL.help Quark

    ... 0.5;\ Out .ar(out,\ SelectL .ar( LFSaw .ar(1.0,0.0,cycle,cycle),a) * 0.2\ )\ \).play;\ \ ) \ \ \ Here used as a sequencer:\ (\ SynthDef ( "help-SelectL-2" ,\ arg speed = 1.0, out=0;\ // compare to Select example \ var a,s,cycle;\ a = Array ...

  8. 3_using_ndefs_hid Quark

    // Ndef is a named placeholder for a sound process Ndef(\x ).play; // put a sound there Ndef(\x, { GrayNoise.ar } ).play; // replace it with a more specific version, e.g. softer? Ndef(\x, { GrayNoise.ar([0.2, 0.2]) } ).play; // or a differe ...

  9. startup12-MIDIInput Quark

    // this guy interrupts a playing stream to allow midi input var saveSubType = AbstractChuckArray.defaultSubType; AbstractChuckArray.defaultSubType = \midiInputWrapper; PR(\abstractProcess).v.clone({ // if true, using this as a wrapper will ...

  10. extScore-playAsTask Quark

    + Score { playAsTask { arg server, clock; var size, osccmd, timekeep, inserver, rout; isPlaying.not.if({ inserver = server ? Server.default; size = score.size; timekeep = 0; routine = Task({ size.do { |i| var deltatime, msg; osccmd = score[ ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow