Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1772) Code (147) Doc (407) Help (75) Quark (1139) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. Spectrogram of a sound file by wondersluyter (wondersluyter) Code

    ... nteger; var frame = i % width; var mag = ~fftMags[frame][index]; Image.colorToPixel(Color.gray(0, mag.lincurve(-2, 1, 0, 1, curve: 1.5))); // input range to adjust threshold, curve factor for contrast: 0-2 }), Rect(0, 0, image.wid ...

  2. 004-multiple_synth Doc

    ... xDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

  3. 004-multiple_synth Quark

    ... xDur, osize, \amp, amp, \pan, pan]); }); world.contain(o); //--render Pen.strokeColor= Color.grey(o.mass/4, 0.7); Pen.strokeOval(Rect.aboutRedObject2D(o)); }; }; w.play; CmdPeriod.doOnce({w.close}); })

  4. ControlValue Quark

    ... .split($_).last } } displayName_{ |value| this.metadata[\displayName] = value } color { ^this.metadata[\color] } color_{ |value| this.metadata[\color] = value } group { ^this.metadata[\group] } emitChanged { var input = this.input; this.cha ...

  5. SplineGui Doc

    ... nteger or nil . background Get or set the background of the UserView Arguments: color Returns: Color Inherited instance methods helpfile source: /tmp/scquark_hs/splines/HelpSource/Classes/SplineGui.schelp link::Classes/SplineGui::

  6. SGME_GUIPanel5 Quark

    ... halfHeight); topPanel = UserView(compositeView, topPanelBounds) //.background_(Color.red) .canFocus_(true); topPanel.mouseDownAction_({|view, x, y, modifiers, buttonNumber, clickCount| var factor = 2; if(clickCount == 2) { /*buttonNumber.s ...

  7. UMap Quark

    ... tArgName; var <>allowedModes = #[ sync, normal ]; var <>canUseUMapFunc; var >guiColor; var <>numChannelsForPlayBufFunc; *initClass{ this.defsFolders = [ this.filenameSymbol.asString.dirname.dirname.dirname +/+ "UMapDefs" ]; this.userDefsFol ...

  8. GrayNoise Doc

    ... message that seems to have informed the wikipedia articles on Grey noise and on Colors of noise . Notice that the bit-flipping version of gray noise is mentioned in a reply to said usenet message. helpfile source: /usr/local/share/SuperColl ...

  9. screenSize_guiTest Quark

    ... o { |c| c.children.do(_.remove) }; NTMI.g.main.w.view.children.do(_.background_(Color.rand)); ) Butz.curr_(\interfaces).show */ Tdef(\guiTest).addHalo(\allExtents, [ (1920@1080), (1512@944), (1280@800), (1280@720), (1024@768), (800@480), (6 ...

  10. UPopUpMenu Quark

    ... t.new( parent, bounds ); view.setProperty( \wordWrap, false); view.background_( Color.white.alpha_( 0.25 ) ); view.applySkin( RoundView.skin ); view.mouseDownAction_({ this.openMenu; }); view.onClose_({ this.destroyMenu }); } value { ^index ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow