Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. MarkovPatterns Quark

    ... h markov set } } //uses a pattern of indices to walk through a MarkovDict. uses wrapped indexing. Pmswitch : Pfsm2 { var <>which; *new { arg markovset, which, repeats=1; ^super.new(markovset, repeats).which_(which) } embedInStream { arg inv ...

  2. test polygon inside detection Quark

    ... vector connecting edge k to edge k-1 ~vecs = p.size.collect{ |i| p[i] - p[(i-1).wrap(0,p.size-1)] }; //vector connecting edge k to point ~vecs2 = p.collect{ |x| ~point - x }; // if crossproducts of vector connecting edge k-1 to k and vector ...

  3. TestJSONlib Quark

    ... "Value can be false"); this.assertEquals(j[\null].class, Ref, "Null needs to be wrapped in a Ref"); this.assertEquals(j[\null].value, nil, "Unwrapping Ref(nil) should be nil"); } test_stringsDecode { var j = this.prParseJsonFile("strings.js ...

  4. SamplerVoice Quark

    //A lightweight proxy wrapping a playing Synth with its metadata. //Unknown messages (.set/.free/.release/...) forward to the synth, so code that //grabs entries from SamplerQuery.playing for MIDI CC control works unchanged. SamplerVoice { ...

  5. Hadron-Changelog Quark

    ... CodeSequencer . * HadronPlugin window has acceptsMouseOver set to true now. * HrWrapSynth synth instance has a getter now. * Collide button in main GUI is an HrButton now for midi triggering. * Some little GUI tweaks. * HrFreeVerb is remove ...

  6. test UPattern Quark

    ... xt ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi.next ).yield; }; }.r; }).mappedArgs_([\lo, \hi]) .setSpec( \steps, [-100,100,\lin].asSpec ) .category_( 'pat ...

  7. test UPattern Quark

    ... xt ).yield; inf.do { |i| current = (current + ((1/steps.next).clip2( 1.0e12 ))).wrap( 0.0, 1.0 ); current.linlin( 0, 1, lo.next, hi.next ).yield; }; }.r; }).mappedArgs_([\lo, \hi]) .setSpec( \steps, [-100,100,\lin].asSpec ) .category_( 'pat ...

  8. 3_serversidemethods Quark

    ... ) ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) } ); /// clipping, folding, wrapping Ndef( \testSynth, { arg freq=440, ampin=64, t_trig=1, dur=1; SinOsc.ar( freq, 0, ampin.clip( 0, 0.2 ) ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) ...

  9. Rotation Quark

    ... n) * (2 / insize)); }); } } SelectL : UGen { // select and interpolate // does wrap!! *ar { arg which, array; var whichfrac, whichfloor; // if 'which' is .kr klicks are heard at the turning points.. // use .arSwitch to avoid this (or use K ...

  10. ReadWriteBufSndFile Quark

    ... eChannels.size ).not ) { value.useChannels = (..numChannels.asCollection[0]-1) .wrap( 0, value.numChannels ); }; }; }; ^value; } map { |in| ^this.constrain( in ) } unmap { |in| ^in } default { ^nil.asReadWriteBufSndFile; } *newFromObject { ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow