Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. extSequenceableCollection Quark

    ... [6,7,8], [10,12]]).do(_.postln);"" */ *meshgrid {|arrays| var less; ^if(arrays.size==1){ arrays[0] }{ less = this.meshgrid(arrays[1..]); arrays[0].collect{|val| less.collect{|lval| val.asArray ++ lval} }.flatten; }; } }

  2. Overtone Explorer by pyoungryangko (prko) Code

    ... 0.1; ~freq = 200; // 393.44 s.waitForBoot { var numSliders, indexThumbSize, indexWidth, centre, upperHeight, lowerHeight, multiSliderHeight, width, win; var freqBox, multiSliderFreq, multiSliderPhase, phases, phaseButtons, am ...

  3. PitchCircle Quark

    ... f the file. Creation / Class Methods *new (steps, tonic, mod, offset, drawints, size, win, num) steps - number of steps in circle. Default value is 12. tonic - as an integer, default value is 0 ("C major" collection) if number of steps is 7 ...

  4. a very primitive arpeggiator by emergent (emergent) Code

    ... nor)); ~arp = ~arp.addAll(ChordSymbol.asDegrees(\Edom7, Scale.minor)); ~arp.size // confirming it's 16 items ( ~bass = Pbind( \instrument, \default, \scale, Scale.minor, \dur, Pbjorklund2(3, 8) * 0.25, \degree, Pseq([3, 3, 5 ...

  5. Bjorklund Doc

    ... saint. Class Methods . new Arguments: k The number of 'hits'. n The total array size. . fromArray Inherited class methods Instance Methods Inherited instance methods Examples Bjorklund(3, 8) //tresillo Bjorklund(5, 8) //cinquillo Bjorklund( ...

  6. PagedMKtl Quark

    ... } pageByIndex { |index, wrap = true| if (wrap) { index = index.wrap(0, mktlDict.size - 1) }; this.pageByName(pageNames[index]); } up { this.pageByIndex(this.currIndex + 1) } down { this.pageByIndex(this.currIndex - 1) } }

  7. measureFrameRate Quark

    ... re incoming imu speed: /*** sketch: q.accelcount = 0; q.times = List[]; q.times.size; MFdef(\ntmiImuFunc).add(\counter, { var el = MKtl(\ntmi).elAt(\accel, \x); q.times.add (el.lastUpdateTime); if (q.accelcount >= 1000) { "done".postln; MFd ...

  8. sampleEfx Quark

    ... n SC2 by felix // SC3 version by felix arg sample, pointer, pchRatio=1.0, windowSize=0.1, overlaps=10, windowRandRatio = 0.1, windowEnv,mul=1.0; var sampleRate, bufSize,amp,bufBySR; var offset,rateScale,timeScale; sampleRate = sample.sample ...

  9. extString-fileManagement Quark

    ... notEmpty, { path[0].isBundlePath; }, { false }); } isValidExtension { if( (this.size == 0) or: { this.includes( $ ) or: this.first.isAlpha.not } ) { ^false } { ^true }; } pad { |char = $', amt = 1| var padString; padString = String.fill( am ...

  10. WFSRectView Quark

    ... contains( pt.asPoint ) ) { pts = pts.add(i) }; }); ^pts; } // general methods resize { ^view.resize } resize_ { |resize| view.resize = resize } rect_ { |rect| this.object = rect.asRect } rect { ^object } // changing the object moveSelected ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow