Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (29) Doc (68) Quark (114) SCDoc ↗ Forum ↗ Google ↗
  1. The mysteries of quantization by simoncornaz (simoncornaz) Code

    ... alue.collect(_.quantize(quant, tol, strenght)) }; w.layout_( VLayout([ HLayout( StaticText().string_("quantum"), Slider().value_(quant).action_({arg self; quant=self.value.postln; f.()}), StaticText().string_("tolerance ...

  2. gui_example_simple Quark

    ... ); numbers= {NumberBox().canFocus_(false)}.dup(numChan); win.layout= VLayout(*[ HLayout(*sliders), HLayout(*numbers) ]); updateFunc= {|...args| if(Main.elapsedTime-lastTime>0.016, { //downsample to 60fps lastTime= Main.elapsedTime; args.do{ ...

  3. LevelIndicator Doc

    ... icatorStyle \continuous or \led (see -stepWidth ) ( w = Window().front.layout_( HLayout( LevelIndicator().style_(\continuous).value_(1/3), LevelIndicator().style_(\led).value_(2/3), ) ) ) ⧉ ✔ . stepWidth = val The width of each led light, f ...

  4. sDrone Quark

    ... ainRecord; var backgroundImage; var win= Window("sDrone", winRect); win.layout= HLayout( VLayout( //--amplitude control section HLayout( StaticText().string_("Amplitude control").fixedWidth_(120), *ampSelectButtons= #["targets", "random", " ...

  5. remapping Quark

    ... _([[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( SinOsc.ar(freq)*0.2, -1.0) }.play, { |f ...

  6. switchActionsFRP Quark

    ... _([[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( SinOsc.ar(freq)*0.2, -1.0) }.play, { |f ...

  7. SCLOrkWiimoteUI Quark

    ... .new(0, 0, 500, 500) ); window.alwaysOnTop = true; window.layout = VLayout.new( HLayout.new( StaticText.new.string_("status:"), statusText = StaticText.new.string_("scanning"), connectButton = Button.new.string_("connect") ), HLayout.new( S ...

  8. FoaAudition Quark

    ... buildCtlViewFmLayout { |layout| ^ View() .background_(focusBkgColor) .layout_( HLayout( // background that matches the tab View().layout_(layout.margins_(4).spacing_(3)) ).margins_([2, 0, 2, 0]) ) } makeTabView { |name, ctlView, playBut| v ...

  9. gui_example_simple Quark

    ... = {NumberBox().canFocus_(false)}.dup(board.numChannels); win.layout= VLayout(*[ HLayout(*sliders), HLayout(*numbers) ]); CmdPeriod.doOnce({win.close}); board.dataAction= {|num, data, accel| if(Main.elapsedTime-lastTime>0.025, { //downsample ...

  10. RedDiskInPlayer Quark

    ... false ); win.alpha_(0.9); win.view.background= bgcol; win.view.layout= VLayout( HLayout( volNumView= NumberBox().fixedWidth_(w*0.25) .background_(bgcol) .typingColor_(Color.white) .value_(0) .action_({|view| volSldView.value= volSpec.unmap( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow