# Arpeggiating a TimeVar chord?

**URL:** <https://forum.toplap.org/t/arpeggiating-a-timevar-chord/2229>\
**Category:** Foxdot\
**Created:** [29 October 2023 22:55 UTC](https://forum.toplap.org/t/arpeggiating-a-timevar-chord/2229 "2023-10-29T22:55:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Augustin](https://forum.toplap.org/user_avatar/forum.toplap.org/christian_augustin/32/1218_2.png) [@Christian\_Augustin](https://forum.toplap.org/u/Christian_Augustin)\
**Post date:** [29 October 2023 22:55 UTC](https://forum.toplap.org/t/arpeggiating-a-timevar-chord/2229/1 "2023-10-29T22:55:41Z")

</div>

I would like to have a global chord progression:

`var.chords = var( [(0,2,4),(-3,3,4)], 2)`

Works very well to follow the chords with players, but can’t wrap my head around how to arpeggiate notes in a given sequence, or randomly. Neither of the following approaches seems to work:

```auto
p1 >> pluck(var.chords[P[0,1,2]], oct=5, dur=0.5)

p1 >> pluck(choose(var.chords), oct=5, dur=0.5)

```

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![Christian\_Augustin](https://forum.toplap.org/user_avatar/forum.toplap.org/christian_augustin/32/1218_2.png) [@Christian\_Augustin](https://forum.toplap.org/u/Christian_Augustin)\
**Post date:** [30 October 2023 00:58 UTC](https://forum.toplap.org/t/arpeggiating-a-timevar-chord/2229/2 "2023-10-30T00:58:24Z")

</div>

Turns out I needed two TimeVars.  
One for the chords, and one for the index.

```auto
var.chord = var([(0,1,2),(4,5,6)],4)

var.i = var(PRand(2),3)

p1 >> pluck(var.chord[var.i], oct=5, dur=1)

```
