Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (12) Doc (41) Help (13) Quark (173) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Import a midi file easily by sebastienclara (sebastienclara) Code

    Import a midi file on 3 Arrays : notes, durations & dates. // notes, durations, dates <= # n, d, t = ImportMidiFile("~/Desktop/bwv772.mid"); /* Sébastien Clara - Janvier 2016 Import a midi file on 3 Arrays : notes, durations & date ...

  2. simple function throttling ( time gate, time limiter, whatever you want to call it ) by hems (hems) Code

    ... create it with 1000 seconds ago time if( ~last_time.isNil ) { ~last_time = Date.getDate.bootSeconds; ~last_time = ~last_time - 1000; }; // if needed interval has passed, execute the funkie if( ( Date.getDate.bootSeconds - ~l ...

  3. Clock Difference by codepool (codepool) Code

    ... , { arg inProcessTimeSync, sendToIP; var time, getAccurateTime, whenDate, whenProcess, thisProcessTimeSync, sender; ["clock difference ... instruction has been received and will be sent back to IP " ++ sendToIP.asString].po ...

  4. MIDI value recorder by lfsaw (LFSaw) Code

    ... \program, \touch, \bend].collect{|msgType| MIDIFunc({|...args| var time = Date.getDate.rawSeconds; var val, ctlNum, chan, src; msgType.postln; // handle arguments for different msgTypes [\noteOn, \noteOff, \control, \pol ...

  5. Granular display by tommaisey (tommaisey) Code

    ... but I don't see why it couldn't do more. if (granary.size < 30, { time = Date.getDate().bootSeconds; routine = Routine { granary.put(time.asSymbol, [pos, pitchRatio, amp, dur, env]); (dur + (env * 2)).wait; granary.rem ...

  6. oneshot renderer by lfsaw (LFSaw) Code

    ... r, params.asKeyValuePairs.inject("", {|current, next| current ++ "-" ++ next}), Date.getDate.asSortableString)}; args = [ \instrument, name, \amp, 1, \dur, Pseq([dur], 1), \sustain, Pseq([dur], 1), \legato, 1 ] ++ p ...

  7. SpeechRender / SpeechBuffer by rukano (rukano) Code

    ... dd output file path path.isNil.if { filePath = tempDir +/+ tempPrefix ++ Date.localtime.stamp ++ ".aiff" } { filePath = path }; // cmd is ready!!! cmd = cmd + "-o" + (filePath.escapeChar($ )) + string; cmd.system ...

  8. Radial loudness meter by snappizz (snappizz) Code

    ... Make the position match the second hand on the clock, just for fun longPos = ((Date.getDate.second + 45) * longSize / 60).asInteger % longSize; synth = Synth.tail(s, \loudness, [ \in, ~loudbus, \shortRate, 15, \longRate, longSize ...

  9. audrey II by gosub (gosub) Code

    ... something, raise the FbGain level above 0dB // patch name: Audrey II // patch date: 2026-02-06 // patch desc: software Audrey II drone synthesizer (Synthux Academy / Fede Repic) // feedback-driven self-oscillating drone mach ...

  10. Livecode setup, with comments by 0-91 (tedthetrumpet) Code

    ... .pathMatch; files = files.sort; // get them in order of name, not modified date! // first, free all the buffers ~thebufs.do({|i| i.free}); // now, read the new files in ~thebufs = files.collect({ |i| Buffer.read(s, ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow