SonicPi Remix - 2022-07 -09

SonicPi Remix - 2022-07 -09

Little Improv Sonic Pi *session by remixing Code Tweeted by @Iamnotsonicpi

live_loop :Zhytomyr do
with_fx :nlpf do
play :Cs5 ,release: 0.2
sleep 4
sleep 6
end
end
# Run this in #SonicPi - get it at https://t.co/YzinCTcTP8

— iamnotsonicpi (@iamnotsonicpi) July 9, 2022

Remixes for the Tweet

Remix 1 - Decided to have a randomizer on line 5 that work with the dice function in Sonic Pi as well as the absolute function and Math.sin on the release

with_fx :hpf do
  with_fx [:krush,:ixi_techno].choose, mix: 0.13 do
    live_loop :zhytom do
      with_fx :gverb do
        play chord([:Cs5,:Eb,:Ab].choose, :minor7), release: Math.sin(dice(14)).abs + 2 , decay: 3
        sleep [1,4,6].choose
      end
    end
  end
end

Remix #2

with_fx :hpf, mix: 0.9 do
  with_fx :ixi_techno, mix: Math.sin(dice(10)).abs do
    with_fx :ping_pong, mix: 0.7, phase: 0.3 do
      live_loop :Zhyto do
        play chord(:Cs5, :major7),release: 4, sustain: 3, amp: 1.5
        play chord(:eb, :minor),release: 4, attack: Math.sin(dice(10)).abs, amp: 1.5
        sleep [2,3,6].choose
      end
    end
  end
end