Sonic pi and punctual jam inspired by meetup in Cph

# 231229 0017 Sonic pi and punctual jam inspired by meetup
# Saved 231229 0017
# YT https://youtu.be/Xrun5_4Ay88
# Audio reactive https://punctual.savamala.top/docs/audioreactivevisuals/
# Lines https://dktr0.github.io/Punctual/
# https://in-thread.sonic-pi.net/t/sonic-pi-and-punctual-jam-inspired-by-meetup/8473



set_volume! 2
use_bpm 88

with_fx :ixi_techno, mix: 0, phase: 0.25 do |i|
  
  with_fx :reverb, room: 0.8 do
    live_loop :a4 do
      tick
      
      control i, mix: [0,0.2,0.4].choose
      
      k = 32
      f = knit(0.01,k,0.015,k,0.02,k).mirror.look
      
      use_sample_defaults cutoff: line(70,130,steps: 128).look
      #sample :elec_triangle, finish: f if (spread(3,5)*3+spread(5,7)).look
      #sample :sn_generic, finish: 0.02, cutoff: 90, amp: line(0.8,1.5,steps: 64).mirror.look if (spread(3,5)*3+spread(5,7)).rotate(2).look
      sample :bd_haus, cutoff: 70, amp: 2 if spread(1,16).look
      sample :bd_fat, cutoff: 65, amp: 1.25 if (spread(3,5)*3+spread(5,7)).look #and one_in(2)
      sleep 0.25
    end
    with_fx :echo, phase: 0.5 do
      with_fx :gverb, room: 50 do
        
        
        live_loop :a1 do
          tick
          
          sample :bd_fat, amp: 1.2
          #sample :ambi_dark_woosh, amp: 1, attack: 4, release: 4
          #       sample :glitch_robot1, beat_stretch: 2, amp: 0.3, attack: 4, release: 4
          
          sleep 8
        end
        
        live_loop :a2 do
          tick
          use_synth :noise
          use_synth_defaults release: 0.001, cutoff: 70
          play :c2, amp: 1.5 if spread(3,5).look
          sleep 1
          
        end
        
        live_loop :a3 do
          tick
          n = :c5
          play [n,n-2, n, n-5].look, amp: 0.3
          sleep [2,8].look
        end
        
        
        
      end
    end
  end
end

live_loop :a5 do
  tick
  use_synth :saw
  c = knit(65,75,85,95,105,115).look-20-10-10
  use_synth_defaults release: [0.1,0.2,0.3].choose, cutoff: c
  n = :c2+knit(0,128,-2,128).look
  play [n,n,n,n,n+12].look
  sleep 0.25
end
1 Like