Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (473) Code (27) Doc (143) Help (30) Quark (269) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. oo_soundfiles Quark

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

  2. 1_Configure_setup Quark

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

  3. PlayFileDiskView Quark

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

  4. RedAbstractSampler Quark

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

  5. SPlayFileDisk Quark

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

  6. XiiSoundSculptor Quark

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

  7. ext_v1_import Quark

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

  8. 00_load_myproj Quark

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

  9. batchNRT Quark

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

  10. batchNRT Quark

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

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow