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

Re: [Sc-devel] t_trig cut away? bug or feature?

Hi Julian and JAmes

This is so patterns do not need to know when prefixes are used to spec control rates. It is definitely a feature. But it does make the relation between events and node classes a little
bit rocky...


On Feb 27, 2008, at 8:21 PM, Julian Rohrhuber wrote:

SynthDef(\test, { |t_trig| Out.ar(0, Decay.kr(t_trig, 0.5) *
PinkNoise.ar(1)) }).store;

a = Synth(\test);
a.set(\t_trig, 0.2)

x = SynthDescLib.global.synthDescs.at(\test).msgFunc;

(type: \monoSet, id: a.nodeID, t_trig: 0.2, msgFunc: x).play; // doesn't work

(type: \monoSet, id: a.nodeID, trig: 0.2, msgFunc: x).play;  // works


#{ arg trig = 0; // trig!? why not t_trig?
	[ 't_trig', trig ] }

Sc-devel mailing list