Creative programming workshop with Sonic Pi
Mehackit 2021 ❤
Mehackit is a social business leveraging and contributing to open source technologies and their creative use for teaching and learning.
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.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on Getting started with Sonic Pi by Raspberry Pi foundation and An introduction to Sonic Pi by Stuart Brett.
Fork at GitHub
Load the code as a text file
# Band Example 1
# Mehackit 2016
live_loop :rummut do
live_loop :hihat do
live_loop :basso do
play :c2, attack: 0, release: 0.25
play :c2, attack: 0, release: 0.3
live_loop :melodia do
play_pattern_timed [:c4, :e4, :f4, :g4, :f4, :e4, :f4, :g4, :f4, :e4, :f4], [0.25, 0.25, 0.25, 1.5, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25], attack: 0, release: 0.2