Array parameters for SC custom synth

There is a way to specify multiple parameters together on the tidal side. You have probably seen it with sound "bd:2" being the same as sound "bd" # n 2

You could do this:

mods1 = grp [mF "mod11", mF "mod12", mF "mod13", mF "mod14", mF "mod15", mF "mod16"]

Or the same more compactly:

mods1 = grp (map (mF . ("mod"++) . show) [11 .. 16])

and then use it like this:

d1 $ s "fm7" # mods1 "1:0.5:0:0:0:0"`
3 Likes