Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. WavetablePrep Quark

    ... , pause = 0| var file = SoundFile.openRead(path); if(file.isNil) { action.value(Error("File open failed")) } { this.readStream(file, action, pause); }; } readStream { |file, action, pause = 0| var block; { tables = Array.new(file.numFrames ...

  2. AllBuf Quark

    ... *def{|inchans=1, mode| var basename, suffix; if(mode.isNil, { "No mode chosen".error; ^this }); if(modes.indexOfEqual(mode).isNil, { "AllBuf mode % does not exist".format(mode).error; }, { if(inchans > inChannels, { "Cannot return synthdef ...

  3. MorseDict Quark

    ... ply, also x $@ -> [0,1,1,0,1,0], // commercial at 'understood' -> [0,0,0,1,0], 'error' -> [0,0,0,0,0,0,0,0], 'invitationToTransmit' -> [1,0,1], 'wait' -> [0,1,0,0,0], 'endOfWork' -> [0,0,0,1,0,1], 'startingSignal' -> [1,0,1,0,1], $ -> [2] / ...

  4. Steno Quark

    ... , expand, maxBracketDepth, server).push } init { if(server.serverRunning.not) { Error("server % not running".format(server)).throw }; synthList = []; argList = []; variables = (); operators = (); settings = StenoSettings.new; this.initBusse ...

  5. RedAbstractSampler Quark

    ... sf; if(server.serverRunning.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, ...

  6. VGSamp Quark

    ... mp .eventFor((instKey: \Kendhang , \noteKey : \c_tapRight , amp: 0.2)).play; // error VGSamp .eventFor((instKey: \Kendhang , \noteKey : \c_tapLeft , amp: 0.2)).play; // error VGSamp .eventFor((instKey: \Kendhang , \noteKey : \c_hen , amp: 0 ...

  7. CytonSerial Quark

    ... eBuffer(data); dataAction.value(num, data, accel); }, { buffer.postln; ("% read error").format(this.class.name).postln; }); buffer= List(32); state= 0; } ); }; } } CytonDaisySerial : CytonSerial { classvar <numChannels= 16; //--private prTa ...

  8. FileListView Quark

    ... exists(newPath), { path = PathName(newPath); this.refresh; }, { "invalid path.".error }) } fullname { ^(path.pathOnly ++ listbox.items[listbox.value]) } refresh { var files, colors=Array(); files = ["../"]; colors = colors.add(dirColor); pa ...

  9. BP Doc

    ... ry resources. ~stopCleanup A function to run when the process stops. ~onAsStreamError (Optional, rarely used.) In special cases, you might want to error handling for errors in ~asPattern . This may be: \throw to throw the error normally; \r ...

  10. CytonWifi Quark

    ... eBuffer(data); dataAction.value(num, data, accel); }, { buffer.postln; ("% read error").format(this.class.name).postln; }); }; }, \data, netAddr) ]; netAddr.sendMsg(\reset); } port_ {|val| netAddr.sendMsg(\port, val); } latency_ {|val| netA ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow