Ask Your Question

parenthesis vs dollar signs

asked 2017-07-07 10:04:57 -0500

julio gravatar image

Hi Alex,

why does this work: d1 $ every 4 (rev) (sound "bd2 [bd [sn sn2 sn] sn]")

but this doesn't: d1 $ every 4 (rev) $ sound "bd2 [bd [sn sn2 sn] sn]"

given that this does: d1 $ every 4 (fast 4) $ sound "bd2 [bd [sn sn2 sn] sn]"

how should I think of the "$" versus the "()"?

thanks! Julio

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-07-07 12:37:12 -0500

bgold gravatar image

They should all work just fine, what's the error you're getting with the second?

In general $ just means "do everything on the right first".

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-07 10:04:57 -0500

Seen: 15 times

Last updated: Jul 07