Skip to content

Instantly share code, notes, and snippets.

View AlexandreRangel's full-sized avatar

Alexandre Rangel AlexandreRangel

View GitHub Profile
@AlexandreRangel
AlexandreRangel / 12hours-v17.rb
Last active December 11, 2016 23:24
Sonic Pi music code
# 12 hours of into the night time v17
# Alexandre rANGEL
# www.quasecinema.org
# 11-Dec-2016
# Sonic Pi 2.11
use_bpm 12 #24
#set_recording_bit_depth! 32
set_sched_ahead_time! 16
set_volume! 0.8
# Alexandre rANGEL 'this is a dive' v06
# www.quasecinema.org
# 4-Dez-2016
# Sonic Pi 2.11
set_recording_bit_depth! 32
set_sched_ahead_time! 2
set_volume! 0.6
use_bpm 96 / 4
note1 = -24
@AlexandreRangel
AlexandreRangel / trip-v10.rb
Created November 28, 2016 21:31
Sonic Pi music code
# Alexandre rANGEL 'this is a trip' v10
# www.quasecinema.org
# 27-Nov-2016
# Sonic Pi 2.11
set_recording_bit_depth! 32
set_sched_ahead_time! 4
use_bpm 96
note1 = 60
note2 = 63
@AlexandreRangel
AlexandreRangel / winds-v42.rb
Created November 28, 2016 21:29
Sonic Pi music code
# Alexandre rANGEL 'good winds' v42
# www.quasecinema.org
# 20-Nov-2016
# Sonic Pi 2.11
#good winds carry me to a
#journey to the inner space
#set_recording_bit_depth! 32
use_cent_tuning -31.76665363342928
@AlexandreRangel
AlexandreRangel / OSC_C_01.rb
Last active April 8, 2019 10:40
Controling Sonic Pi from Processing OSC
# reading OSC from Processing, Alexandre Enkerli
# full screen, fulltime mouse, Alexandre Rangel
# 24-Nov-2016
# Sonic Pi 2.11
use_bpm 120
set_sched_ahead_time! 0 # Setting that one to a negative value makes Sonic Pi complain, it sounds like.
live_loop :osc do # The loop is inside the fx as this is where the action will be.
osc=sync "/osc" # The OSC message which Processing sends, based on mouse coordinates.
@AlexandreRangel
AlexandreRangel / discovering-v01.rb
Created November 15, 2016 13:38
Sonic Pi music code
# Alexandre rANGEL 'discovering myself' v1
# www.quasecinema.org
# 13-Nov-2016
# Sonic Pi 2.11
set_recording_bit_depth! 32
use_bpm 45/1.5 #60, 45, 45/1.5=30, 45/2, 45/4, 45/8, 45/16
start = 0
with_fx :reverb, mix: 0.5 do
@AlexandreRangel
AlexandreRangel / oheuclides-v01.rb
Created November 15, 2016 13:35
Sonic Pi music code
# Alexandre rANGEL 'oh euclides' v1
# www.quasecinema.org
# 5-Nov-2016
# Sonic Pi 2.11
live_loop :euclid_beat do
sample :tabla_tas3, amp: 1.5 if (spread 3, 8).tick
sample :elec_blip2, amp: 0.9 if (spread 7, (ring 11,12,22)[look/16]).look
sample :bd_fat, amp: 7 if (spread 1, 4).look
@AlexandreRangel
AlexandreRangel / euclides.rb
Created October 30, 2016 22:41
Sonic Pi music code
# Alexandre rANGEL www.quasecinema.org
# starting euclides v02
# 30/Oct/2016
# Sonic Pi 2.11dev
use_bpm 120
set_sched_ahead_time! 0.1
set_volume! 1.6
live_loop :beat1 do
@AlexandreRangel
AlexandreRangel / on-set-v03.rb
Created October 24, 2016 02:01
Sonic Pi music code
# Alexandre rANGEL www.quasecinema.org
# on set v03
# 23-Out-2016
# Sonic Pi 2.11 dev
use_bpm 140
x = 1
live_loop :onset do
if one_in(8)
with_fx :echo, phase: 1, decay: [1,2,3,4].choose, mix: [0,0,0,0,0.5,0.7].choose do
@AlexandreRangel
AlexandreRangel / target-v04.rb
Created October 17, 2016 12:58
Sonic Pi music code
# Alexandre rANGEL www.quasecinema.org
# the target calls the arrow v04
# 17-Out-2016
# Sonic Pi 2.11 dev
synth = '/Users/rangel/Documents/SamplesPi/synth-psycho.wav'
use_bpm 140
live_loop :synth1 do