Permalink
Browse files

noteline working almost fine, copypaste of notes

  • Loading branch information...
1 parent f2bc9d6 commit 15cc80da0d73df7011c5a5cbc3cc60cab9037ed3 @grirgz committed Jul 9, 2011
Showing with 1,893 additions and 118 deletions.
  1. +895 −1 crap.sc
  2. +45 −0 debug.sc
  3. +361 −44 editplayer.sc
  4. +4 −4 keycode.sc
  5. +62 −23 live3.sc
  6. +109 −0 mixer.sc
  7. +374 −43 player.sc
  8. +43 −3 seco.sc
View
View
@@ -0,0 +1,45 @@
+().at
+
+
+
+~p = ~make_player_from_synthdef.(\sine);
+~p.node.play
+~p.set_noteline(true)
+~p.get_arg(\rangex).change_kind(\seq)
+
+
+(
+SynthDef(\rangebug, { arg freq=200, range=100;
+ var ou;
+ ou = SinOsc.ar(XLine.kr(freq, range));
+ ou = ou * EnvGen.kr(Env.linen, timeScale: 0.2, doneAction:2);
+ Out.ar(0, ou);
+}).add;
+)
+
+(instrument: \rangebug, range:100).play
+
+
+~p = ~make_player_from_synthdef.(\sinadsr);
+~p.set_noteline(true)
+~p.node.play
+~p.get_arg(\range).change_kind(\seq)
+
+~f = ~p.get_piano
+~r = ~f.value
+~r.release
+
+
+(
+~pp = EventPatternProxy.new;
+~pp.source = Pbind(
+ \instrument, \rangebug,
+ \freq, 200,
+ \range, 100,
+);
+~pp.play;
+
+)
+
+
+[\bla, \rah].difference([\bla, \rah])
Oops, something went wrong. Retry.

0 comments on commit 15cc80d

Please sign in to comment.