Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (16) Code (4) Doc (6) Quark (6) SCDoc ↗ Forum ↗ Google ↗
  1. Pbjorklund Quark

    //redFrik //--related: Bjorklund, Pbjorklund2 Pbjorklund : Pattern { var <>k= 4, n= 8, <>length= inf, offset= 0; *new {|k, n, length= inf, offset= 0| ^super.newCopyArgs(k, n, length, offset); } storeArgs {^[k, n, length, offset]} embedInStr ...

  2. Bjorklund2 Quark

    // by Juan A. Romero // Based on the Bjorklund Quark // gives ratios for durations instead of arrays with binaries Bjorklund2 { *new {|k, n| var b = Bjorklund(k, n); var r = b.indicesOfEqual(1).replace(0, b.size); r = r.rotate(-1).different ...

  3. Bjorklund Quark

    //redFrik //--related: Pbjorklund, Bjorklund2 Bjorklund { *new {|k, n| ^this.fromArray([1].dup(k)++[0].dup(n-k)); } *fromArray {|arr| ^this.prFromArray(arr.collect{|x| x.asCollection}); } //--private *prFromArray {|arr| var a, b; #a, b= thi ...

  4. Pbjorklund2 Quark

    // by Juan A. Romero // Based on the Bjorklund Quark // gives ratios for durations instead of arrays with binaries Pbjorklund2 : Pbjorklund { embedInStream {|inval| var kStr= k.asStream; var nStr= n.asStream; var kVal, nVal; length.value(in ...

  5. TestBjorklund Quark

    TestBjorklund : UnitTest { test_Bjorklund { var f= {|k, n, a| this.assertEquals(a, Bjorklund(k, n), "k % n %".format(k, n)); }; f.(1, 2, #[1, 0]); f.(1, 3, #[1, 0, 0]); f.(1, 4, #[1, 0, 0, 0]); f.(4, 12, #[1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0 ...

  6. directory Quark

    ... hon/Bending BinauralDecoders=https://github.com/madskjeldgaard/binauraldecoders Bjorklund=https://github.com/redFrik/Bjorklund BlumBox=https://github.com/emillwe/BlumBox.quark Boids=https://github.com/woolgathering/boids BugFixes3.4=https:/ ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow