Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'master' into protocols
  • Loading branch information
rosejn committed Mar 11, 2012
2 parents df79e1f + 5aa03fa commit 91bcd6a
Show file tree
Hide file tree
Showing 9 changed files with 184 additions and 271 deletions.
12 changes: 12 additions & 0 deletions TODO.md
Expand Up @@ -68,3 +68,15 @@ to ugens as arguments and their :id property will be used
(currently there is just :append-seq)

## Ugens

## SC Tweets:

{loop{play{GVerb.ar(LeakDC.ar(Crackle.ar([a=Phasor.ar(1,Line.kr(0.0020.rand,0,9),0,1),a],0.5,0)))*0.05*EnvGen.kr(Env.sine(9))};5.wait}}.fork

{loop{play{|q|c=EnvGen.kr(Env.sine(6),b=(6..1));Pan2.ar(PMOsc.ar(a=40*b*b.rand,a/2-1,1+q*c*90,c,0.01).sum.tan,2.0.rand-1)*c*5};1.wait}}.fork

play{b=LocalBuf(2**20,2).clear;n=LFNoise2.ar(Rand(500)!2);w=Warp1.ar(2,b,n+1/2,[a=0.5,1,2,4]).sum/50;RecordBuf.ar(LeakDC.ar(w+n),b,0,a,a);w}

{loop{play{GVerb.ar(Pan2.ar(HenonC.ar(11025/(16.rand+1),0.4.rand+1,0.3.rand),2.rand-1).tanh)*0.01*EnvGen.kr(Env.sine(4))};0.8.wait}}.fork

play{n=12;Splay.ar(Ringz.ar(Decay2.ar(Impulse.ar({2.0.rand.round(0.25)}!n),0.01,0.1,0.1),{|i|50+(i*50)+4.0.rand2}!n,{8.0.rand}!n),0.1)}
2 changes: 1 addition & 1 deletion examples/blues.clj
Expand Up @@ -38,7 +38,7 @@

(play-blues instr pitch))
(at (+ time (* 0.5 dur))
(c-hat 0.1))
(closed-hat 0.1))
(apply-at n-time #'play-seq
[(mod (inc count) 4) instr (next notes) (next durs) n-time odds]))))

Expand Down
2 changes: 1 addition & 1 deletion examples/sample_looper.clj
Expand Up @@ -75,7 +75,7 @@
vals (range from to step)]
(dorun (map #(do (ctl loop-synth :rate (reset! rate* %)) (Thread/sleep 35)) vals))))

;;(tempo-slide sdlkfjsf lsdjfsdlkjf 0)
;;(tempo-slide 2)
;;(volume 1.5)
;;(reset-samples!)
;;(trigger 1 1)
Expand Down
3 changes: 1 addition & 2 deletions project.clj
Expand Up @@ -11,6 +11,5 @@
[overtone/midi-clj "0.2.1"]
[clj-glob "1.0.0"]
[org.clojure/core.match "0.2.0-alpha6"]
[seesaw "1.3.1-SNAPSHOT"]
[lacij "0.7.0-SNAPSHOT"]]
[seesaw "1.4.0"]]
:jvm-opts ["-Xms256m" "-Xmx1g" "-XX:+UseConcMarkSweepGC"])

0 comments on commit 91bcd6a

Please sign in to comment.