Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. TestClockTempoInterpolationscd Quark

    ... nil, { ~wasDone = false }); //Stop previous one r.stop; }); //Re-assign the new routine r = Routine.run({ var env = Env([0, 1, 0, 1], [1, 2, 3]); var time = 5; var delta = 0.1; var counter = 0; var done = false; var timesSum = env.times.sum ...

  2. GenomeUtilityClasses Quark

    ... ProteinBioSynthesis main folder AminoacidPattern2 : CodonPattern { asStream { ^Routine({ var numstream, triplstream; triplstream = super.asStream; numstream = super.asStream.collect({ arg item; this.translate(item) }); loop({ [numstream.ne ...

  3. ChordCheck Quark

    ... } *check {arg num, func; if(classlock) { classchord = classchord.add(num); } { Routine({ classlock = true; classchord = [num]; waittime.yield; func.value(classchord.sort.removeDups); classlock = false; }).play; }; } init {} check {arg num, ...

  4. GenomePattern Quark

    ... 1, offset=0; ^super.new(genome).repeats_(repeats).offset_(offset) } asStream { ^Routine.new({ arg inval; var item, offsetValue; offsetValue = offset.value; repeats.value.do({ arg j; this.size.do({ arg i; item = genome @@ (i + offsetValue); ...

  5. GMCycleView Quark

    ... sStates = anArray; // Defer the refresh call // because we're probably inside a routine { this.refresh; }.defer; } reset { thisStates = Array.fill(thisCycles.size, { 0 }); // Defer the refresh call // because we're probably at the end of a ...

  6. MoltenPiece Quark

    ... .) before playAction executes. You should fork a thread in this function (eg. a Routine) wait until you are done with your initialization and should call "signal" on your parent MoltenMaster instance. playAction_(arg1) playAction The action ...

  7. SCLOrkSamples Quark

    ... er.default.waitForBoot({ // p = PathName.new(Quarks.folder ++ "/Dirt-Samples"); Routine.run({ p.entries.do({ |thisEntry| if( thisEntry.isFile, { // loads a single file (if a valid extension) SCLOrkSamples.loadFile(thisEntry.fullPath); time. ...

  8. sKeyCpad Quark

    ... alette; var fnt= Font.monospace(10); //--functions and objects var sendOsc; var routine; var plate= #[ [0, 1, 2, 3, 4, 5], [6, 7, 8, 9, 10, 11], [12, 13, 14, 15, 16, 17], [18, 19, 20, 21] ]; var external= #[ [80, 81, 82, 83, 84, 85], [86] ] ...

  9. PatternDurFix Quark

    ... ) % 20 ).asStream; ~condition = Condition(false); ~clock = TempoClock.default; ~routine = Routine({ loop { ~player !? _.stop(); // stop the old one, if there is an old one ~player = EventStreamPlayer(~stream, Event.parentEvents.default); ~p ...

  10. ClockAudioMulch Quark

    ... jedahl 2010-2011 //todo: use SkipJack for permanent clocks or just recreate the routine at cmdperiod? ClockAudioMulch : TempoClock { var <>addr, <>tick= 0, <>shift= 0, task; *new {|tempo, beats, seconds, queueSize= 256, addr| ^super.new.ini ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow