Skip to content

Instantly share code, notes, and snippets.

View alcluith's full-sized avatar

Claire Quigley alcluith

View GitHub Profile
#######################################################
# A tune for the "Stirling Heads"
# Claire Quigley, February 2018
# Based on this article:
# https://blog.stirlingcastle.scot/2017/01/24/heads-harps-and-hidden-secrets/
#######################################################
#######################################################
#define how long various notes are
q = 0.5 #half a beat
c = 1 #one beat
m = 2 #2 beats
s = 4 #4 beats
t = 0.333 # 1/3 beat
use_bpm 120
live_loop :tune do
@alcluith
alcluith / Scotland the Brave Remix
Created November 30, 2015 15:31
Scotland the Brave - the Inept Club Remix
#Scotland the Brave
#Claire Quigley
#Remix of Martin Goodfellow's code:
#https://github.com/MartinCoderDojo/ScotlandTheBrave
use_bpm 60
live_loop :brave do
with_fx :echo,phase: 0.5,max_phase: 1, mix: 0.4 do
use_synth :zawa
@alcluith
alcluith / Sound_of_Bubblesort
Last active January 29, 2018 18:09
Sonic Pi implementation of Bubble Sort
live_loop :ind do
sample :loop_industrial, beat_stretch: 2, amp: 1
sleep 4
end
live_loop :trance do
with_fx :reverb , room: 1 do
sample :bass_trance_c
sleep 4
end
@alcluith
alcluith / haunted
Last active August 29, 2015 14:21
Haunted
#haunted
# Welcome to Sonic Pi v2.1.1
# Claire Quigley, May 2015
# To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/
use_bpm 60
sq = 0.25 #sixteenth note
qt= 0.30 #quaver triplet
q = 0.5 #Eight note
c = 1 #Quarter note
@alcluith
alcluith / CherryPi
Created May 19, 2015 12:22
Cherry Pi
#cherry pi
# Welcome to Sonic Pi v2.1.1
# Claire Quigley, May 2015
# To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/
use_random_seed(540)
live_loop :tune do
with_fx(:echo, phase: [0.25,0.125].choose) do
use_synth :mod_sine
play choose([:e4, :g4, :b4, :a4]), amp: rrand(0,2)
@alcluith
alcluith / Futurewash
Created May 19, 2015 12:20
Futurewash
# Welcome to Sonic Pi v2.1.1
# Claire Quigley, May 2015
# To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/
live_loop :tune do
use_synth :zawa
with_fx(:slicer, phase: [0.25,0.125].choose) do
play scale(:Eb3, :major_pentatonic, num_octaves: 3).choose, release: 0.2, amp: rand
sleep 0.25
end
@alcluith
alcluith / RunningUpThatHill
Last active August 29, 2015 14:20
Sonic Pi version of Placebo's cover of "Running up that Hill" by Kate Bush
# Welcome to Sonic Pi v2.1.1
# Sonic Pi version of the intro to Placebo's cover of "Running up that Hill" by Kate Bush
# Claire Quigley, April 2015
# To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/
use_bpm 90
#define note length values
quaver = 0.5 #Eight note
crotchet = 1 #Quarter note