Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (274) Code (17) Doc (32) Help (12) Quark (212) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. MxDrawer Quark

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

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

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

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

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

  7. TestBuffer Quark

    ... File.new.headerFormat_("AIFF").sampleFormat_("int16").numChannels_(1); sfpath = PathName.tmp +/+ "sc3_test_allocAndQuery.aiff"; sf.openWrite(sfpath); // sawtooth b = Signal.sineFill(441, (1..20).reciprocal); // write multiple cycles (441 * ...

  8. extSimpleMIDIFile-plot Quark

    ... } plot { |notesOnly = false| var window, events; window = ScaledUserViewWindow( pathName.basename ); // this.adjustEndOfTrack; events = this.analyzeUsedEvents; if( notesOnly ) { events = events.select({ |event| event[2] == 'noteOn' }); }; w ...

  9. Radicles Quark

    ... ++ Date.getDate.asString); } *libraries {var libsFolder; this.new; libsFolder = PathName(libPath).folders; libsFolder = libsFolder.reject({|item| item.folderName == ".git" }); ^(["Main"] ++ libsFolder.collect({|item| item.folderName })); } ...

  10. PlayFileDiskView Quark

    ... playButton.value; }); }; var soundfiles= []; folder= folder.standardizePath; if(PathName(folder).isFolder, { soundfiles= SoundFile.collect(folder+/+"*"); }); spf= argSpf??{PlayFileDiskStereo()}; spf.server.ifNotRunning({"%: boot server firs ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow