# Pitch duration in same line

I am sure I saw an example somewhere of a Pbind that had the pitch and duration notated as an array and thus values could be inserted on the same Pseq line.
I got it working , but as with all things supercollider , I forgot how to do it .

`````` (
Pdef(
\vagi,
Pbind(
\instrument,
\twoop,
[\pitch,\dur],Pseq([[60,2],[67,1],[72,4]],inf),
\fmamt,Prand([2,1,3,4],inf),
\modrel,Prand([0.425,0.525,0.500,0.550,1,0.625,0.500,0.5,2.8],inf),
\modoffset,Prand([12,0,12,24],inf),
\feed,Pwhite(0.3,0.5,inf),
\pan,Prand([-0.3,0,0.3],inf),
\amprel,Pwhite (0.08,0.5,inf),
)
)
)
``````
1 Like

No one , I am sure it ws possible ?