-
... ff that can be loaded to the server saveForSC {arg path; var sndfile; sndfile = SoundFile.new; sndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepa ...
-
... v", f, u, w, ratioSl, d, indexSl; var viewWidth = 500; var buf, synth; f = SoundFile.openRead(p); f.seek(86965); f.readData(d = Signal.newClear((f.sampleRate * 0.333).roundUp)); f.close; w = Window("granular windows", Rect(800, 2 ...
-
... adi MT Condensed Extra Bold", 22); ~text.stringColor = Color.white; ~view = SoundFileView.new(w, Rect(0,0,202,45)).gridOn_(false); ~viewFile = SoundFile.new; ~viewFile.openRead(y); ~view.soundfile = ~viewFile; ~view.read(0, ~viewF ...
-
... le for other classes for convenience, including Function , Bus , Env , Buffer , SoundFile , Wavetable . plot All arguments are optional. NOTE: The arguments available vary from object to object. The below list is only for explanation of pos ...
-
... ecial subset list here? q.process.namesToLoad = q.process.foundNames; // filter soundfile/buffer processes: q.process.namesToLoad.removeAll([ 'blippoo', // crashes server sometimes 'brushes', // boring 'bufRd', // buffers crash sometimes 'f ...
-
... mSize.max(2**16); s.latency= 0.08; s.waitForBoot{ //--functions and objects var soundfiles= SoundFile.collect(SInstruments.soundfilesDir+/+"*"); var soundfolders= (SInstruments.soundfilesDir+/+"*").pathMatch.select{|x| PathName(x).isFolder; ...
-
... ff that can be loaded to the server saveForSC {arg path; var sndfile; sndfile = SoundFile.new; sndfile.sampleRate_(44100); sndfile.sampleFormat("float32"); filepath = path ?? {PathName.tmp ++ sndfile.hash.asString}; sndfile.openWrite(filepa ...
-
... ngNames.size)); // missingNames.postcs; "\n\n".postln; } { "VGSamp: found all % soundfiles.\n\n".postf(VGTuning.allSonatorNames.size) }; } *readBufs { |doneFunc| server = server ? Server.default; if (server.serverRunning.not) { "VGSamp: ser ...
-
... etaDataEvents = IdentityDictionary.new; } free { synthEvents.clear; this.freeAllSoundFiles; } addBuffer { |name, buffer, appendToExisting = false, metaData| var event, index; if(buffer.isNil) { Error("tried to add Nil to buffer library").th ...
-
... /////////////////////////////////// b = Buffer.read(s, /*path to your stereo soundfile; I used recordings of a tuba, a western guitar and a panflute*/); MIDIClient.init; MIDIIn.connect(0, MIDIClient.sources[/*index of your device*/]); ...