Hi Sam,
I’ve noticed people using while and for in their code recently,
and that there is no F1-help for these commands. In between
everything else, could they be added please?
Also, the auto-indent doesn’t seem to like while… it
glitches with a while in a live_loop? Very confusing…
Ta muchly!
Eli…
live_loop :melody_background_beat do
cue :background_beat
while (song_ended == 0) do
sample :drum_heavy_kick,amp:2.5
sleep 1
sample :drum_snare_soft,amp:2.5
sleep 1
end
stop
end