Syncing the loops: Difference between revisions

From wikiluntti
(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...")
(No difference)

Revision as of 18:42, 12 October 2020

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