Walk in the forest part 5 YT + hydra visuals

Hi all. Going offline on a yoga retreat for 3 month from the 25/1, so see you around.
Kind regards
Relaxnow

# 230124 0023 Walk in the forest part 5 YT hydra
# Saved 230123 0023
# Backup
# Created by linktr.ee/relaxnow
# YT https://youtu.be/6oKvyAfbgsI
# https://in-thread.sonic-pi.net/t/walk-in-the-forest-part-5-yt-hydra-visuals/7486

live_loop :time, delay: 0.01 do
  sleep 1
end

with_fx :reverb, room: 0.8 do
  
  live_loop :main, sync: :time do
    tick
    
    / kick /
    k = 33
    kick = knit(0,k, 2,k, 3,k*4).look #nice
    #    kick = 3 #3  #not used
    
    case kick
    when 0
    when 1
      sample :bd_haus, cutoff: [70,80].choose, amp: [1,0,0,0,0, 0,1,0,0,1,0].look   #11
    when 2
      #sample :bd_haus, cutoff: [70,80].choose, amp: [1.5,0,0,0, 0,1,0,0,1,0].look #11
      sample :bd_haus, cutoff: [70,80].choose, amp: [1.5,0,0,0,0, 0,1,0,0,1,0].look #12
    when 3
      #sample :bd_haus, cutoff: [70,80].choose, amp: [1,0,0,1.5, 0,1,0,0,1,0].look #11
      sample :bd_haus, cutoff: [70,80].choose, amp: [1,0,0,1.5,0, 0,1,0,0,1,0].look #12
    end
    
    
    / bass /
    use_synth :saw
    use_synth_defaults cutoff: 60
    b1 = 32 #32
    b2 = 16 #16
    
    # bass progression
    bp = 64 # 64
    # bass part     A     A     B     MUTE
    basspart = knit(1,bp, 1,bp, 2,bp, 0,bp/2).look
    case basspart
    when 0
      bass = 0                      # MUTE
    when 1
      bass = knit(2,b1,3,b1).look   # Part A
    when 2
      bass = 4 #4                   # Part B nice
    end
    
    # bass riff
    case bass
    when 0
    when 1
      play :f2 if spread(3,11).look
    when 2
      play [:f1,:f1,:f2].look if spread(3,11).look
    when 3
      play [:ds1,:ds1,:ds2].look if spread(3,11).look
    when 4
      play knit(:f2,b2, :c2,b2, :ds2,b2, :d2, b2).look if spread(3,11).look #nice
    end
    
    
    / top /
    use_synth :beep
    use_synth_defaults release: [0.2,0.4,0.6].choose, pan: rdist(0.65)
    
    top = knit(2,64,0,16,1,16).look
    #top = 2 # 2 nice
    
    case top
    when 0
    when 1
      notes = [:c4,:f4,:c5]
    when 2
      n1 = 16
      notes = [:c4,:f4,:c5, knit(:a5,n1,:as5,n1).look]
    end
    
    play notes.look, amp: 0.2 if spread(7,11).look
    sleep 0.25
  end
  
  
  
  with_fx :ping_pong, feedback: 0.4, mix: 0.8 do
    
    / small melody /
    live_loop :smallMelody, sync: :time  do
      tick
      use_synth :saw
      use_synth_defaults release: [0.2,0.4,0.6].choose, cutoff: 75, pan: rdist(0.5)
      
      top2 = 1 #1 nice
      
      case top2
      when 0
        sleep 0.25*11
      when 1
        n1 = 16
        notes = [:f4,:g4,:a4, :f4,:g4,:c5,:d5,:c5, :d5,:a4, :c5,:f4]
        play notes.look, amp: 0.3
        sleep 0.25*[2,1,3,1,1,2,1,5+6, 1,2+3,1,2+2].look  #22+11
        #           2 3 6 7 8 10 11 16+6 = 22 , 11
        #           11+11 = 22, # 22-16 = 6
      end
    end
    
    
    / repeatning notes /
    with_fx :level do |level|
      with_fx :krush do
        with_fx :slicer  do |slicer|
          
          live_loop :slicercontrol do
            tick
            puts p = range(0.1,0.8, step: 0.2).look
            control slicer, phase: p
            puts a = range(0,1, step: 0.05).mirror.look
            control level, amp: a
            sleep 0.25*4
          end
          
          live_loop :repeatningNotes do
            tick
            use_synth :saw
            a = [4,3,2,1].look
            
            repeatningNotes = knit(0,1, 1,3).look
            #repeatningNotes = 1 #1
            case repeatningNotes
            when 0
            when 1
              play knit(:c5,1,:f4,1,:c4,1, :a5,1, :g5,1, :f5,1).look, attack: a, release: a, amp: 0.125, cutoff: 50
            end
            sleep 8 #8nice  #4#7#11
          end
          
        end #end_slier
      end #end_level
    end #end_krush
  end #end_ping_pong
end #end_reverb

# Hydra code
# https://hydra.ojack.xyz/?code=cmVuZGVyKG8zKSUwQSUwQSUwQSUwQSUwQSUwQSUyRiUyRnMwLmluaXRTY3J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MSUyQzAlMkMwKSkuZGlmZihzcmMobzApKS5vdXQobzEpJTBBJTBBJTBBJTBBJTBBJTJGJTJGJTIwdmVydGljYWwlMjBsaW5lcyUyMCUyRiUyRiUyMG91dHB1dCUyMG8zJTBBc3JjKHMwKS5waXhlbGF0ZSgxJTJDJTVCMTAwJTJDMTAlMkM1MCUyQzIwJTVEKS50aHJlc2goJTVCMC41JTJDMC4yJTVELnNtb290aCgpLmZhc3QoKSkuY29sb3JhbWEoMCUyQzAlMkMxMDApLm11bHQoc3JjKHMwKS50aHJlc2goMC41KS5jb2xvcmFtYSgxJTJDMCUyQzApKS50aHJlc2goMC4xKS5vdXQobzIpJTBBJTBBJTBBJTJGJTJGJTIwb3V0cHV0JTIwbzMlMEFzcmMobzApLm91dChvMyklMjAlMkYlMkYlMjBmb3Jlc3QlMjB3aXRob3V0JTIwZnglMEElMEFzcmMobzEpLmFkZChzcmMobzIpKS5vdXQobzMpJTIwJTJGJTJGJTIwYmxhY2slMjBiYWNrZ3JvdW5kJTBBc3JjKG8xKS5hZGQoc3JjKG8yKSkucm90YXRlKDAlMkMwLjA1KS5vdXQobzMpJTIwJTJGJTJGYmxhY2slMjByb3RhdGlvbiUyMGJlc3QlMjBpZiUyMCUyMkMlMjBPRkYlMjIlMEElMEElMkYlMkZzcmMobzEpLmFkZChzcmMobzIpKS5yb3RhdGUoMCUyQzAuMSkuYmxlbmQobzAlMkMwLjEpLm91dChvMyklMjAlMkYlMkZyb3RhdGlvbiUyMHdpdGglMjBmb3Jlc3QlMEFzcmMobzEpLmFkZChzcmMobzIpKS5ibGVuZChvMCUyQzAuMSkubHVtYSgwLjEpLm91dChvMyklMjAlMkYlMkYlMjBsaW5lcyUyMHdpdGglMjBmb3Jlc3QlMEE%3D


1 Like

This is great!

Enjoy your retreat. Can’t wait to hear/see more from ya!

I really love this! thanks for sharing <3