# Numbered notes and "elongate" `_`

After great help with transposition, I'm trying out elongation with "_", to get some tied notes. The following gives a half note C and quarter notes E and G, all good:

``````"c _ e g"
``````

However, if the lettered notes are replaced with numbered notes, the first note takes up 4/5 of the cycle. Edit: I realize the `4` acts as an argument to the `_`, that's why.

``````"0 _ 4 7" :: Pattern Int

(0>⅘)|0
(⅘>1)|7
``````

Adding brackets around the note `4` following the elongator restores the pattern:

``````"0 _ [4] 7" :: Pattern Int

(0>½)|0
(½>¾)|4
(¾>1)|7
``````

Is this the right way to do it, i.e., adding brackets?

Hey!

We actually made some changes to the parser quite recently, which should be included in the next version of tidal.

In the new version, a space after one of the mini operators (like` _, @, ?, *, /`) will seperate it from the following.

In your example `"0 _ 4 7" :: Pattern Int` will yield what you expected, i.e.

``````(0>½)|0
(½>¾)|4
(¾>1)|7
``````

while `"0_4 7" :: Pattern Int` will yield

``````(0>⅘)|0
(⅘>1)|7
``````

For now, your fix with the brackets is probably the best solution

This sounds perfect. Many thanks for taking the time to clarify -- and then we'll all look forward to the next version

1 Like