Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. MixingBoard Quark

    ... in.gap.y; if(w.isClosed.not) { { isNew.if({ // if new, assign origin w.bounds = Rect.new(5, 5, hSize + (2*skin.gap.x), vSize+20); }, { // if old, keep existing origin w.bounds = Rect.new(w.bounds.left, w.bounds.top, hSize + (2*skin.gap.x), ...

  2. SCLOrkCDTUI Quark

    ... tUIElements; } prConstructUIElements { window = SCLOrkWindow.new("SCLOrkCDTUI", Rect.new(0, 0, 800, 600)); window.layout = VLayout.new(); window.onClose = { this.free; }; window.front; } prDiagCallback { |time, diag| AppClock.sched(0, { var ...

  3. Cluster Quark

    ... a row by row basis. b = Cluster ([ Point (6,3), Point (2,5)]); Cluster .applyN( Rect ( _ , _ ,100,300),a,b) //if one of the arguments to applyN is a Cluster with less items than one of the other Cluster objects than it just uses it's first ...

  4. 063-angents-fm_synth Quark

    ... in, 73, \rmbusout, 83]), ]; s.sync; //--world w= RedWindow("agents test tekno", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.9); //dim,grav,maxvel,damp //--objec ...

  5. UtilityUI Quark

    ... (presetFile.isNil.not, { this.prLoadPresetFiles; presetListView = ListView(nil,Rect(10,10,30,30)) .items_(presetFiles) .action_({ arg sbs; presetFile = presetListView.items[sbs.value]; // .value returns the integer }).maxWidth_(150); prese ...

  6. switchActionsFRP Quark

    ... string_(st) }; q.button = Button().states_([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayout( *q.numboxes ), HLayout( *q.texts ), q.button ) ).front; q.synths = [ { |freq=400| Pan2.ar ...

  7. InstrGui Quark

    ... ier",12.0); height = source.split(Char.nl).size * 15 + 20; tf = TextView(layout,Rect(0,0,width,height)); tf.string = source; tf.font_(f); tf.syntaxColorize; up = Updater(model,{ source = model.funcDef.sourceCode; if(tf.isClosed,{ up.remove ...

  8. InstrGui Quark

    ... r", 12.0); height = source.split(Char.nl).size * 15 + 20; tf = TextView(layout, Rect(0, 0, width, height)); tf.string = source; tf.font_(f); tf.syntaxColorize; up = Updater(model, { source = model.funcDef.sourceCode; if(tf.isClosed, { up.re ...

  9. RedMixGUI Quark

    ... ; width= 120; height= 140; if(parent.isNil, { parent= Window(redMix.class.name, Rect(position.x, position.y, width, height), false); win= parent; win.alpha= GUI.skins.redFrik.unfocus; win.front; CmdPeriod.doOnce({this.close}); }); ^View(par ...

  10. 072-lsystem_grow_discrete Quark

    ... anslate: Point(1/3, 2/3)); //--world w= RedWindow("lsystem grow discrete test", Rect(128, 64, width, height)).front; (startGeneration-1).do{lsys.next}; commands= ( $F: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.str ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow