Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (924) Code (27) Doc (315) Help (54) Quark (524) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. SequenceStream Quark

    ... ex+1] = gate; }, { args = args ++ [\gate, gate]; }); }); } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| var i; if(args.isA ...

  2. TestOscCommunication Quark

    ... s, Buffer, "/satie/loadSample created a Buffer name % inside Satie.audioSamples dictionary" ) } } test_bufnum_arg_createSource { var result; addr.sendMsg('/satie/loadSample', 'foo', a11wlk01); server.sync; addr.sendMsg('/satie/scene/createS ...

  3. SequenceStream Quark

    ... dex+1] = gate; }, { args = args ++ [\gate, gate]; }); }; } // maybe make this a dictionary sometime argAt { |key| var i; if(args.isArray) { if((i = args.indexOf(key)).notNil) { ^args[i+1] } }; ^nil } argPut { |key, value| var i; if(args.isA ...

  4. ChordtrisEngine Quark

    ... res var squareSize; // score manager var scoreManager; // Preferences settings (Dictionary) var preferences; // module for playing sounds var soundModule; // boolean indicating whether the game is paused var isPaused = false; // MIDIdef to ...

  5. ServerLogGui Quark

    ... ayout.startRow; bounds = bounds ?? {layout.innerBounds}; w = 1000; nodeColors = Dictionary.new; error = Color(1.0, 0.0, 0.08955223880597); nav = Slider(layout,w@20); this.updateNav; nav.action = { currEvent = (nav.value * navMax).round(scro ...

  6. Psieve Quark

    ... yQueue.new, // faster than storing indices in an array minIndicesDict = IdentityDictionary.new; offsets.isNil.if { offsets = 0!(items.size) }; // if Sieve is passed adjust offset items.do { |item, i| item.isKindOf(Sieve).if { // set to nil ...

  7. PopUpTreeMenu Quark

    ... r.new.init(parent, bounds); } init {|argParent, argBounds| lst= List.new; //one dictionary in here for each level tree= (); currentPath= []; currentLeaf= []; hiliteColor= QtGUI.palette.highlight; timer= 0; timer2= 0; pop= PopUpMenu(argParen ...

  8. SoundFileAnalysis Quark

    ... adAnalysisFiles { |result, paths, which, maxDataPoints = (1000)| // result is a dictionary, data is added paths.do { |resultpath, i| var dataFile = SoundFile.new; var numDataPoints, numOutputChannels, data; dataFile.openRead(resultpath); if ...

  9. RoundButton Quark

    ... herited from superclass RoundView ). Skinning works in varous ways. A skin is a Dictionary or Event containing keys and values for each property to be set. One is to set a skin via the skin method: ( w = Window ( "RoundButton skins" ).front ...

  10. PatternBoxBindView Quark

    ... | paramView.refreshScreenState(); }; } getState { |skipProjectStuf| var state = Dictionary(); state[\type] = "PatternBoxBindView"; state[\title] = title; state[\parallelLayers] = parallelLayers; state[\paramViewStates] = paramViews collect: ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow