-
// example for granulating a soundfile using gui built in MaxMSP. // see attached file 'oo_soundfiles.maxpat'. // SuperCollider listens on port 57120, so messages must be sent to this port. ( s.waitForBoot{ var func, buffers, synth; SynthDe ...
-
... elative); // usesMidi, usesHID, connect found or not ... // 5. adding and using soundfiles and folders Document.open("5_Adding_soundfiles.scd".resolveRelative); //////////////////////////////////////////////// // 1. configure which elements ...
-
... | if(char==Char.space, { playButton.valueAction= 1-playButton.value; }); }; var soundfiles= []; folder= folder.standardizePath; if(PathName(folder).isFolder, { soundfiles= SoundFile.collect(folder+/+"*"); }); spf= argSpf??{PlayFileDiskStere ...
-
... ing.not, {(this.class.asString++": server not running").error; this.halt}); sf= SoundFile.new; if(sf.openRead(path).not, {(this.class.asString++": file not found_ "++path).error; sf.close; this.halt}); keys.put(key, { //associate key with a ...
-
... ; }); } play {|path, out, amp, rate, loop, attack, curve, startFrame| var file= SoundFile.openRead(path.standardizePath); if(file.notNil, { if(channels.includes(file.numChannels), { //"%: %Ch, %Hz".format(file.path.basename, file.numChannel ...
-
... channels, setting); } initXiiSoundSculptor { arg server, channels, setting; var soundfile, sndfileview, userView; var startPoint, endPoint, outbus, outbuspop, globalvol, globalVolSl, pitch, pitchSl, startButt; var pointcolor, strokecolor, p ...
-
... = 0; units = Array.new( 4 ); switch( this.audioType, \buf, { units.add( U( \bufSoundFile, [ \soundFile, this.asBufSndFile ] ) ); }, \disk, { units.add( U( \diskSoundFile, [ \soundFile, this.asDiskSndFile ] ) ); }, \blip, { units.add( U( \b ...
-
... q.load("01_setup/2_networkConfig.scd"); 0.5.wait; ServerBoot.add({ "// load my soundfiles into buffers when server boots:".postln; q.buffers = "soundfiles/*.aif".pathMatch.do { |path| path.basename.postcs; Buffer.read(s, path); }; s.sync; ...
-
... re.batchNRT: No files matched input path pattern.".postln; ^nil; }); sfreader = SoundFile.new; outputpath = outputpath.standardizePath; filesproduced = Array.new(files.size); Routine({ files.do { |filepath| if(sfreader.openRead(filepath.ful ...
-
... re.batchNRT: No files matched input path pattern.".postln; ^nil; }); sfreader = SoundFile.new; outputpath = outputpath.standardizePath; filesproduced = Array.new(files.size); Routine({ files.do { |filepath| if(sfreader.openRead(filepath.ful ...