Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. plusSpec-makeView Quark

    ... var obj; obj = vw.object; if( obj.class == Function ) { if( obj.def.sourceCode .select({ |item| [ $ , $\n, $\r, $\t ].includes(item).not }) .size > 2 ) { vws[ \val ] = obj; vws[ \setLabel ].value; action.value( vws, vws[ \val ] ); } { vws[ ...

  2. XiiBufferOnsetPlot Quark

    ... e_(1) .showIndex_(true); ); /* // not used yet - will be used when nodes can be selected tabletViews.add( SCTabletView(win, Rect(bounds.left, bounds.top + ((bounds.height/numChannels)*i), bounds.width, bounds.height/numChannels)) .canFocus_ ...

  3. WFSArrayPanSynthDefs Quark

    ... + 1).collect({ |i| ((i * division) + (0,(2**i)..division-1)).asInteger }).flat.select(_ >= minSize); if( WFSSpeakerConf.default.notNil ) { WFSSpeakerConf.default.arrayConfs.collect(_.n).do({ |item| if( sizes.includes( item ).not ) { sizes ...

  4. UPattern Quark

    ... } prPrepareUnit { |unit| var prepareThese; prepareThese = unit.valuesToPrepare.select({ |item| item.isKindOf( UMap ); }); prepareThese.do({ |umap| if( umap.subDef.isKindOf( UPatDef ).not ) { this.prPrepareUnit( umap ); }; }); prepareThese. ...

  5. extString-fileManagement Quark

    ... 'aiff', 'sd2' ]; dirName = this.standardizePath; files = dirName.folderContents.select({ |item| extensions.includes( item.extension.asSymbol ); }); files = files.collect({ |item| item[ (dirName.size + 1) ..]; }); files.do({ |item| if( newDi ...

  6. MKtlDesc Quark

    ... { (0 .. descFolders.size-1) }; foldersToLoad = descFolders[folderIndex.asArray].select(_.notNil); fileExt = fileExt ? descExt; foundPaths = foldersToLoad.collect { |dir| (dir +/+ filename ++ fileExt).pathMatch // add depth of one folders // ...

  7. extColor Quark

    ... ions.count { |s| s < neutralThreshold } / saturations.size; chromaticHues = hsl.select { |triple| triple[1] >= neutralThreshold }.collect(_[0]); hueSpread = if(chromaticHues.size <= 1) { 0 } { var sorted = chromaticHues.sort; var gaps, maxG ...

  8. Proto Quark

    ... ow error if you free twice env = nil; } // make the Proto act like an object // selector must be implemented as a func assigned to an environment var // named for the selector // if that key returns nil, object does not understand! // messa ...

  9. GrainExplorer Quark

    ... +/+ synthDef.name; controls = synthDef.desc.controls; usefulControls = controls.select {|controlName, i| var ctlname; ctlname = controlName.name.asString; (ctlname != "?") && (synthDef.desc.msgFuncKeepGate or: { ctlname != "gate" }) }; newN ...

  10. 5_modal_functionality_2_hid Quark

    ... ous control of different synths. // the buttons on the shoulders of the gamepad select which synths the controls go to. // two other buttons start and stop the synths // prepare the sound sources: s.boot; ( Ndef( \sound1, { var freq = \freq ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow