Either name all arguments or none , but not just one

As shown in the example ,in the first one all arguments are named for the SinOsc ,for the second only frequency is named resulting is not executing the code
1

arguments after the first named arg are skipped - I guess its unclear which parameter they would address!

if you wrote:
SinOsc.ar(mul:3,2,100)
does the 2 refer to phase or freq?

you can mix positional and named arguments by having the positional ones first: so
SinOsc.ar(400,mul:0.1)
works

1 Like