Texturas musicais / drones

# Micronians v16
# Alexandre rANGEL 16-Nov-2016
# Sonic Pi 2.11

use_bpm 1
set_recording_bit_depth! 32
set_volume! 0.66

with_fx :compressor, pre_amp: 0.9, amp: 0.9, thereshold: 0.6, clamp_time: 0.01, relax: 0.03,
slope_above: 0.4, slope_below: 1.4, mix: 0.8 do
  
  
  #with_fx :slicer, phase: 0.008, mix: 0.84 do
  #with_fx :slicer, phase: 0.64, slope_up: 0.001, slope_down: 0.01, mix: 0.3 do
  
  live_loop :universe do
    t = tick
    with_fx :wobble, phase: 0.5, mix: rrand(0.1,0.4) do
      with_fx :ring_mod, freq: rrand(30,70), freq_slide: 6, mix: rrand(0.1,0.333) do
        with_fx :ixi_techno, mix: rrand(0,rand(0.7)),
        phase: rand(2), phase_slide: 2, res: rand(0.7) do
          with_fx :octaver, subsub_amp: rrand(1,2), mix: rrand(0.0,rand(0.7)) do
            with_fx :flanger, feedback: rand(0.5), depth: rand(24), depth_slide: 2,
            phase: (ring 1,0.5,0.25)[t], mix: rrand(0.2,0.6) do
              with_fx :whammy, mix: rrand(0.0,rand(0.7)),
                transpose: rrand(-32,[16,24].choose), transpose_slide: 3,
              grainsize: rand(0.2) do
                with_fx :octaver, mix: rrand(0.0,rand(0.7)) do
                  
                  with_fx :vowel, vowel_sound: [1,4,4,4,5].choose, voice: [3,4].choose,
                  mix: rrand(0.2,0.77), mix_slide: [0.2,0.5,1,2].choose do
                    
                    x1 = scale(:e3,:egyptian).choose
                    use_synth [:hoover,:growl,:growl].choose
                    mynote1 = play x1, amp: rrand(0.2,0.6), note_slide: [1,2,3,4].choose,
                      attack: [2,3,4].choose, sustain: 1, release: 4, pan: -1
                    print 'x1'
                    
                    sleep 0.3 * 1.5
                    
                    x1 = scale([:e2,:e3,:c4].choose,:egyptian).choose
                    x2 = x1 + 3
                    use_synth [:hoover,:growl,:growl].choose
                    mynote2 = play x2, amp: rrand(0.2,0.5), note_slide: [1,2,3,4].choose,
                      attack: [2,3,4].choose, sustain: 1, release: 4, pan: +1
                    print 'x2'
                    
                    sleep 0.4 * 1.5
                    
                    x1 = scale(:e2,:egyptian).choose
                    x3 = x1 + 5
                    use_synth [:hoover,:growl,:growl].choose
                    mynote3 = play x3, amp: rrand(0.2,0.4), note_slide: [1,2,3,4].choose,
                      attack: [6].choose, sustain: 0, release: 4,
                      pan: [-1,1].choose, pan_slide: [0.1,0.25,0.5].choose
                    print 'x3'
                    
                    sleep 0.5 * 1.5
                    
                    4.times do
                      x1 = scale([:e2,:e3].choose,:egyptian).choose
                      control mynote1, note: x1,
                        amp: rrand(0.2,0.45), amp_slide: 0.2,
                        note_slide: [0.25,0.5,1].choose
                      print 'x1'
                      sleep [0.3,0.4,0.5].choose
                      x2 = x1 + 2
                      control mynote2, note: x2,
                        amp: rrand(0.2,0.4), amp_slide: 0.2,
                        note_slide: [0.3,0.5,1].choose
                      print 'x2'
                      sleep [0.2,0.4,0.6].choose
                      x3 = x1 + 5
                      control mynote3, note: x3, note_slide: [0.5,1,2,4].choose,
                        amp: rrand(0.2,0.3), amp_slide: 0.2,
                        pan: [-1,1].choose, pan_slide: [0.5,1,2].choose
                      print 'x3'
                      sleep [0.2,0.3,0.4].choose
                    end
                    
                    print 'looping'
                    
                  end
                end
              end
            end
          end
        end
      end
    end
  end
  
  #end
  #end
end

##| sleep 1

##| with_fx :reverb, mix: 0.4 do
##|   with_fx :echo, phase: 3.0 / 128, decay: 3.0 / 4, mix: 0.5 do
##|     with_fx :reverb do
##|       live_loop :tabla do
##|         sample :tabla_tas2, amp: rrand(0.088,0.094) * 1.2
##|         sleep 3.0 / 32
##|       end
##|     end
##|   end
##| end


Dinâmica
Decompor as camadas de elementos de uma música com texturas musicais.
- 'A year in a minute', Fennez