Kreativ programmeringsworkshop med Sonic Pi
Mehackit 2019 ❤
Mehackit is a social business leveraging and contributing to open source technologies and their creative use for teaching and learning.
Mehackit Atelier online service offers professional development training for teachers and modular learning materials for students 11+ years of age.
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
Last inn koden som tekstfil
# Band Example 2
# Mehackit 2016
live_loop :rummut do
live_loop :hihat do
live_loop :basso do
play chord(:C2, :major).choose, release: 0.125, cutoff: rrand(60, 110)
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