Ask Your Question
0

What does "s" and "n" do?

asked 2016-07-20 16:16:34 -0500

Arco gravatar image

I was watching the following video to learn some more tidal tricks: https://www.youtube.com/watch?v=Wm4if...

The recorder uses the functions s and n though which I don't know yet and can't find in the documentation. At first I thought s was a short way to write sound but after playing around a bit I can also dismiss that.

An example:

cps(1/3)

d1 $ n "0 1 2" # s "sn"

More info on this?

edit retag flag offensive close merge delete

Comments

Thanks for the link to the video. Quite interesting :)

phlux gravatar imagephlux ( 2016-07-22 14:03:54 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-07-20 17:41:53 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >1 is welcome to improve it.

Your example plays three different snare samples each cycle.

  • first file in th sn folder on the first beat,
  • second file on second beat,
  • third on third,
  • then again first on first beat of next cycle.

sound is grp [s_p,n_p] so you can write sound "bd:2 sn:3", which results in s "bd sn" # n "2 3"

You can read more in the documentation on algorithmically selecting samples

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-07-20 16:16:34 -0500

Seen: 158 times

Last updated: Jul 20 '16