Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. Onsets Help

    ... this at its default value) For the FFT chain, you should typically use a frame size of 512 or 1024 (at 44.1 kHz sampling rate) and 50% hop size (which is the default setting in SC). For different sampling rates choose an FFT size to cover ...

  2. MultiFileReader Quark

    ... }; line = this.readIndexLine( ind ); // "line".postln; // line.postcs; // line.size.postln; if ( line.isNil ){ ("File with id"+ind+"does not exist").warn; curid = -1; curFile = nil; ^nil; }; if ( line.size < 2 ){ ("File with id"+ind+"does ...

  3. TestInstr Quark

    ... { Instr.clearAll } test_leaves { var l; l = Instr.leaves; this.assertEquals( l.size, 0,"should initially be nothing in leaves"); } test_clearAll { var l; Instr("test_clearAll",{SinOsc.ar}); Instr.clearAll; l = Instr.leaves; this.assertEqua ...

  4. round Quark

    ... \round, { |f, path, n| var precision, amount, mode; var current, mean, extent, size; current = path.positions.deepCopy; precision = f.get( \precision ); mode = f.get( \mode ); switch( mode, \xy, { current = current.collect(_.round( precisi ...

  5. Feedback Plugin

    Feedback { //basic feedback class... buffer size needs to be the same as the delayTime //e.g. for a 0.1 sec delay time, a buffer should be allocated as such: //s.sendMsg(\b_alloc, 1, 44100*0.1, 1); *ar {arg in, feedbackpct = 1, delayTime = ...

  6. WFSPathView Quark

    ... nds; }; view = EZCompositeView( parent, bounds, gap: 2@2, margin: 2@2 ); view.resize_(5); bounds = view.asView.bounds; view.addFlowLayout(0@0, 2@2); topBar = WFSPointGroupView_TopBar( view, 16 ); undoView = UndoView( view, 16 ); view.view.d ...

  7. XiiToshioMorpher Quark

    ... preset setting point = setting[1]; stateDict = setting[2]; stateNum = stateDict.size; // ok - set state 1 as default state, and load vars - GUI views take care of themselves params = setting[2].at("state 1".asSymbol); toshioNodeSampleIndexA ...

  8. lineTime Quark

    ... = f.get( \end ); curve = f.get( \curve ); dur = path.times.sum; nx = path.times.size - 1; path.times = path.times.collect({ |item, i| i.lincurve( 0, nx, start, end, curve ) * item }).normalizeSum( dur ) * dur; }, [ \start, 0.5, \end, 2, \cu ...

  9. ObjectWithArgs Quark

    ... rgs ? [])[1,3..] } values_ { |newValues| var keys = this.keys; newValues[..keys.size-1].do({ |val, i| this.setArg( keys[i], val ) }); } getIndexForKey { |key| var keys; keys = this.keys; ^keys.indexOf( key ) ?? { if( key.isNumber && { (0 <= ...

  10. ObjectWithArgs Quark

    ... rgs ? [])[1,3..] } values_ { |newValues| var keys = this.keys; newValues[..keys.size-1].do({ |val, i| this.setArg( keys[i], val ) }); } getIndexForKey { |key| var keys; keys = this.keys; ^keys.indexOf( key ) ?? { if( key.isNumber && { (0 <= ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow