Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (274) Code (17) Doc (32) Help (12) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. ReaperBatch Quark

    ... ".format(this.name).error }); } *prMakeFileListTXT{|configString| var outFile = PathName.tmp +/+ "filelist.txt"; "%: Creating % file containing:\n%".format(this.name, outFile, configString).postln; File .open(outFile, mode:"w") .write(confi ...

  2. HelpFile2.scd Quark

    ... ~hf .addDescription( \new , "Create an instance of HelpFile2, with the path <em>pathName</em>" , \class ); ~hf .addDescription( \createInstanceMethods , "creates the instance methods. Is called when the classname is set." ); ~hf .addDescrip ...

  3. TestWaveNumber Quark

    ... .order; report = AtkTests.report; floatWithin = AtkTests.floatWithin; dataDir = PathName(AtkTests.filenameSymbol.asString).parentLevelPath(1) +/+ "TestData"; // When checking many values in reference file, just exit after numerous failures ...

  4. PatternBoxLauncherView Quark

    ... eAndLoadView.actionChanged = { |sender| this.name = "PatternBox Launcher - " ++ PathName(sender.projectfile).fileName; }; projectSaveAndLoadView.actionClearAll = { this.clearAll(); }; projectSaveAndLoadView.actionNewItem = { this.invokeEven ...

  5. PVFile Quark

    ... ndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData(data); sndfile.close; } save {arg path; var fil; path.notNil.if({ fil = F ...

  6. SoundFileAnalysis Quark

    ... analyze // actually this isn't really needed, but I leave it in here. oscpath = PathName.tmp +/+ UniqueID.next ++ ".osc"; score.recordNRT(oscpath, "/dev/null", //path, sampleRate: soundFile.sampleRate, options: options, action: { cond.unhan ...

  7. MoscaSource Quark

    ... { // if the fie isn't found, look in the project parent directory var preset = PathName(file.auto.presetDir).parentPath; SoundFile.openRead(preset ++ Pathname(file.value).fileName); if (sf.isNil) { ^Error("incorrect file path").throw } }; ...

  8. 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 ...

  9. AtsFile Plugin

    ... ndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepath); sndfile.writeData(data); sndfile.close; } save {arg path; var fil; path.notNil.if({ fil = F ...

  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 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow