Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SPlayFileView Quark

    ... es; if(start==end, {end= 1}); spf.start= start; spf.end= end; }; cursorUpdater= Routine({ var lastFrame= 0; inf.do{ var f= spf.frame; if(f!=lastFrame, { lastFrame= f; waveView.timeCursorPosition= f; }); (1/fps).wait; }; }).play(AppClock); } ...

  2. RedSampler Quark

    ... ln; a.prepareForPlay(sf.path, sf.path, sf.numFrames.rand, len); sf.close; }; r= Routine .run{ 1.wait; inf .do{ a.play(a.loadedKeys.choose.postln, 4, 2.rrand(6), 4, loop:2); 2.rrand(5).wait; }; }; ) r.stop; a.free; //--example that chops up ...

  3. ddwOSCSyncClocks Quark

    ... atsPerBar, this.baseBarBeat]); } startAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing ...

  4. ClearDragSink Quark

    ... { this.task.stop; view.background = this.color.copy.alpha_( 0.33 ); this.task = Routine({ var n; n = (this.time / 0.2).asInteger; n.do({ |i| view.background = this.color.copy.alpha_( i.linlin(0,n-1,0.33,0) ); 0.2.wait; }); }).play( AppClock ...

  5. TempoClockGui Quark

    ... // set initial display value namev.string_(name); updater.isNil.if({ updater = Routine.new({ // routine to update every beat var waitTime; { model.isRunning }.while({ this.updateCounter; if(metro.notNil and: { metro.synth.notNil }) { curre ...

  6. sound_gui_example_filters_and_fft Quark

    ... r.dataAction= {|num, data, accel| s.bind{~synth.set(\data, data[~channel])}; }; Routine.run({ inf.do{ fftArray= bus.getnSynchronous(numBins); (1/61).wait; //a tiny bit faster than framerate }; }); win= Window("fft", Rect(10, 100, width, hei ...

  7. README Quark

    ... via ```MeTA:samples``` * subdirectory ```images``` contains images (no loading routine implemented yet) * subdirectory ```midi``` contains midi-files (no loading routine implemented yet) ## Acknowledgements Alberto de Campo and Hannes Hoel ...

  8. SWPlotterMonitor.help Quark

    ... ple example use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the ...

  9. SGME_Oscilloscope Quark

    ... ar <running; // true o false: Si el sintetizador está activo o pausado var pauseRoutine; // Rutina de pausado del Synth var resumeRoutine; classvar settings; // Métodos de clase ////////////////////////////////////////////////////////////// ...

  10. server.api Quark

    ... quit: { arg reply, name=\default; var s = sf.value(name); if(s.serverRunning, { Routine.run { s.quit; s.wait(\done); 0.1.wait; reply.value; } }, reply); }, sendMsg: { arg reply, name=\default ... msg; sf.value(name).sendMsg(*msg); }, /*send ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow