# Dotted notes and patterns

**URL:** <https://uzu.lurk.org/t/dotted-notes-and-patterns/4971>\
**Category:** Strudel\
**Created:** [20 November 2023 20:46 UTC](https://uzu.lurk.org/t/dotted-notes-and-patterns/4971 "2023-11-20T20:46:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cantarell](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cantarell/32/2755_2.png) [@cantarell](https://uzu.lurk.org/u/cantarell)\
**Post date:** [20 November 2023 20:46 UTC](https://uzu.lurk.org/t/dotted-notes-and-patterns/4971/1 "2023-11-20T20:46:39Z")

</div>

I was wondering if there is a better way of representing this in strudel. The clip pattern is almost always 1 and in some specific locations is 2 or 3. I cannot use `eb4@3` to enlarge a given note as no matter how big the number is, it always stays "inside" the square brackets, it doesn't "break out" [Strudel REPL](https://strudel.tidalcycles.org/?nTbrkqN9d_ba)

```haskell
stack(
  s("[bd,~ hh]*2"),
  `< ~ eb4 eb4 c4 [eb4 eb4] [~ eb4] d4 ~ 
        [eb4 eb4] [c4 eb4] ~ c4 [eb4 f4] ~ [eb4 d4] ~
        [eb4 eb4] [c4 eb4] ~ [eb4 c4] [eb4 eb4] [~ eb4] d4 ~
        eb4 [c4 eb4] [~ c4] ~ [eb4 eb4] [f4 d4] [~ d4] ~
    >*2`
    .note()
    .clip
  (`< 1 1 1 1 [1 2] [1 1] 1 1 
        [1 1] [1 3] 1 1 [1 2] 1 [1 2] 1
        [1 1] [1 3] 1 [1 1] [1 1] [1 1] 1 1
         1 [1 2] [1 3] 1 [1 1] [1 1] [1 1] 1
    >*2`))

```

There is an operator to do this? If not, as a proposal maybe it would be interesting to add a "dotted" operator that accepts a number:

```haskell
  `< ~ eb4 eb4 c4 [eb4 eb4.2] [~ eb4] d4 ~ 
        [eb4 eb4] [c4 eb4.3] ~ c4 [eb4 f4.2] ~ [eb4 d4.2] ~
        [eb4 eb4] [c4 eb4.3] ~ [eb4 c4] [eb4 eb4] [~ eb4] d4 ~
        eb4 [c4 eb4.2] [~ c4.3] ~ [eb4 eb4] [f4 d4] [~ d4] ~
    >*2`

```
