Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (193) Code (4) Doc (54) Help (20) Quark (111) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. XiiSlicerClasses Quark

    ... les.do({ arg s; if ( bounds.contains(s.loc) == 1, { selected.add(s); // pass as ref?? s.select; }); }); bounds = Rect(0, 0, 0, 0); //avoid flashings ?? } draw { if ( visible == 1, { bounds.right = MouseX.kr(0, winRect.width, 0); bounds.bott ...

  2. Proto-ext Quark

    ... (key); }); } } // for importing methods + Dictionary { asProtoImportable {} } + Ref { asProtoImportable { ^this.value.asProtoImportable } }

  3. Klang Help

    Klang sine oscillator bank Klang.ar(specificationsArrayRef, freqscale, freqoffset) Klang is a bank of fixed frequency sine oscillators. Klang is more efficient than creating individual oscillators but offers less flexibility. The parameters ...

  4. initLibraryItems Quark

    ... ng).gui }) },"Method search") }) }); Library.put(\menuItems,\introspection,\findReferencesToClass,{ Sheet.getString("Class name:","",{ arg string; Class.findAllReferences(string.asSymbol).do({ arg ref; ref.postln; }); }); }); Library.put(\m ...

  5. Fdef Help

    Fdef lazy function proxy Inherits from: Object : AbstractFunction : Ref : Maybe Placeholder for functions to calculate with. See also: Maybe . Related: Pdef , Tdef , Pdefn , Ndef Overview: JITLib Fdef(name, func) Fdef(name) if no instance e ...

  6. writeAsPlist Help

    ... may be read from easily from Objective-C, Java or any language that uses the CoreFoundation(Cocoa) framework. Objective-C: id rootObject = [ NSKeyedUnarchiver unarchiveObjectWithFile: path ]; The file may be double-clicked to open it in Pr ...

  7. cycle Quark

    ... ast.campanology(mode, true, true)[1..size*2-1] } } { //---------------- // code ref: https://scsynth.org/t/do-not-returning-array/6416/14 var size = this.size; var swapConsecutiveIndexes = {|from, to| (from..to).clump(2).collect{|p| p.rever ...

  8. SimpleController Doc

    ... nce methods . removeAt ( what ) Examples ( var controller, model, view; model = Ref(0.5); controller = SimpleController(model); controller.put(\value, { |theChanger, what, moreArgs| view.value_(theChanger.value); }); view = Slider(Window("s ...

  9. PlaceAll Doc

    ... ay; ) x.stop; // to distinguish subarrays from arrays to be taken as output use Refs, // as wrapping in another array wouldn't do ( p = Pbind( \midinote, PlaceAll([[60, 61], 70, [80, `[81, 81.5], 82]], inf), \dur, 0.2 ); x = p.play; ) x.sto ...

  10. BBCutBufferSelector Quark

    ... func.value(block, index).round(1.0).asInteger)%(array.size); //should just copy refs, shouldn't be overly expensive (price of this class use especially for CutBuf3 eventstarts=array[index].eventstarts; eventlengths=array[index].eventlengths ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow