2 summary:: multiply with value of a key in event stream
3 related:: Classes/Padd, Classes/Pmulp
4 categories:: Streams-Patterns-Events>Patterns>Math
11 can be a pattern or a stream. The resulting stream ends when that incoming stream ends.
18 a = Pmul(\freq, 801, Pbind(\freq, 100));
20 9.do({ x.next(Event.new).postln; });
27 a = Pmul(\freq, Pseq([3, 4, 6], 2), Pbind(\freq, 100));
29 9.do({ x.next(Event.new).postln; });
37 { arg out=0, freq=440, gate=1;
39 env = EnvGen.kr(Env.asr(0.001, 1, 0.2), gate, doneAction:2);
40 Out.ar(out, SinOsc.ar(freq, 0, env * 0.1))
45 a = Pbind(\dur, 0.5, \instrument, \sinegrain, \freq, 440);
46 b = Pmul(\freq, Pseq([1, 2, 3, 4, 5, 6, 7], inf), a);