# Week 2 lesson 3 - Combining patterns with arithmetic, plus the 'hurry' function

**URL:** https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489
**Category:** Week 2 - effects, time, arithmetic
**Created:** [24 April 2020 20:50 UTC](https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489 "2020-04-24T20:50:19Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![KH2FM](https://uzu.lurk.org/user_avatar/uzu.lurk.org/kh2fm/32/3066_2.png) [@KH2FM](https://uzu.lurk.org/u/KH2FM)
#### Post date: [6 September 2024 00:23 UTC](https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489/21 "2024-09-06T00:23:17Z")

</div>

Hello. I'm not sure if I should be "waking up" this thread, but I have a question about the examples on the worksheet. There's one example that includes this rhythm:

d1 $ n "0(5,8) [4 1]" # sound "drum"

I don't get how "0(5,8)" works, how this combination of parenthesis and comma is changing the rhythm and I couldn't find any tip in previous worksheet.

Btw, lesson 5 from week 1 is missing on the "Course I (\> 1.6)" page.

Thank you!

EDIT: just remembered this has to do with Euclidean Patterns! So it is applying the pattern to the 0:drum sound fitting it in the first half of the cycle, right?

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [6 September 2024 08:02 UTC](https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489/22 "2024-09-06T08:02:47Z")

</div>

Waking up threads is encouraged 🙂 Yes as you say, it's a Euclidean pattern squashed into the first half.

[Here are all the lessons](https://club.tidalcycles.org/c/course/14?ascending=true&order=created), to make sure you're not missing any.

---

<div class="post-metadata">

### Author: ![instrmntl](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/i/9fc29f/32.png) [@instrmntl](https://uzu.lurk.org/u/instrmntl)
#### Post date: [31 July 2025 16:01 UTC](https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489/23 "2025-07-31T16:01:09Z")

</div>

> [@yaxu](#):
>
> ```haskell
> -- This:
> d1 $ n "0 1 2 3" # sound "numbers" +| n "4 5"
> 
> -- adds up to:
> d1 $ n "4 7" # sound "numbers"
> 
> -- This is because the rhythm comes from the left, from the "4 5", and
> -- so we start from that. The start of 4 matches with 0, and the start
> -- of 5 matches with 2, and adding them up, we end up with 4+0=4, and
> -- 5+2 = 7.
> 
> ```

Hey Alex,

I think there is a mistake in the worksheet here: "-- This is because the rhythm comes from the left" - should this be "right" (i.e., +|)?

---

<div class="post-metadata">

### Author: ![yaxu](https://uzu.lurk.org/user_avatar/uzu.lurk.org/yaxu/32/2_2.png) [@yaxu](https://uzu.lurk.org/u/yaxu)
#### Post date: [31 July 2025 18:47 UTC](https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489/24 "2025-07-31T18:47:47Z")

</div>

Yes true! Fixed 🙂

[Previous page](https://uzu.lurk.org/t/week-2-lesson-3-combining-patterns-with-arithmetic-plus-the-hurry-function/489.md?page=1)
