Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (106) Code (4) Doc (38) Help (12) Quark (52) SCDoc ↗ Forum ↗ Google ↗
  1. AlgaPatternInterpStreams Quark

    ... current state. AlgaPatternInterpStreams { var <algaPattern; var <server; //The time entries var <>dur, <>durAlgaPseg; var <>sustain, <>sustainAlgaPseg; var <>stretch, <>stretchAlgaPseg; var <>legato, <>legatoAlgaPseg; //\def var <>def, <>d ...

  2. SSampler Quark

    ... tour of a playEnv call: the main env pointwise-multiplied //by the user ampenv (stretched to the same domain). ampenv nil -> env itself. *envComposite {|env, ampenv| if(ampenv.isNil) {^env}; ^env ** SSampler.toFlatEnv(ampenv).stretch(env.du ...

  3. bendenv_align_tests Quark

    ... ostln; }; }; // Independent oracle: brute-force source consumption under a wall-time bend env. // Returns the wall time at which `sourceAmount` (nominal-playback seconds) has // been consumed, starting from wall time `from`. var bruteWallTi ...

  4. Bend Quark

    ... 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) }) * 0.1 }.play ) // basic test { Bend .time( MouseX .kr(-2, 2), { SinOsc .ar(656, LFPar .ar(12000)) * LFSaw .ar([70, 37]) }) * 0.1 }.play; ( // time warped analog bubbles, time scale is mouse x posit ...

  5. Bend Quark

    ... 10000.0) } ! 17, 0, { 1.0.rand } ! 17)) }) * 0.1 }.play ) // basic test { Bend .time( MouseX .kr(-2, 2), { SinOsc .ar(656, LFPar .ar(12000)) * LFSaw .ar([70, 37]) }) * 0.1 }.play; ( // time warped analog bubbles, time scale is mouse x posit ...

  6. scm_synthdef_autoload Quark

    ... ; OffsetOut.ar(out, Pan2.ar(sig, pan, amp)); }).store(); ); ( SynthDef(\SCM_PlayStretch, { |bufnum=0, pos=0, rate=1, time=1, stretch=1, boost=01 atk=0.01, rel=0.05, amp=1, pan=0, out=0| var sig = PlayBuf.ar(1, bufnum, rate: rate * stretch.r ...

  7. Event patterns and LFOs Quark

    ... control parameter. 1.) Control by new values per event Example 1a: Functions of time ( s = Server .local; Server .default = s; s.boot; ) ( // LFO defined as Function f = { |x| (x * 2).sin * 3 + (x * 0.3).sin }; p = Pbind ( \dev , Ptime ().c ...

  8. modalElectricGuitar Quark

    ... ined by a standard stiff string model in freqArray, where 0.00001 is a constant stretching these frequencies a tiny bit from the harmonic series. Similarly, the decay times of each mode are found by decArray, where decayCoef and dampCoef (w ...

  9. Envelop Quark

    ... fset: offset); } //Multiply the amplitude of two FLAT Envs ** {|anotherEnv| var timeline = (this.timeLine.asArray ++ anotherEnv.timeLine.asArray).removeDups.sort; var amp = []; timeline.do{|time, index| amp = amp.add(this.at(time) * another ...

  10. SFPlayer Quark

    ... rPreloaded = false, <isStopping = false, <isStarting = false, wasPlaying, <startTime, lastTimeForCurrentRate = 0; var <loop = false, <loopBeginning, <loopEnd; // var <openFilePending = false, <openGUIafterLoading = false; var <>duplicateSin ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow