Basic drum beats6/3/2023 ![]() 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. 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. 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.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |