Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. HierSch Quark

    ... |verbose=true| if (isRunning, { if(verbose, {"schedChecker is already running".postln}); }, { if(verbose, { "schedChecker restarted".postln }); isRunning = true; dict = dict.clear; // clear old this.schedChecker(dict); CmdPeriod.doOnce {Êi ...

  2. SCPodcast Quark

    ... dcast_fdbknois1.osc", "Fdbk noise, " ); // Now generate one entry. // Watch the post window to see what happens. Hopefully, after a couple of minutes, // it'll conclude with RESULT=0 which means success. p.generate; // Run the above line re ...

  3. SCPodcast Quark

    ... dcast_fdbknois1.osc", "Fdbk noise, " ); // Now generate one entry. // Watch the post window to see what happens. Hopefully, after a couple of minutes, // it'll conclude with RESULT=0 which means success. p.generate; // Run the above line re ...

  4. 01_GuidedTour Quark

    ... ins with 0 ~list.last; ~list.scramble; ~list.size; ~list.do { |element| element.postln }; ~list.collect { |element| element.squared }; ~list + 100; // becomes a collect automagically ~list2 = ~list.collect { |element| element.squared }; ~li ...

  5. soundscape Quark

    ... //////////////////// // dummy methods to be overwritten initAudio { "init done".postln } sendDef { var aDef ; aDef.send(server) ; } play { arg more ; more.postln ; } modifplay{arg more; more.postln; } } // NOTE: -> .mp3 Format is not suppor ...

  6. 03b_shared_coding_drawer Quark

    ... s: wrap every function in case it fails: MFdef(\demoDraw).useTry = true; // and posts which line fails MFdef(\demoDraw).disable(\line0); // enable it again MFdef(\demoDraw).enable(\line0); // fix the code, and put it there again with same n ...

  7. Slider Doc

    ... view to accept key actions ( // select the slider, type something and watch the post window w = Window.new; c = Slider(w, Rect(0, 0, 100, 30)); c.keyDownAction = { |view, char, modifiers, unicode, keycode| [char, modifiers, unicode, keycode ...

  8. TestHoaMatrixRotation Quark

    ... r2,r3 = 3.collect{rrand(-2pi,2pi)}; x = HoaMatrixRotation(r1, r2, r3, axes, 3); postf("#r1,r2,r3 = %;\n", [r1,r2,r3]); "x = HoaMatrixRotation(r1, r2, r3, axes, order);".postln; "test = x.matrix.asArray.flat;".postln; "res = [".postln; x.mat ...

  9. PLIdev Quark

    ... (0).not; ( "no repetitions within a span of " ++ (i+2).asString ++ " items: " ).post; result.postln; } } ) // test case // no repetitions within a maximum span of 6 (maxLookBack == 5) ( ~src = Pbrown (0, 20, 0.3).round.asInteger; p = PLIdev ...

  10. SCLOrkJack Quark

    ... rray[1]=="output", { sources = sources.add(subArray[0]) }); }); "=============".postln; "Jack Sources:".postln; "=============".postln; sources.do({|i| i.postln}); } *collectSources { var sources = Array.new; var properties = SCLOrkJack.col ...

prev 101 102 103 104 105 106 107 108 109 110 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow