User Tools

Site Tools


sonic-pi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sonic-pi [2020/01/29 10:23]
julien
sonic-pi [2020/01/31 16:13] (current)
julien
Line 24: Line 24:
   sleep rrand(4, 8)   sleep rrand(4, 8)
   ​   ​
 +end
 +</​code>​
 +
 +===== noise generators =====
 +
 +<​code>​
 +live_loop:​noise1 do
 +  use_synth :bnoise
 +  with_fx :rlpf, cutoff: 30, cutoff_slide:​ 4, amp: 2 do |c|
 +    with_fx :​bitcrusher,​ bits: 2, amp: 10 do
 +      with_fx :flanger, delay: 35, feedback: 0.9, amp: 10 do
 +        play_pattern [40], attack: 2, decay: 5, sustain: 3, release: 1
 +        ​
 +        sleep 1
 +        ​
 +      end
 +    end
 +  end
 +end
 +
 +live_loop:​noise2 do
 +  use_synth :bnoise
 +  with_fx :rlpf, cutoff: 50, cutoff_slide:​ 4, amp: 2 do |c|
 +    with_fx :​bitcrusher,​ bits: 2, amp: 2 do
 +      with_fx :flanger, delay: 35, feedback: 0.9, amp: 5 do
 +        play_pattern [40], attack: 2, decay: 5, sustain: 3, release: 1
 +        ​
 +        sleep 1
 +        ​
 +      end
 +    end
 +  end
 end end
 </​code>​ </​code>​
sonic-pi.txt ยท Last modified: 2020/01/31 16:13 by julien