[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] Re: step through pbind



Thanks James, thats exactly what I wanted. I ended up changing the code a bit
in an attempt to get it work. I seemed to have missed the copy from (Event.default.copy)
but it works anyhow. Was it important ?

I used;

n = NoteOnResponder({ |src, chan, num, vel| [src, chan, num, vel].postln;
p.next(Event.default).play; }, nil, 0, 61, { |vel| vel > 50 });


Which was modified from;


p = Pbind(...).asStream;
n = NoteOnResponder({ |src, chan, num, veloc|
  p.next(Event.default.copy).play;
}, port_number, chan_number, note_num, veloc_range)

Thanks
Simon