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 [2017/05/14 13:19]
julien
sonic-pi [2018/02/24 14:56] (current)
julien
Line 391: Line 391:
   sample :​drum_cymbal_pedal,​ cutoff: 130, rate: rrand(0.5, 1.5), amp: 1, pan: 1   sample :​drum_cymbal_pedal,​ cutoff: 130, rate: rrand(0.5, 1.5), amp: 1, pan: 1
   sleep 0.25   sleep 0.25
 +end
 +</​code>​
 +
 +<​code>​
 +#dirty tek live code v2 (240218)
 +live_loop :foo do
 +  with_fx :flanger, delay: 30, feedback: 1, phase: 1.5, depth: 5, max_delay: 1000 do
 +    use_synth :beep
 +    play rrand(80, 150), release: 0.5, amp: 0
 +    sleep 0.5
 +  end
 +end
 +live_loop :bar do
 +  sync :foo
 +  with_fx :flanger, delay: 120, feedback: 1, max_delay: 1000 do
 +    sample :​drum_bass_hard,​ amp: 0
 +    sleep rrand(0.2, 10.4)
 +  end
 +end
 +live_loop :tak do
 +  sync :foo
 +  with_fx :slicer, wave: 1, pulse_width:​ 0.4 do
 +    with_fx :​distortion,​ distort: 0.55 do
 +      sample :​drum_snare_hard,​ amp: 0
 +      sleep rrand(0.05, 0.06)
 +    end
 +  end
 +end
 +live_loop :tak2 do
 +  sync :foo
 +  with_fx :echo, decay: rrand(0.1, 10) do
 +    sample :​drum_snare_hard,​ amp: 0
 +    sleep 2
 +  end
 +end
 +live_loop :bass do
 +  with_fx :​distortion,​ distort: 0.99 do
 +    sync :foo
 +    sample :​bass_trance_c,​ pitch: (ring 1, 0.8, 0.3, 1, 2, 1.3, 0.2, 0.8, 1, 1, 0.3, 2).tick, amp: 5
 +    sleep 1.2
 +  end
 +end
 +
 +#​AkaLeHighPitch
 +live_loop :bing do
 +  sync :foo
 +  with_fx :ring_mod, freq: rrand(40, 50) do
 +    use_synth :dull_bell
 +    play rrand(80, 110), sustain: 10,  amp: 0
 +    sleep 10
 +  end
 end end
 </​code>​ </​code>​
sonic-pi.txt ยท Last modified: 2018/02/24 14:56 by julien