Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (216) Code (31) Doc (58) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. audrey II by gosub (gosub) Code

    ... (\audrey2); w = Window.new("Audrey II", Rect(200, 200, 460, 480)).layout_( VLayout( StaticText().string_("Audrey II -- feedback drone synthesizer").align_(\center), HLayout( VLayout(StaticText().string_("Freq"), Slider() ...

  2. Sound file position selector GUI by 0-2U (grirgz) Code

    ... { arg path; var player; var win, sf, sfview; var post_position; var vlayout; var zoom_slider; win = Window.new("select sample position", Rect(200, 300, 740, 100)); sf = SoundFile.new; sfview = SoundFileView.new; v ...

  3. growing layout by julianrohrhuber (julian.rohrhuber) Code

    ... llustration of how layouts behave dynamically. ( a = Window(); a.layout = v = VLayout(); a.front; fork({ 10.do { v.add(h = HLayout()); 20.rand.do { h.add(Slider()); 0.1.wait; }; 1.wait; }; }, AppClock) ) ( a = ...

  4. Load and play samples from GUI (Qt GUI only) by rukano (rukano) Code

    ... samples into buffers and playing them from GUI buttons. !!! Needs Qt GUI !!! (VLayout) var make; var dialog = Dialog.openPanel({ |list| make.(list) }, nil, true); var win = Window("Sample Player 3000").front; var samples = (); var but ...

  5. The mysteries of quantization by simoncornaz (simoncornaz) Code

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

  6. Re: Load and play samples from GUI (Qt GUI only), adapted to use SoundFile:cue by lfsaw (LFSaw) Code

    *Needs Qt GUI (VLayout)* ----- Basic GUI for loading samples and playing them via button presses. Differences to the original version by rukano: + adapted to use SoundFile:cue + you can start and stop playing the samples //samplePlaye ...

  7. GUI: Scrolling list of multi-view items by 0-7r (jamshark70) Code

    ... f calculating coordinates. Scrolling lists are usually arranged vertically, so: VLayout. But, there are a couple of tricks: * If you set the .layout of a ScrollView directly, the layout will use the visible area only -- no scrolling. ...

  8. GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code

    ... Menu.new; // layout buttonLayout = HLayout.new(*buttons); sliderLayout = VLayout.new(*sliders); numberBoxesLayout = HLayout.new(*numberBoxes); labelsLayout0 = VLayout.new(*labels0); labelsLayout1 = HLayout.new(*labels1); //layo ...

  9. Galton Board Simulator by simon (Dindoléon) Code

    ... size_(view.bounds.height * 0.5), Color.white ) }; view.layout_( VLayout( [counterView, stretch: 6], [numberView, stretch: 1] ).margins_(3) ); display.layout.add(view); }); Pbind( \instrument, \default, ...

  10. Views with sounds from somewhere in the world by pyoungryangko (prko) Code

    ... w(bounds:Window.screenBounds.width@Window.screenBounds.height); views.layout = VLayout(*rows.collect { |x| HLayout(*x) }); views.front; )

1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow