Ask Your Question

Why "keep" Events which don't fire?

asked 2016-10-20 01:19:02 -0500

vivid-synth gravatar image

updated 2016-12-16 02:24:01 -0500

lennart gravatar image

I'm messing around with Tidal internals a bit and I'm wondering why Events are kept which don't occur. E.g. given a pattern:

n "1 2/2" # s "bd"

if I look at the events which occur between cycles 0 and 2, I see 4 events (but I only hear 3).

Is that because, e.g., it preserves some property if we then scale again? Like "1 2/2*2"?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-20 03:44:03 -0500

yaxu gravatar image

Hi Tom,

Yes this is a bit magic, but after some thought it makes sense that there are four events to me

Over two cycles it would be

  • 1
  • the first half of 2
  • 1 (again)
  • then the second half of 2

Basically there are three events, but one of them has been cut in two.

Taking that first half of 2 as an example, its first arc is (1%2, 3%2) i.e. from 0.5 to 1.5, representing where the event would be if it were whole. The second arc is (1%2, 1%1), showing what part of that arc is actually present.

When it comes to scheduling patterns, i.e. sending them out over OSC, events which don't have onsets (i.e. where the second arc doesn't start at the same time as the first one) are ignored, so you don't hear the fourth event in those two cycles.

However if you were to do something like this:

s "bd sn" # speed "1 2/2"

.. then you'd still expect the snare to be sped up by 2 the second time around, even though you're getting the back half of the 2..

In short, in your final pattern only onsets matter, but when constructing that pattern the way you will often want to combine fragments of events with other events, so those fragments need to be represented.

edit flag offensive delete link more


It also helps to make sense of patterns like "[1 [2 3]/2]", which *will* have four events over two cycles.

bgold gravatar imagebgold ( 2016-10-20 09:16:33 -0500 )edit

Question Tools

1 follower


Asked: 2016-10-20 01:19:02 -0500

Seen: 26 times

Last updated: Dec 16 '16