sonic-pi-challenge/snippets/usdivad_01.rb

14 строки
426 B
Ruby
Исходник Постоянная ссылка Обычный вид История

2020-12-09 07:00:20 +03:00
# Sonic Pi Sonnet 01 by David Su (@usdivad)
use_synth :dark_ambience
2020-12-09 07:14:05 +03:00
play (scale :E, :minor_pentatonic), amp: 3, attack: 1, release: 7
2020-12-09 07:00:20 +03:00
use_synth :beep
32.times do
2020-12-09 07:14:05 +03:00
with_fx :panslicer, wave: 1, pre_amp: 0.8 do
2020-12-09 07:00:20 +03:00
with_fx :vowel, vowel_sound: [1,2,3,4,5].choose, voice: 3 do
2020-12-09 07:14:05 +03:00
play (scale :E, :minor_pentatonic).choose, amp: rrand(0.1, 0.9), release: [0.25, 0.5].choose
2020-12-09 07:00:20 +03:00
sleep [0.125, 0.25].choose
end
end
end