Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Impulse.kr(3); freq = Demand.kr(trig, 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) ( { var a, freq, trig; a = Dswitch1({ |i| Dseq((0..i*3), inf) } ! 5, MouseX.kr(0, 4)); trig = Impulse.kr(6); freq = Demand.kr(trig, 0, a) * 30 + 340; Si ...

  2. p_uscore_status Quark

    ... Pattern's parent score. Different values (or UMaps) van be set depending on the playback status (playing, paused or stopped) playingValue: value (or UMap) returned if score is playing pausedValue: value (or UMap) returned if score is paused ...

  3. TimelineCut Doc

    ... 3); //defaults to 3+3+2 a=BBCut2(CutBuf2(f,1.0, dutycycle:0.5),TimelineCut.new).play; a.end; //provide timeline creation function, with blockfunc which subdivides it into repeated eighths //done to make the core timelines obvious ( a=BBCut2 ...

  4. SimpleMIDIFile Doc

    ... cks usedChannels usedTracks countMIDIEvents info additions convertTimes getTime play noteOnEvents sysexEvents processChunk rawMeasureAtBeat convertToInt8 convertPitchBend asDeltaChunks numbytes theTrackNumber asChunks asMIDIFileChunks theCh ...

  5. README Quark

    ... 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, \rest], 2), \scale, a, \dur, 0.25 ); q = p.play; }) ) ``` #Key Key tracks key changes and modulations, so you can keep modulating or back out of modulations: ``` k = Key(Scale.choose); k.scale.degrees; k ...

  6. PLbindefPar Quark

    ... s num.collect { |i| this.superPerform(\at, i).superPerform(\at, item) } } } } } play { |clock, protoEvent, quant, doReset = false| plbindefPar.play(clock, protoEvent, quant, doReset) } reset { plbindefPar.reset } stop { plbindefPar.stop } c ...

  7. Three one liners ( or, better, many liners ) by ttsesmetzis (ttsesmetzis) Code

    ... 727.n2.nabble.com/one-liner-C-code-in-SC-td6854421.html#a6903794 Ndef(\oneLine).play ( Ndef(\oneLine,{ var t, x, y, z, exp = 11, length; length = 2.pow( exp ); t = PulseCount.ar( Impulse.ar( 8000 ) ); y = InFeedback.ar( 16, 2 ...

  8. PostOffice Doc

    ... PostOffice.lines.keep(-3).join; t.string = msg; (dur: 0.1, note: msg.size % 48).play; }; "whatever"; "whatever else?"; "whatever else? higher notes?"; ""; PostOffice.postfunc = { |msg| t.string = PostOffice.lines.keep(-3).join; (dur: 0.1, n ...

  9. PV_MagDiv Help

    ... ); chain = PV_MagDiv (chainA, chainB); Out .ar(out, 0.5 * IFFT (chain).dup); }).play; ) c = Buffer .read(s, "sounds/a11wlk01.wav" ); ( SynthDef ( "help-magMul2" , { arg out=0, soundBufnum=0; var inA, chainA, inB, chainB, chain; inA = LFSaw ...

  10. Tartini Doc

    ... ude of input (see better example below) {Saw.ar(Tartini.kr(SoundIn.ar)[0],0.2)}.play ( a= SynthDef("testtartini",{arg infreq=440; var in, freq, hasFreq, out; in=SinOsc.ar(infreq); # freq, hasFreq = Tartini.kr(in); freq.poll; Out.ar(0,[SinOs ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow