Have fun With this ;p

I hope i am not too noisy in this forum, i am just updating this thing. Update 1 million xD


#---------------------------------MASTER MIXER-------------------------#
set_mixer_control! amp: 6, lpf: 120

#-------------------------------------METRONOM---------------------------#

live_loop :metro do
  
  sleep 3
  
end

#--------------------------RANDOM SEED GENERATOR--------------------#

seeed = 140
slep = (ring 5, 5)

live_loop :seeeeds, sync: :bass do
  
  seeed = seeed + 1
  
  set :randseeed, seeed
  
  puts seeed
  
  sleep slep.tick
  
end

#---------------------------EFFELKTE---------------------------#

with_fx :slicer, phase: 0.125, pulse_width: 0.5 do |slice|
  
  #-----------------------------------------EFFEKT CONTROL MODULE (LOGIC)--------------------------------#
  
  live_loop :efx_control do
    
    if tick(:firsttime) == 0 then
      
      set :slice, slice
      
    end
    
    sleep 10
    
  end
  
  #-----------------------------------MELODIE-----------------------#
  
  ampi = (ring 1, 1)  #spread???
  
  live_loop :bass, sync: :metro do
    
    use_bpm 120
    
    use_random_seed get(:randseeed)
    
    6.times do
        
   #tick #-------------------------------------------------needs tick
        #a = (ring  0,      0 ,   0,       0 ).look #------------------ selected
        #b = (ring  0.5,    0.5,  0.5,       0.5 ).look
        
        # a = (ring  0.1, 0.4, 0.6).choose #---random selected# !!use num_slices and/or onset!!!
        #b = a + 0.25
      with_swing 0.25, pulse: 2 do
        
        sample :loop_amen, num_slices: 6, slice: (ring 0, 1).choose, onset: pick, amp: ampi.shuffle.choose, rate: 1 if spread(16, 16).tick(:t2) 
        
      end
      
      sleep 0.5
    end
  end
end

#--------------------------------------------EFFECT CONTROL------------------------#

live_loop :slice1, sync: :metro do
  # sync :löl
  
  slice = get[:slice]
  sleep 2
  control slice, phase: 0.125, pulse_width: 0.1, mix: 1
  sleep 2
  control slice, phase: 0.125, pulse_width: 0.1, mix: 1
  sleep 2
  control slice, phase: 0.125, pulse_width: 0.1, mix: 1
  sleep 2
  
end

1 Like