RedDefault a hacked default synth


the point of this class is that any event you try to play with the default synth will sound a lot better ;-)

eg try the code in [Streams-Patterns-Events5] or [Streams-Patterns-Events6] before and after installing.


note: this class will overwrite your default synth at recompile.  though it is easy to undo and get back to normal.


install:

1. if you haven't already, install redDefault as normal via Quarks.gui.  or run the following line...

Quarks.install("redDefault") //install this class

2. recompile supercollider and redDefault will overwrite the default synthdef.


uninstall:

1. manually delete the file default.scsyndef in your synthdefs directory.  or run the following line...

("rm"+(SynthDef.synthDefDir++"default.scsyndef").quote).unixCmd //delete the default.scsyndef

2. uninstall redDefault via the quarks gui.  or run the following line...

Quarks.uninstall("redDefault") //uninstall this class

3. last recompile supercollider and a brand new default.scsynth will be created for you.




s.boot;

Pbind.new.play


Pbind(\dur, 3, \amp, 0.3).play


Pbind(\dur, Prand([0.15, 0.1, 0.05], inf), \freq, Pseq([250, 500, 1000, 500], inf)).play


Pbind(\dur, 0.15, \freq, Pseq([[400, 900], 400, [400, 900], Prand([20, 200], 1)], inf)*Pseq([Pn(1, 16), Pn(0.5, 16), Pn(1, 16), Pn(0.9, 16)], inf), \legato, 1.5).play


Pbind(\dur, 0.1, \degree, Pn(Pseries(-6, 4, 8), inf), \lag, Pseq([0, 0.1, 0.2], inf)).play