Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... d( action.value(node) ); // perform action }); ^result; } // end collect // --- select(action) : List ---------------------------------------------- // select { arg action; // type Function var result = List.new; this.do({ arg node; // 'do' ...

  2. Nested ifs in a SynthDef by 38nonprivate (38nonprivate) Code

    A short, silly example of using if in a SynthDef. Using Select is generally a better thing to do. ( { var noise, out; noise = LFNoise0.kr(8); out = if( noise > 0.0, if(noise > 0.5, if(noise > 0.9, WhiteNoise.ar(0.2), Pulse.ar(60 ...

  3. listening-mod-mel13t Quark

    ... t == Ndef('mod1', {arg track=1, mul=1, add=0, lag=0; var sig, chain, mel; sig = Select.ar(track-1, [Ndef(\track1).ar, Ndef(\track2).ar, Ndef(\track3).ar, Ndef(\track4).ar, Ndef(\track5).ar, Ndef(\track6).ar, Ndef(\track7).ar, Ndef(\track8). ...

  4. SCGAZER version 1.0 by kergener (kergener) Code

    ... 0; var sig, detuned, pitch, lfo1, lfo2, lfo3, filter1, filter2; lfo1=Select.kr(lfo1type1, [LFTri.kr(rate1), LFSaw.kr(rate1), LFPulse.kr(rate1)]); lfo2=Select.kr(lfo1type2, [LFTri.kr(rate2), LFSaw.kr(rate2), LFPulse.kr(rate2)]); ...

  5. StageLimiter Quark

    ... lmSynth = SynthDef(\stageLimiter, { var input = In.ar(0, numChannels); input = Select.ar(CheckBadValues.ar(input, 0, 0), [input, DC.ar(0), DC.ar(0), input]); ReplaceOut.ar(0, Limiter.ar(input)) ; }).add; Server.default.sync; lmFunc.value; ...

  6. listening-mod-rmst Quark

    ... rmst == radpost == Ndef('mod1', {arg track=1, mul=1, add=0; var sig, rms; sig = Select.ar(track-1, [Ndef(\track1).ar, Ndef(\track2).ar, Ndef(\track3).ar, Ndef(\track4).ar, Ndef(\track5).ar, Ndef(\track6).ar, Ndef(\track7).ar, Ndef(\track8). ...

  7. FilterCoef Quark

    ... 0 if(norm, { acoefs = acoefs * this.returnMaxMag.reciprocal }); acoefs = acoefs.select({ |item| item.magnitude.abs > 0.0 }); bcoefs = bcoefs.select({ |item| item.magnitude.abs > 0.0 }); //If the filter is real, return real part only if(real ...

  8. UMap Quark

    ... rolInput.asCollection.size == this.numChannels }); } { insertArgName = argSpecs.select({ |item| item.private.not && { mappedArgs.asCollection.includes( item.name ).not } }).detect({ |item| item.default.asControlInput.asCollection.size == th ...

  9. Sending a Sysex Message by hemsinlet (hems.inlet) Code

    ... find the number of the output interface you want to use MIDIClient.init; // select the midi out you would like to use m = MIDIOut(0); // send a sysex message on that output m.sysex(Int8Array[ 16rf0, 0, 0, 27, 11, 0,16rf7]) //t ...

  10. TestSatiePlugins Quark

    ... server.remove; } test_sources_mono_output { var sources = satie.config.sources.select { |plugin| plugin.channelLayout == \mono }; sources.do { |plugin| var name = plugin.name; var data = plugin.function.asSynthDef.asSynthDesc.outputData; t ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow