Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. trigSoundFile Quark

    ... tartoffset (samples or seconds) - end: end of the region (samples or seconds) - loop: loop mode on or off (can be changed during playback, crossfade time does not apply here) - rate: playback rate (semitones or ratio) rateScale: a scale val ...

  2. UScore example Quark

    ... evt = BufSndFile("@resources/sounds/a11wlk01-44_1.aiff", rate: (i-6).midiratio, loop: [true,false].wrapAt(i) ).makeUChain .releaseSelf_(true).startTime_(i/2).track_(i).fadeOut_(1).fadeIn_(1); if( evt.duration == inf ) { evt.duration = 8; // ...

  3. UScore example Quark

    ... evt = BufSndFile("@resources/sounds/a11wlk01-44_1.aiff", rate: (i-6).midiratio, loop: [true,false].wrapAt(i) ).makeUChain .releaseSelf_(true).startTime_(i/2).track_(i).fadeOut_(1).fadeIn_(1); if( evt.duration == inf ) { evt.duration = 8; // ...

  4. SteeringBehaviors Quark

    ... (path.finished, {^arrive.value }, {^seek.value } ); } } Path{ var <wayPoints, <>loop, curWayPoint = 0; *new { arg wayPoints, loop = false; ^super.newCopyArgs(wayPoints, loop).init } init{ //PathsManager.add(this) } setNextWayPoint{ if (wayP ...

  5. Prout Help

    ... there is a shortcut to create a Prout: p(func) // example ( var a; a = Prout ({ loop { 1.yield; 2.yield; 7.yield; 10.do { 1.0.rand.yield } }}); a.asStream.nextN(100).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq= ...

  6. TaskProxy Doc

    ... values. TaskProxy. default a default source, if none is given. the default is a loop that does nothing with a 1.0 beat wait time. TaskProxy. defaultQuant TaskProxy. defaultQuant = value set the default quantization value for the class. (def ...

  7. randomSeed Doc

    ... d // every thread, also a Routine, has a random generator seed: ( r = Routine({ loop({#[1,2,3,4,5].choose.yield }) }); r.randSeed = 1923; ) // using the routine to fill an array Array.fill(7, r); // setting the random generator seed back to ...

  8. score playback control 2 Quark

    ... evt = BufSndFile("@resources/sounds/a11wlk01-44_1.aiff", rate: (i-6).midiratio, loop: [true,false].wrapAt(i) ).makeUChain( \wfsSource ) .releaseSelf_(true).startTime_(i/2).track_(i).fadeOut_(1).fadeIn_(1); if( evt.duration == inf ) { evt.du ...

  9. CtLoop Quark

    ... ed. // record controller values, from gamepads and such. adc, haho, 2005-2008 CtLoop : EventLoop { classvar <>minTime = 0.001, <>verbose=false; var <key, <>ctlMap, <list, <task, <isRecording=false, then, <>tempo=1, <>start=0, <>length=1, <> ...

  10. loopr by lfsaw (LFSaw) Code

    variable length looping engine q = (); q.maxRecLength = 10; //in seconds q.numChans = 2; q.maxRecLengthSamples = q.maxRecLength * s.sampleRate; q.recLengthSamples = 0; q.recBuf = Buffer.alloc(s, q.maxRecLengthSamples, 2); q.play ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow