Pbind hould have even number of args

SynthDef(\sine, {
	arg freq=440, atk=0.005, rel=0.3, amp=1, pan=0;
	var sig, env;
	sig = SinOsc.ar(freq);
	env = EnvGen.kr(Env.new([0,1,0], [atk, rel], [1, -1]), doneAction:2);
	sig = Pan2.ar(sig, pan, amp);
	sig = sig * env;
	Out.ar(0, sig);

x = Synth(\sine, );

p = Pbind(
	\instrument, \sine,
	\dur, Pseq([1, 0.5, 0.5], 1);
	\freq, Pseq([330, 370, 200], 1);


^^ The preceding error dump is for ERROR: Pbind should have even number of args.

Confusing. No idea what’s going wrong here.

replace the semicolons with commas on dur and freq line endings. remember, those are function arguments, not statements! pbind expects pairs of arguments (even number), but now it’s confused because of the semicolons.

I see the mistake. Thanks.