Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ay must match the argument declaration order as defined in the main kernel vec4 routine . See examples for more info. isValid very basic verification to tell if all arguments of the shader are set. compile compile the SCImageKernel object ( ...

  2. Pdfsm Help

    ... // 2 -> [nil, nil] is also fine ] ], 1, // startState 1 // repeats ).asStream; Routine ({ var freq; while({ (freq = p.next.postln).notNil },{ Synth ( \help_Pdfsm1 , [ \freq , freq.midicps ]); 0.1.wait; }) }).play; ) ( SynthDef ( \help_Pdfs ...

  3. jitlib_basic_concepts_04 Help

    ... nvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ProxySynthDef .sampleAccurate = true ; // steady tone, because sample accurate. ...

  4. Canvas3D Quark

    ... te {|rate, func| animator.stop; if(rate.notNil and: {func.notNil}) { animator = Routine { var frame = 0; while {this.view.notNil and: {animator.notNil}} { func.value(frame); this.refresh; (1/rate).wait; frame = frame + 1; } }.play(AppClock) ...

  5. proto-cmds Quark

    ... ere, not here, but needs to exist ~condition ?? { ~condition = Condition.new }; Routine({ |inval| var item, delta; loop { item = ~seqStream.next(~seqEventProto); if(item.notNil) { delta = ~playItem.(item); delta.yield; // playItem returns t ...

  6. Tendency Quark

    ... his.at(thisTime, dist, parA, parB); inval.yield; } ^inval; } asStream { |dist| ^Routine({ arg inval; this.embedInStream(inval, dist, parA, parB) }); } } +SimpleNumber { at { ^this } }

  7. Player Quark

    ... deID, \amp, newamp)}); } playfunc {arg start, dur; tempoclock = TempoClock.new; Routine.run({ var players, defenv; isPlaying = true; 0.1.wait; bufnum = server.bufferAllocator.alloc(numchan); players = [ // play straight out, as is {arg gate ...

  8. ServerRecordWindow Quark

    ... t, sFormat, fileName, folderName, wasAuto = true; var controls, counter, counterRoutine, counterRoutineFunc; var <>recordNodeID; *new { |server, nodeID| var existing; if( all.asCollection.any({ |item| item.server == server; }) ) { existing ...

  9. MIDIEventRecorder Quark

    ... SimpleMIDIFile // the timeline is kept by Process.elapsedTime, so there are no routines running MIDIEventRecorder { classvar <>global; var <maxEvents = inf; var <startTime = 0; var <events; var <armed = false; var tempTime; var <paused = f ...

  10. PG_06b_Time_Based_Patterns Help

    ... layed on a clock, but streams made from these patterns can be used in scheduled routines or functions as well. Only a scheduling context can ensure precise timing of requests for values. Ptime(repeats): Returns the amount of time elapsed si ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow