Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... renderAddresses; var <numObjects=0; var objectsID; var worldView; var <sweetSpotSize=2; var <maxDistance; //maximum distance on the room from the center var <>receivingFromServer = false; *new {|dim, gravity, maxVel, damping, friction=0.01, ...

  2. TdefPreset_MoreTests Quark

    ... or missing specs -- know how to handle bad values (symbols, arrays of different sizes etc) -- maybe have special methods for morphing those? e.g. morphval = coin prob. or round / switch at 0.5 of have some special smart func (e.g. array gen ...

  3. RoundButton Quark

    ... tates can also contain instances of SCImage. They will be displayed at original size, centered in the button and not clipped. // osx only until JSCImage answers to .width and .height o = Image .open( String .scDir ++ "/SuperCollider.app/Con ...

  4. Function Doc

    ... is true. { 1000000.do({ 1.0.rand }) }.bench; ⧉ ✔ . fork ( clock , quant , stackSize ) Returns a Routine using the receiver as it's function, and plays it in a TempoClock. { 4.do({ "Threading...".postln; 1.wait }) }.fork; ⧉ ✔ . forkIfNeeded ...

  5. XiiStratoSampler Quark

    ... copiedBuffer, soundName; soundName = bufNameView.string; if(writtenBufferNames.size > 0, { block{arg break; writtenBufferNames.do({arg name, i; if(name == soundName, { bufInBufferDictFlag = true; mySlot = i; break.value; }, { bufInBufferDi ...

  6. rewriteString Quark

    ... = "A" ; 10.do { r = r.rewriteString([ "A" -> "B" , "B" -> "AB" ]); r.postln; r.size.postln; } ) // thue-morse L-system ( var r; r = "a" ; 6.do { r = r.rewriteString([ "a" -> "ab" , "b" -> "ba" ]); r.postln; } ) // streaming the 45th..50th ...

  7. EqualizerUI Quark

    ... Event); this.setEQuiValues(activeOrbit); loadedOrbitsPreset = Array.fill(orbits.size, {defaultParentEvent.asEvent}) }); } handleEvent { |eventName, eventData| if (eventName == \setActiveOrbit, { // Save EQ values before switching to the new ...

  8. Writing-Classes Help

    ... RawArray { center { ^Point(* this .asArray.flop.collect{ |item| item.sum / item.size } ) } asArray{ ^ this .collect{ |elem| elem.asArray } } } Printing custom messages to post window By default when postln is called on an class instance the ...

  9. Operator by alexander-lunt (Alexander Lunt) Code

    A Synthesizer similar to the Ableton Operator: Four Oscillators can be modulated and manipulated in different ways. Just evaluate the whole Code at once ( if there is a failure in server, do it again). For usage and functionality press the ...

  10. Samplertestcode Quark

    ... 0]); i.keynums; i.numActiveSample; i.averageDuration; i.samples[0].activeBuffer.size; i.averageDuration; i.averageTemporalCentroid; x = i.key({rrand(60, 80)}); x.keynums; SSampler.playArgs(x); i.key([10, 40], expand: 60, ampenv: ~cageenv.no ...

prev 331 332 333 334 335 336 337 338 339 340 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow