Skip to content

Instantly share code, notes, and snippets.

View AlexandreRangel's full-sized avatar

Alexandre Rangel AlexandreRangel

View GitHub Profile
@AlexandreRangel
AlexandreRangel / enoch-v12.rb
Last active April 24, 2016 19:54
Sonic Pi music code
# Alexandre rANGEL
# www.quasecinema.org
# enoch v12
# 22 April 2016
# Sonic Pi 2.10
use_random_seed 3.14
x = 0
y = 0
d3= 0
# Alexandre rANGEL
# www.quasecinema.org
# my mothers were angels with fire veils and feather wings v14
# Sonic Pi 2.10
# 16-Apr-2016
use_bpm 140
set_volume! 0.777
t = Time.new
# the computer is singing and playing based on rules since the beggining of the night - v18
# Alexandre rANGEL www.quasecinema.org Sonic Pi 2.9 20-Apr-2016
myBPM = 72
use_bpm myBPM
c1 = c2 = q1 = q2 = k1 = k2 = 0
set_volume! 0.75
use_random_seed (Time.new.year / Time.new.month / Time.new.day * Time.new.hour * Time.new.min * Time.new.sec)
# http://www.freesound.org/people/digifishmusic/sounds/44928 and http://www.freesound.org/people/toiletrolltube/sounds/179881
# download samples, rename to vocal_la_c4, cello and hatMetal and put it in your path, defined here:
use_sample_pack_as '/Users/rangel/pisamples', :mySamples
# Alexandre rANGEL
# www.quasecinema.org
# knowledge representation and reasoning - v20
# Sonic Pi 2.9
# 3-Apr-2016
use_bpm 67
c1 = c2 = q1 = q2 = k1 = k2 = 0
set_volume! 0.84
# Alexandre rANGEL
# "ascension hill" (v14)
# www.quasecinema.org
# 26-Mar-2016
# Sonic Pi 2.9
myBPM = 144
bpmDivider = 2
use_bpm myBPM
set_volume! 1.0 # the age of
# Alexandre rANGEL
# tilt your head in a way so that you can hear the wind - v13
# 20-Mar-2016
# mp3: http://www.quasecinema.org/mp3/Alexandre_rANGEL-tilt-your-head.mp3
arrange = true
set_volume! 0.73
use_bpm 144
clock = 0
# Alexandre rANGEL
# "the book of changes" (v16)
# www.quasecinema.org
# 13-Mar-2016
# Sonic Pi 2.9
# video: https://www.youtube.com/watch?v=Fl-bDokHL5g
arrangement = true
mybpmbase = 240
mybpm = mybpmbase
# Alexandre rANGEL
# "raining rage" (v11)
# www.quasecinema.org
# 10-Mar-2016
# Sonic Pi 2.9
arrangement = true
mybpmbase = 160
mybpm = mybpmbase
use_bpm mybpm
@AlexandreRangel
AlexandreRangel / void-running-v25.rb
Last active June 10, 2017 13:36
Sonic Pi music code
# Alexandre rANGEL
# "void running" (v25)
# www.quasecinema.org
# 06-Mar-2016
# Sonic Pi 2.12
arrangement = true
mybpmbase = 116
mybpm = mybpmbase * 2
use_bpm mybpm
# Alexandre rANGEL
# 'jupiter coming with the wolves' (v13)
# www.quasecinema.org
# 28-Feb-2016 / Sonic Pi 2.12
arrangement = true
mybpmbase = 120
mybpm = mybpmbase # * 2 #6, 8, 12, 16, 4, 2
use_bpm mybpm
startClock = 0 # 0 to start song at beginning