Closed crucialfelix closed 10 years ago
Patch seems not to be able to update the Instr:
Patch("fm.car1mod1", [49.midicps, 3, 3]).play; Patch("fm.car1mod1", [54.midicps, 2, 5]).play;
note: a bug related to this was fixed 7 months ago.
Instr("car1mod1", {arg note = 49, modPartial1 = 1, index1 = 1, mul = 0.1; var mod, car; mod = SinOsc.ar(note.midicps * modPartial1,0, note.midicps*index1*LFNoise1.kr(0.5).abs); car = SinOsc.ar(note.midicps + mod,0,mul)* EnvGen.kr(Env.linen(3, 1, 3), doneAction:2);}, [ \midinote, [0.0, 20.0], [0.0, 20.0], [0.0, 1.0] ]);
just another simple example from the help-file which is also not working:
Instr(\Pulse,{ arg freq=440.0,width=0.5,mul=0.1; Pulse.ar( freq, width, mul ) }); p = Patch( \Pulse, [ 300, 0.2, 0.1 ]); c = Patch( \Pulse, [ 500, 0.3, 0.1 ]); p.play; c.play;
Patch seems not to be able to update the Instr:
Patch("fm.car1mod1", [49.midicps, 3, 3]).play; Patch("fm.car1mod1", [54.midicps, 2, 5]).play;
note: a bug related to this was fixed 7 months ago.
just another simple example from the help-file which is also not working: