sonic-pi-challenge/snippets/usdivad_01.rb

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

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