Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (6250) Code (55) Doc (3760) Help (348) Quark (2069) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. WindowHandleView Quark

    WindowHandleView : UserView { var dragging, dragStart, <>win, isWin; *qtClass { ^'QcCustomPainted' } *new { arg parent, bounds; ^super.new(parent, bounds ?? {this.sizeHint} ).init; } init { this.canFocus = false; this.setDefaultBackground() ...

  2. SPL Quark

    ... orgpos<newpos); is=i.sum(\size); orgpos=orgpos+is; if(test,{ i.delete },{ if(fx.class==Function,{ fx.(this,*args); },{ i.perform(fx,*args); }); is=i.sum(\size); newpos=newpos+is; }) } } pitchShiftLoop{|fx=\transpose ... args| var orgpos=0; ...

  3. SensorControl Quark

    // SensorControl is a class to deal with a set of SensorData streams, to trigger and control something above a certain threshold, and turn off and switch to another action below the threshold. // Created for Schwelle, www.schwelle.org // (c ...

  4. SETOMTServer Quark

    ... used format String (explained in SETObject ) is then ' _ixy' *new(netaddr, setoClass) netaddr a netaddr, default nil; listening to all. setoClass the Class of the created objects. Must be a subclass of SETObject , defaults to SETObject . s ...

  5. 2b_makeHistoryGUI Quark

    ... y setup: /* // make a history GUI window History.makeWin; }; // tell the Histoy class to share code via oscgroup: History.forwardFunc = { |code, result| "send code to shared history ...".postln; q.oscRouter.sendMsg(\history, q.myID, code); ...

  6. ProteinBioSynthesis Quark

    ... nks to sophia rohrhuber and andreas bartenstein ProteinBioSynthesis : Pattern { classvar <>tripletDict, <>transcriptionDict; classvar <>aminoacids, <>startcodon= -1, <>stopcodon=0; var <>genome, <>verbose = false; *new { arg genome; ^super. ...

  7. lag_polar Quark

    ... er shift changes. -- this is an UMapDef definition file part of the WFSCollider Class Library default UMapDefs set */ UMapDef( \lag_polar, { | point = #[0.0, 0.0], timeRho = 0.1, timeTheta = 0.1, linear = 0 | var lin, lag; var polar; point ...

  8. SimpleButton Quark

    ... yout.isKindOf(PageLayout) }),{ layout = layout.asFlowView; }); this.view = this.class.viewClass.new(layout,Rect(0,0,x,y)); this.view.keyDownAction = {nil}; } *viewClass { ^GUI.staticText } label_ { arg string; view.string_(" " ++ string ++ ...

  9. extArray Quark

    ... y[i..i+windowSize] }; ^result } slope { var list, prev = this.last; list = this.class.new(this.size); this.do {|item| list.add( item - prev ); prev = item; }; ^list } } +Object { postL { | length = 10 | var str = this.asString; (str ++ Stri ...

  10. TestChannelLayout Quark

    TestChannelLayout : SatieUnitTest { var server; setUp { server = Server(this.class.name); } tearDown { server.remove; } test_outputChannels { var satie; var timeout, cond = Condition.new; var answer, results, buffer, recorder; var layout, s ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow