Syncing the loops

From wikiluntti
Revision as of 17:42, 12 October 2020 by Mol (talk | contribs) (Created page with "A more complex beat is easier to code using multiple <code>live_loop</code>s but the loops ne to be synced together. See the video made by Geek Tutorials: <youtube>LKzLeBG9CrY...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A more complex beat is easier to code using multiple live_loops but the loops ne to be synced together. See the video made by Geek Tutorials: The following script is a modification of the previous video.

use_bpm 70
live_loop :kick do
  sleep 1
  sample :drum_bass_hard
end

live_loop :snare do
  sync :kick
  sleep 0.5
  sample :drum_snare_hard
end

live_loop :hihat do
  sync :kick
  sample :drum_cymbal_closed
  sleep 0.25
  sample :drum_cymbal_closed
  sleep 0.25
  sample :drum_cymbal_closed
  sleep 0.25
  sample :drum_cymbal_closed
end