欢迎光临散文网 会员登陆 & 注册

鸮嚣

2023-03-14 08:04 作者:reverland  | 我要投稿

notes = [:e3]

time = [0.25, 0.125, 0.125, 0.25, 0.25]


use_bpm 60


live_loop :chord do

 use_synth :pluck

 play_chord [chord(:c2, '+5'), chord(:e2, '+5', invert: 1), chord(:c2, '+5', invert: 2)].choose, release: 8

 sleep 8

end


live_loop :melody1 do

 use_synth :piano

 with_fx :autotuner do

   play notes.tick(:n)

   sleep time.tick(:s)

 end

end


live_loop :melody2 do

 use_synth :blade

 n = notes.tick(:n)+12

 t1 = 5

 node = play n, sustain: 10, release: 0, note_slide: t1, amp: 0.5

 control node, note: n+12

 sleep t1

 control node, note: n

 sleep 10-t1

end


live_loop :melody3 do

 use_synth :pluck

 with_fx :autotuner do

   play notes.tick(:n)+rrand(0, 10)

   sleep time.tick(:s)*8

 end

end


live_loop :drum do

 with_fx :echo, mix: 0.4 do

   sample :elec_bong

   sleep 1

 end

end

鸮嚣的评论 (共 条)

分享到微博请遵守国家法律