Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (274) Code (17) Doc (32) Help (12) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 'Require' class for code importing by whillas (whillas) Code

    ... elative, paths = Array.newClear() ; if(me.isNil.not) { relative = PathName(me).pathOnly; paths = paths ++ [relative]; } { "Current document has not path! Have you saved it?".warn }; paths = paths ++ Require.ge ...

  2. 9/8 drum'n strings by bernhard (bernhard) Code

    ... // creating a dictionary with samples. ( d = Dictionary.new; d.add(\tam -> PathName("/Users/bernhardzitz/Music/SUPERCOLLIDER/buffers/tamsolo/").entries.collect({ arg sf; Buffer.read(s, sf.fullPath); });); d.add(\kranz2 -> PathN ...

  3. Orchestral Sound texture v1 by nicolaariutti (nicolaariutti) Code

    ... samples from a folder extracting only one channel from the stereo files path = PathName("/home/nicola/Musica/samples/Sonatina Symphonic Orchestra/Samples/1st Violins/"); path.entries.do{ |item| if( item.fileName.contains("1st-violins- ...

  4. Show a chord in music notation in a sclang window by 56228375 (56228375) Code

    ... :40); // write chord.svg and also chord.cropped.svg svg = score.writeSVG(path:PathName.tmp +/+ "chord.svg", clean:false); // open the cropped svg img = Image.openSVG(PathName.tmp +/+ "chord.cropped.svg"); // embed the generated svg i ...

  5. Vocal Clouds (work in progress) by emergent (emergent) Code

    ... ze_(65536 * 4); s.newBusAllocators; // global variables ~out = 0; ~path = PathName(thisProcess.nowExecutingPath).parentPath++"/vocal-samples/"; // expects folder "vocal-samples" with audio samples in the same folder as the project fil ...

  6. ScoreClock, Patterns, RT/NRT and server-side resources by jamshark70 (jamshark70) Code

    ... eanup not needed since NRT server dies anyway ScoreClock.makeScore.recordNRT(PathName.tmp +/+ "osc.osc", thisProcess.platform.recordingsDir +/+ "test2.aiff", options: ServerOptions.new.numOutputBusChannels_(2), duration: 10, action: { "d ...

  7. Wavetable Builder with GUI by txmod (txmod) Code

    ... Index][1]; var sampleFormat = d.arrSaveFormats[d.saveFormatIndex][2]; var pathName, filename, fileExt, outPath; pathName = PathName(path); filename = pathName.fileNameWithoutExtension; ["pathName.realEndNumber", pathName.re ...

  8. panflute sampler by nicolaariutti (nicolaariutti) Code

    ... samples from a folder extracting only one channel from the stereo files path = PathName(~sample_path); path.entries.do{ |item| if( item.fileName.contains(), { // load only a single channel from the audiofile (MONO) tmp_buff ...

  9. Rate Player by joehigham (joehigham) Code

    ... =======================================*/ ( ~chords = Array.new; ~folder = PathName.new(""); // Load your path name here ~folder.entries.do({ arg path; ~chords = ~chords.add(Buffer.read(s,path.fullPath)); }); ) ~chords[rand(7 ...

  10. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    ... = 1/24; // don't collide with main SC process (dammit) Archive.archiveDir = PathName.tmp; MIDIClient.init; // synchronous devices = MIDIClient.destinations.collect { |ep| ep.device + " : " ++ ep.name }; if(thisProcess.argv.size ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow