YT 230928 0102 Evening jam with "on spread()" do

# 230928 0102 Evening jam with on spread
# Saved 230928 0102
# https://youtu.be/nG6-W5PF_7c
# Created by https://linktr.ee/relaxnow
# https://in-thread.sonic-pi.net/t/230928-0102-evening-jam-with-on-spread/8185

/ (songform silence at tick 512) /


set_volume! 2
use_bpm 44
tick_reset

with_fx :reverb do |reverb|
  with_fx :krush do |krush|
    
    live_loop :a1 do
      
      tick
      m = [0,0.2,0.4,0.6,0.8].look
      control krush, mix: knit(0,16,m,16).look, res: m
      m = [0,0.2,0.4,0.6].shuffle.choose
      control reverb, room: m, mix: m
      
      k = 64
      use_synth knit(:pluck, k,:prophet,k, :chiplead,k, :chipnoise,k, :growl,k, :fm,k).look
      
      
      use_synth_defaults release: [0.1,0.2,0.3].choose
      n = :f2
      
      
      synth = knit(1,32,0,16).look
      case synth
      when 0
      when 1
        on spread(7,10).look do
          on spread(3,5).look do
            play n + [0,2,3,6].choose
            play n + [0,2,3,6].look + 12
          end
          on spread(7,12).look do
            use_synth :pluck
            play n + [0,2,3,6].choose + 12+12
          end
        end
      end
      
      puts look
      puts drums = knit(0,32,1,32,2,32*2).look
      case drums
      when 0
      when 1
        sample :bd_fat, amp: 2 if spread(3,5).look
        # sample :bd_ada, amp: 2 if spread(3,6).look
        #sample :bd_haus, cutoff: 70, amp: 3 if spread(2,6).look
        sample :elec_tick, amp: [1,1,1,1,0].look+[1,2].choose, pan: rdist(1) if spread(knit(4,12,8,12,11,12,1,12,0,32).look,12).look
      when 2
        sample :bd_fat, amp: 2 if spread(3,5).look
        sample :bd_ada, amp: 2 if spread(3,6).look
        sample :bd_haus, cutoff: 70, amp: 3 if spread(2,6).look
        sample :elec_tick, amp: [1,1,1,1,0].look+[1,2].choose, pan: rdist(1) if spread(knit(4,12,8,12,11,12,1,12,0,32).look,12).look
      end
      
      
      
      
      sleep 0.125
    end
    
    with_fx :slicer do
      with_fx  :flanger, feedback: 0.9 do
        
        live_loop :droneBuild do
          tick
          drone = knit(0,128-4,1,16+16-4).look
          #          drone = 1
          case    drone
          when 0
          when 1
            amp = line(0.5,1,steps: 32).look
            play [:f3,:f4], amp: amp
          end
          sleep 0.125
        end
        
      end
    end
    
  end
end

3 Likes

You got some interesting sounds, Iā€™m adding this for future reference :slight_smile:

1 Like