Sonic Pi afternoon session 1
Cet article n’existe qu’en anglais.
A recorded jam/practice session with Denis, with the full cleaned code made in Sonic Pi 2.10.
Part of the Sonic Pi notebook, 2016–2018.
Playing with Sonic-Pi this afternoon, Denis and I made a recording of this jam/practice session. Much was learned and there is much more to be learned ! I Here is the full cleaned code, made with Sonic Pi 2.10 with default samples and synths. As always, feel free to use, comment, improve, distribute, modify & so on…
#melody
use_bpm 70
live_loop :melody do
# stop
play (scale :e, :dorian).choose, amp: 0.1
sleep [0.25, 0.5].choose
end
# birds
live_loop :birds do
# stop
with_fx :whammy, amp: 0.6, transpose: rrand(48, 72), transpose_slide: 0.5, deltime: 0.2, grainsize: 4 do
play :b2, amp: 0.4
sleep rrand(0.5, 2) # 1 -- 0.5
end
end
#bass reverb
live_loop :bass do
# stop
with_fx :gverb, damp: rrand(0.2, 0.1), dry: rrand(0.2, 0.8), dry_slide: 2, room: rrand( 12, 24), release: 1, ref_level: 0.4 do
play :a2, amp: 0.4, pan: [-1, 1].tick
sleep 1
end
end
#backward_sample
live_loop :back do
# stop
sample :ambi_lunar_land, rate: -2, clamp_time: 4, release: 0.6, amp: 1
sleep 16
end
#slow read cymbal
live_loop :cymbal do
stop
with_fx :reverb do
with_fx :pitch_shift, pitch: rrand(12, 24) do
sample :drum_cymbal_closed, rate: 0.05, sustain: 8, attack: 1, amp: 1
sleep 24
end
end
end
#pad
live_loop :hihat2 do
stop
with_fx :reverb, room: 0.5 do
sample :ambi_glass_hum, cutoff: 90
sleep 1
end
end
# speedy perc
live_loop :indus do
with_fx :slicer, phase: [0.25, 0.75, 8].tick do
# stop
sample :loop_breakbeat, beat_stretch: 2
sleep 2
end
end
# slowmotion like bitcrushed sound
live_loop :beat4 do
stop
with_fx :pitch_shift, pitch: 12 do
with_fx :slicer, phase: 0.25 do
with_fx :bitcrusher, sample_rate: 1000 do
sample :ambi_dark_woosh, beat_stretch: 8, amp: 0.5, cutoff: 120
sleep 4
end
end
end
end
#thundersound
live_loop :thunder do
stop
with_fx :compressor do
with_fx :reverb do
with_fx :tanh do
with_fx :lpf, cutoff: 60 do
sample :drum_snare_hard, rate: 0.05, amp: rrand(0, 1), attack: 0.4
sample :drum_snare_hard, rate: 0.15, amp: rrand(0, 1), attack: 0.4
sample :drum_snare_soft, rate: 0.05, amp: rrand(0, 1), attack: 0.78
sleep 32
end
end
end
end
end
#debut melody, slower with flanger
use_bpm 70
stop
live_loop :melody do
with_fx :flanger do
with_fx :compressor, pre_amp: 1 do
with_fx :hpf, cutoff: 95 do
synth :hollow, sustain: 2
play (scale :e, :dorian).choose, amp: 1, sustain: 2
sleep [1, 2].choose
end
end
end
end
Originally published on svdk.fr in 2016.