Lesson 5 +10 XP

Sequences

Sequences

When you separate sounds with spaces, Strudel plays them in sequence across what's called a cycle.

Multiple sounds = a sequence

The longer the sequence, the faster it runs:

The whole sequence is squished into one cycle. A cycle is 2 seconds long by default.

One per cycle with < ... >

Wrap a sequence in < and > (angle brackets) to play only one element per cycle:

Now the tempo doesn't change when you add or remove elements!

Speed it back up with *8

Because this is now slow, speed it up again:

*8 makes the whole thing 8 times faster. Change the number to change the tempo!

The <> superpower

The special thing about < ... > is that tempo stays the same when you add or remove elements. Try editing the contents and notice the tempo never changes.

TL;DR

  • Spaces inside a string make a sequence.
  • A sequence is squished into one cycle (2s by default).
  • < ... > plays one element per cycle, keeping tempo steady.
  • *8 speeds a pattern up by 8x.