This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 125 | |
set_sched_ahead_time! 1 | |
use_debug false | |
# Timer Loops ------------------------------------------------------- | |
live_loop :atom do | |
sleep 0.25 | |
end | |
live_loop :bar, sync: :atom do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 125 | |
set_sched_ahead_time! 4 | |
# Timer Loops ------------------------------------------------------- | |
live_loop :atom do | |
sleep 0.25 | |
end | |
live_loop :bar, sync: :atom do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From the series R(emodelling) E(electronic) C(lassics) with Sonic Pi | |
# Black Dog Productions - Otaku (1992) | |
use_bpm 120 | |
# Download sample and adjust path to your environement | |
path = "/home/marty/projects/leuphana-local/sonic-pi/mb/samples/", 0 | |
load_sample path, 2 | |
# http://www.freesound.org/people/kendallbear/sounds/123804/ | |
clap = path, 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After "Amine" by Arovane | |
use_bpm 142 | |
# External samples | |
sn = "/home/marty/projects/leuphana-local/sonic-pi/mb/samples/edm-drums/EDM\ Snares/edm-snare-22.wav" | |
#sn = "/home/marty/projects/leuphana-local/sonic-pi/mb/samples/edm-drums/EDM\ Snares/edm-snare-27.wav" | |
### Mixer | |
play_bass_drum = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Martin Butz, mb@mkblog.org | |
# | |
# Code heavily based on: | |
# Xavier Riley, https://gist.github.com/xavriley/30444c1773434014c9ee | |
# | |
# Uses a sample from freesound: | |
# https://freesound.org/people/jobro/sounds/52535/ | |
# 32 bars, 128 beats (one beat = quarter) | |
frsnd_sample = "/home/marty/projects/leuphana-local/sonic-pi/mb/samples/149826__jobro__big-time-breakbeat.wav" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From the series R(modelling) E(lectronica) C(lassics) comes this @Sonic_Pi piece called "JAM": | |
# A trimmed remix of a nice mellow tune by the rather unknown German Electronica Duo | |
# called 'LEM Productions' (arguably a 'classic' - but for me it is): https://soundcloud.com/mbutz/jam | |
# Made with Sonic Pi (loops pre-coded, mixing live-coded) using edited samples from | |
# Sonatina Symphonic Orchestra (http://sso.mattiaswestlund.net/) available under CC Sampling Plus 1.0 | |
use_bpm 120 | |
set_volume! 1 | |
live_loop :timer do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Live Coding with Sonic Pi | |
# Martin Butz, mb@mkblog.org, 2016-09-16 | |
# You will find the complete video session here: https://youtu.be/80Sw7G-4nno | |
# Live Loops for timing | |
set_volume! 1 | |
use_bpm 120 | |
live_loop :bar do | |
sleep 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Some Live Coding with Sonic Pi | |
# Using Emacs, sonic-pi.el (thanks to Joseph Wilk) and some home-baked Guitar Samples | |
# I also use snippets to speed things up ... | |
# Video of the session: https://www.youtube.com/watch?v=3zGt-1JSfgA | |
use_bpm 120 | |
# Download samples at: http://www.mkblog.org/download/samples-sonicpi-lc-2016-10-15.zip | |
path = "/PATH/TO/SAMPLES/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 120 | |
use_synth :piano | |
use_synth_defaults attack: 0.0, release: 0.75, stereo_width: 1, vel: 0.15 | |
vol = (knit 0.75, 3, 0.125, 2, 0.25, 4, 0.35, 3).pick | |
vol_master = 10 | |
with_fx :reverb, room: 0.75, mix: 0.65 do | |
live_loop :bass do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mother-of-canon.rb | |
# Kyrie eleison, Herbert Beuerle | |
use_bpm 180 | |
use_synth :fm | |
with_fx :echo, phase: 8, decay: 1, mix: 0.75 do | |
live_loop :canon do | |
tick(:cnt) |