Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

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

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

  4. 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 } }; ...

  5. satieNRT Quark

    ... of arguments. Expected a [path] and an ambisonic order [1-5].").throw }; path = PathName(path); info = SoundFile(path.files[0].fullPath).info; if(info.numChannels != 1) { 1.exit; Error("Sound files contain % channels. Expected monophonic so ...

  6. MxDrawer Quark

    ... tionFilePaths = registrationFilePaths.add(path) } *initClass { var path; path = PathName(MxDrawer.class.filenameSymbol.asString).parentPath +/+ "drivers" +/+ "registerDrawerItems.scd"; registrationFilePaths = [path]; } guiClass { ^MxDrawerG ...

  7. LPScore Quark

    ... xample g = LPScore .add; g.doSomething; // explanation g.cleanUpMethod; output (pathname, mode) Short prose description of method. pathname - Explanation of pathname. Default value is nil. Other information. mode - Explanation of mode. Defa ...

  8. MoscaBase Quark

    ... rLevel, recDir, files, latest, path; // Find most recent MoscaOut*.wav recDir = PathName(control.get.presetDir).parentPath; files = (recDir ++ "MoscaOut*.wav").pathMatch; if (files.isEmpty) { "OSC playback: no recordings found in %".format( ...

  9. TestSatieConfiguration Quark

    ... \postprocessors, \hoa, \monitoring, ]; plugin_dirs.do { |directory| var path = PathName(config.satieRoot +/+ "plugins" +/+ directory); path.filesDo { |file| var folder = file.folderName.asSymbol; var filename = file.fileNameWithoutExtensio ...

  10. Freesound2 Quark

    ... ); } init{|anUrl,params| var paramsString,separator="?"; url = anUrl; filePath =PathName.tmp++"fs2_"++UniqueID.next++".txt"; params = params?IdentityDictionary.new; params.put(\api_key,Freesound2.api_key); paramsString=params.keys(Array).co ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow