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 edit summary
 
Line 1: Line 1:
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:
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</youtube>
<youtube>LKzLeBG9CrY</youtube>
The following script is a modification of the previous video.  
 
The following script is the previous video.  


<syntaxhighlight>
<syntaxhighlight>

Latest revision as of 17:43, 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 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