sardine icon indicating copy to clipboard operation
sardine copied to clipboard

Tempo change will unsync patterns until re-evaluation

Open Rhoumi opened this issue 1 year ago • 2 comments

When you make a big clock.tempo change, you need to re-evaluate your swimming functions. Here is an example with a change from clock.tempo=670 to clock.tempo=170:

clock.tempo=670

Ps * d("(eu {sid:0 sid:4} 2 3)", p=0.25, leg = 0.15,
        speed="({1 0.98})/2!16 ({1 0.98})/1.5!15 ({2 2.98})",
        note="C0", octer = 0.8, octersub=1,
        )

Pj >> d("(eu kick:2 13 16)", p=1,
        gain=0.8, octersub=2, speed=0.92)

Pk * d("kick:[6] {hihat:[12] kick:6} {snare:[5] snare:8} hihat:[12]",
        leg=0.2, p=0.5,orbit="{0 1}", 
        shape=0.3, room=0.5, gain=0.9, pan="{0 1}",
        )

clock.tempo=170

Pk, Ps and Pj are unsynced, re-evaluation needed.

Rhoumi avatar Jun 15 '23 20:06 Rhoumi