This file contains hidden or 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 12 | |
use_synth :mod_saw | |
128.times do | |
play scale([:F1,:Eb1,:F2,:Eb2].choose, [:minor,:major].choose).choose, | |
attack: ([0.5,1,2,4].choose) /[2.0,4.0].choose, | |
release: ([1,2,4,8,16,32].choose) /[2.0,4.0].choose, | |
mod_range: [0,1,2,4,6,8].choose, | |
mod_phase: [0.5,1,2,4,8].choose, | |
mod_phase_slide: [1,2,4,8].choose + rrand(-0.1,0.1), | |
mod_phase_offset: rrand(0,0.333), |
This file contains hidden or 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_synth :mod_fm | |
with_fx :normaliser, mix: 0.3 do | |
64.times do | |
play [:Fb1,:Gs2].choose, | |
attack: [2,4,8,12].choose, | |
release: [2,4,8,12,16,18].choose, | |
mod_range: [0,1,2,4,6,8,12,16].choose, | |
mod_phase: [0.25,0.5,1,2,4,8].choose, | |
mod_pulse_width: [0.1,0.2,0.25,0.5,0.75,0.99].choose, | |
mod_pulse_width_slide: [2,4,8].choose, |
This file contains hidden or 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 36 | |
x = 0 | |
128.times do | |
use_synth ring(:dsaw,:dpulse,:dtri)[x] | |
play (ring(60,62,65,60)[x])- ring(12,4,8,4,6,4)[x], | |
attack: ring(2,4,2,8)[x], | |
sustain: ring(2,4)[x], | |
release: ring(2,4,2,8,8)[x], | |
detune: ring(1,0.25,4,2,8,0.1,2,0.5)[x*7], | |
detune_slide: ring(2,8,2,4,2,6,2,8)[x], |
This file contains hidden or 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_synth :growl | |
64.times do | |
play rrand(30,90), | |
attack: rrand(4,16), sustain: rrand(2,4), | |
release: rrand(4,24), slide_shape: 3, | |
cutoff: rrand(62,112), | |
cutoff_slide: [2,4,8,12].choose, | |
res: rrand(0,0.99), | |
res_slide: [2,4,6].choose, | |
pan: rrand(-0.4,0.4), |
This file contains hidden or 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
# Sonic Pi 2.10 | |
use_synth :dsaw | |
live_loop :serra1 do | |
play chord(:d2, :m7).choose, | |
detune: rrand_i(-16,-8), detune_slide: [1,2,4,8].choose, | |
amp: 0.9, attack: 2, sustain: 2, release: [3.5].choose | |
sleep 4 | |
end | |
live_loop :serra2 do | |
play chord([:d4,:d5].choose, :major).choose, |
This file contains hidden or 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
# "i'm at home" v18 Alexandre rANGEL www.quasecinema.org | |
# 29 May 2016 Sonic Pi 2.10 | |
use_bpm 96; use_random_seed Math::PI; set_sched_ahead_time! 4 | |
set_volume! 0.66 | |
sample_scratch = '/Users/rangel/pisamples/scratch.wav' #www.freesound.org/people/junggle/sounds/29940/ | |
sample_train = '/Users/rangel/pisamples/train.wav' #www.freesound.org/people/lex1975/sounds/114468/ | |
sample_barceloneta = '/Users/rangel/pisamples/barceloneta.wav' #www.freesound.org/people/barcelonetasonora/sounds/186337/ | |
load_samples [sample_scratch,sample_train,sample_barceloneta,:bd_808,:bd_haus] | |
################################################################################# | |
puts "let's go!" |
This file contains hidden or 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
# Alexandre rANGEL | |
# www.quasecinema.org | |
# "my-scales" v08 | |
# 21 May 2016 | |
# Sonic Pi 2.10 | |
t = Time.new | |
use_random_seed Math::PI | |
puts Math::PI | |
set_volume! 1.0 |
This file contains hidden or 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
# Alexandre rANGEL | |
# www.quasecinema.org | |
# "a new bark in town" v01 | |
# 15 May 2016 | |
# Sonic Pi 2.10 | |
use_bpm 48 | |
sample_drawer = '/Users/rangel/pisamples/drawer.wav' | |
#http://www.freesound.org/people/jesabat/sounds/119725/ |
This file contains hidden or 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
# Alexandre rANGEL | |
# www.quasecinema.org | |
# "mother gave me wings" v05 | |
# 8 May 2016 | |
# Sonic Pi 2.10 | |
use_bpm 60 | |
set_volume! 0.8 | |
sample_birds = '/Users/rangel/pisamples/birds.flac' |
This file contains hidden or 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
# Alexandre rANGEL | |
# www.quasecinema.org | |
# Bast - v06 | |
# 1 May 2016 | |
# Sonic Pi 2.10 | |
set_sched_ahead_time! 2 | |
use_random_seed 3.14 | |
y = 0 | |
d3= 0 |