Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  3. 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 })); } ...

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

  5. Guido Quark

    ... { score.removeAt(anID)}, { "No voice with that ID found".warn; }) } output {arg pathname, mode = "w"; var string, eventstring; file = File.new(pathname, mode); file.write("%% SuperCollider output from " ++ Date.localtime ++ "\n"); file.writ ...

  6. XiiRecorder Quark

    ... " + "sounds/ixiquarks/"++filename++".aif").unixCmd; }); txtv.string_(filename = PathName(filename).nextName); }); }, { XiiAlert("you need to start a server in order to record"); recButton.value_(0); }); }); timeText = GUI.staticText.new(win ...

  7. Wavesets Quark

    ... = (formatDict[f.sampleFormat] ? Signal).newClear(f.numFrames); name = name ?? { PathName(path).fileName.basename; }; f.readData(sig); f.close; ws = this.new(name.asSymbol, sig, f.sampleRate); ws.path = path; if (toBuffer) { ws.toBuffer(serv ...

  8. mugic-spat-con Quark

    ... er.newCopyArgs(n_tracks, n_output_chans, ambi_order).init; } *initClass { dir = PathName(this.class.filenameSymbol.asString.dirname).parentPath; // Init chaos name-algo pairs // Must have same call signature, so some args may be unused (eg, ...

  9. MxUnit Quark

    ... orClass { arg class; var match, path; match = registery[class.name] ?? { path = PathName(MxUnit.class.filenameSymbol.asString).parentPath +/+ "drivers" +/+ class.name.asString ++ ".scd"; if(File.exists(path), { path.debug("Loading driver"). ...

  10. XiiPlayer Quark

    ... , filepath, pFunc; if(txtv.items.size > 0, { [\soundfile, soundfile].postln; if(PathName(soundfile).isFolder.not, { if(butt.value == 1, { group = Group.new(server, \addToHead); a = SoundFile.new; a.openRead(soundfile); chNum = a.numChannels ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow