
- #BASIC DRUM BEATS EXAMPLES HOW TO#
- #BASIC DRUM BEATS EXAMPLES CODE#
- #BASIC DRUM BEATS EXAMPLES PROFESSIONAL#
Take Stevie Wonder’s Superstition for example. Your drum pattern forms the backbone of your track and gives it structure before the other instruments and elements come in to really give it some flavour. Next you’ll create a bass track for your composition.Never underestimate what a drum pattern does for your song. You could also add a third live_loop for percussions or other effects. Now play around with different samples and rhythms. You might be wondering how the live_loops would translate to music sequences in popular music-making apps? The following video might help you to understand their relation. Now the song looks something like this: use_bpm 100 live_loop :drums do sample :drum_heavy_kick sleep 1 sample :drum_snare_hard sleep 1 sample :drum_heavy_kick sleep 1 sample :drum_snare_hard sleep 1 end live_loop :hihat do sample :drum_cymbal_closed sleep 0.25 sample :drum_cymbal_pedal sleep 1 end But it sounds cool! So remember to make a lot of mistakes to find something you weren’t even looking for. The loop is 1.25 beats long instead of the supposed 1. The polyrhythmic hi-hat pattern was first a “mistake”. You could also go for a bit more funky like this: live_loop :hihat do sample :drum_cymbal_closed sleep 0.25 sample :drum_cymbal_pedal sleep 1 end You could do for example straight 8th or 16th notes like this (this is 16th notes): live_loop :hihat do sample :drum_cymbal_closed sleep 0.25 endīut it doesn’t have to be so square. Create another live loop called :hihat and add your hi-hat samples.
#BASIC DRUM BEATS EXAMPLES CODE#
Notice that you don’t have to hit stop to change the sound - just change the code and re-hit Run - the sounds will change automatically on the next loop without losing a beat! Add hi-hat Try different samples and check out what they sound like. When you start writing the sample name, you can browse different samples with the auto-complete feature. Now, try changing the tempo (the number after use_bpm) and play with the samples. The :drums loop starts with a kick, plays snare on the two, kick on three, then a snare on the four. Here’s an example drumbeat: use_bpm 100 live_loop :drums do sample :drum_heavy_kick sleep 1 sample :drum_snare_hard sleep 1 sample :drum_heavy_kick sleep 1 sample :drum_snare_hard sleep 1 end It’s as simple as writing sample :sample_name. Instead of playing notes, you will be triggering samples. Let’s do a simple backbeat with kick drum on 1 and 3, snare on 2 and 4. Hit Run to hear your first live_loop playing a nice kick drum every beat. live_loop is an endless repeating loop that can be synchronised with other live_loops (a live_loop has to have at least one sleep): live_loop :drums do sample :drum_heavy_kick sleep 1 end It could be named anything, the names is just for quickly identifying what the loop does. Start with a empty buffer and create a live_loop called :drums. You’ll get to know two new things: live_loop and sample.
#BASIC DRUM BEATS EXAMPLES HOW TO#
Let’s look at how to create a simple drum beat, consisting of a kick drum, snare and hi-hat. Based on Getting started with Sonic Pi by Raspberry Pi foundation and An introduction to Sonic Pi by Stuart Brett. This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
#BASIC DRUM BEATS EXAMPLES PROFESSIONAL#
Mehackit offers free online art and technology courses, professional development training in phenomenon-based teaching of creative technology, and participatory workshops for museums and events. Mehackit is a social business leveraging and contributing to open source technologies and their creative use for teaching and learning.
