Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. ArrayedCollection Doc

    ... i].midicps; var env = Env.perc.ar(Done.freeSelf); SinOsc.ar(freq) * 0.1 * env }.play; 0.2.wait } } ) ⧉ ✔ . clipAt ( index ) Similar to -at , but guarantees that any value for index is valid by clipping values outside the collection's bounds ...

  2. GUI: Time-domain continuous vs sampled signals, and FFT representation by 0-cM (jamshark70) Code

    ... synth = { |bufnum, freq = 100, amp = 0| (Osc.ar(bufnum, freq) * amp).dup }.play(args: [bufnum: buffer]); freqSlider.value_(100.explin(5, 500, 0, 1)) .action_({ |view| synth.set(\freq, view.value.linexp(0, 1, 5, 500)) }); ampS ...

  3. SGliss Quark

    ... v+(amp.lagud(atk, rel)*(2-onEnv))); Out.ar(outBus, snd*env*(vol.dbamp.lag)); }).play(grp, [\sGliss_bus, bus, \outBus, outbus]++arguments.asKeyValuePairs, \addToTail); controllers.add(( frequencies: SGlissFrequencies(maxNumVoices, grp, argum ...

  4. DrawIcon Quark

    ... is.new( name, rect, *more ); } *names { ^drawFuncs.keys } // use: // DrawIcon( \play, Rect( 20, 20, 30, 30 ) ) // within a drawfunc this will draw a "play" icon centered in the given rect *initClass { // add more later drawFuncs = ( none: { ...

  5. GMMultiButton Doc

    ... awSelected fontRatio maxFontSize unselectedRatio setColorAll setFontColorAll displayAltValue svgRatio Internal Methods draw prResizeSVGs Inherited instance methods Examples Classes (extension) | GUI > Graphical Module'>Graphical Module GMMu ...

  6. MKtl Doc

    ... ents by the same function name across different devices - e.g. call one button \play, another \stop, no matter what its name in the device description may be: k = MKtl(\nk2, "*trol2"); // in a nanoKontrol2, put all transport buttons (in gro ...

  7. MIDISliderWindow Quark

    ... idiRecorder.notNil ) { this.midiRecorder.addType( \cc, i, 7, val * 127 ); }; } *playFile { |file, doneAction| // file = midiFile var events; events = file.asDicts.select( { |item| ( (item.type === 'cc') && { item.val1 === 7 } ); } ); events ...

  8. MFCC Doc

    ... ine d = Buffer.read(s, ExampleFiles.child); ( x = { var in, fft, array; // in = PlayBuf.ar(1, d, BufRateScale.kr(d), 1, 0, 1); in = SoundIn.ar(0); fft = FFT(LocalBuf(1024), in); // for sampling rates 44100 and 48000 // fft = FFT(LocalBuf(20 ...

  9. Sinusoid by schemawound (Schemawound) Code

    ... Pat[0], hiWhinePat[1] ]), drop[0], loTonePat[2] ]); song.play; )

  10. SETOServer Quark

    ... now makes objects invisible rather then destroying them 2005-12-16 removed tuio.play call in TUIO_OSCServer-setFunc_ */ SETOServer { var <knownObjs; var objectIDs; var <format; var <realFormat; var setoClass; /** function defining how to co ...

prev 521 522 523 524 525 526 527 528 529 530 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow