Shared from Yui | Playground
Flow: a vibe to a beat
One screen from Yui, drawn from 38 lines of Yui Lines.
Drawing the screen...
The lines the agent sends:
flow@jam "A vibe to a beat" submit="Keep the jam"
flowchart TD
%% hi: page "From a vibe to a beat" body="Pick a vibe and I build the beat, kick and snare first. You set the tempo, change a row and pick the chords. Then it plays." points="Pick a vibe|Set the tempo|Change one row|Chords under it"
hi([Start]) --> vibe
%% vibe: choose "What's the vibe?" Lo-fi|"Boom bap"|House|Rock
vibe{Vibe}
vibe -->|vibe=Lo-fi| lofi
vibe -->|vibe=Boom bap| bap
vibe -->|vibe=House| house
vibe --> rock
%% lofi: page "Lazy Sunday" body="Lo-fi, laid back, with a little swing. Soft hats and a rim to nod along to." points="Kick ● · · · ● · · ·|Snare · · ● · · · ● ·|Hat ● · ● · ● · ● ·|Rim · · · · · ● · ·"
lofi[Lo-fi] --> lofibpm
%% lofibpm: slide "How fast?" 70-94 step=2 value=84 unit=bpm
lofibpm[Tempo] --> row
%% bap: page "Boom bap" body="Head-nod hip hop. The kick skips ahead before the second snare." points="Kick ● · · · ● · ● ·|Snare · · ● · · · ● ·|Hat ● · ● · ● · ● ·|Open hat · · · · · · · ●"
bap[Boom bap] --> bapbpm
%% bapbpm: slide "How fast?" 84-98 step=2 value=90 unit=bpm
bapbpm[Tempo] --> row
%% house: page "Four on the floor" body="A kick on every beat, the clap on 2 and 4, hats between the kicks." points="Kick ● · ● · ● · ● ·|Clap · · ● · · · ● ·|Hat · ● · ● · ● · ●|Open hat · · · · · · · ●"
house[House] --> housebpm
%% housebpm: slide "How fast?" 118-130 step=2 value=124 unit=bpm
housebpm[Tempo] --> row
%% rock: page "Rock backbeat" body="Straight and loud. A crash on the one to start every bar." points="Kick ● · · · ● · · ·|Snare · · ● · · · ● ·|Hat ● · ● · ● · ● ·|Crash ● · · · · · · ·"
rock[Rock] --> rockbpm
%% rockbpm: slide "How fast?" 100-140 step=4 value=116 unit=bpm
rockbpm[Tempo] --> row
%% row: choose "Change one row?" "Busier hats"|"Extra kick"|"Add a shaker"|"Leave it"
row[Change a row] --> chords
%% chords: choose "What goes under it?" Warm|Moody|Jazzy|"Just drums" body="Warm is the pop four. Moody is minor. Jazzy has sevenths."
chords{Chords}
chords -->|Just drums| kept
chords -->|Moody| minor
chords --> major
%% major: choose "Which key?" C|G|D|F
major[Key] --> kept
%% minor: choose "Which key?" "A minor"|"E minor"|"D minor"
minor[Minor key] --> kept((Kept))
end