Kofi / Illestpreacha
Code is Poetry & Data is Poetry

Code is Poetry & Data is Poetry

SonicPiRemix_2022-08-11

SonicPiRemix_2022-08-11

Kofi / Illestpreacha's photo
Kofi / Illestpreacha
·Aug 11, 2022·

2 min read

Little Improv SonicPi Session by remixing Today's code tweeted by @iamnotsonicpi

use_synth :mod_fm
use_random_seed 300000

live_loop :eddie do
play choose( [ :Cs5, :Gs5, :E3 ] ) ,attack: 3 ,delay: 0.2 ,sustain: 2 ,release: 4
sleep 1
end
# Run this in #SonicPi - get it at https://t.co/YzinCTcTP8

— iamnotsonicpi (@iamnotsonicpi) August 11, 2022

Remixes for the Tweet

This remix of the above code places emphasis on manipulating how the sound is perceived by replacing the delay function with decay and adding the Echo & PingPong effects

with_fx :ping_pong do
  with_fx :echo do
    live_loop :eddie do
      synth :mod_fm
      play choose([:Fs3,:Ds5,:B3]),attack: dice(4),decay: dice(5),sustain: 2,release:[1,1.5,3].choose
      sleep [0.25,1].choose
    end
  end
end

This snippet of code starts off with the effects : hpf(high pass filter), ixi_techno & ping_pong while also adding more musical depth through the chord function

Also decided to change the synth to chiplead


with_fx :hpf do
  with_fx :ping_pong, mix: 0.6 do
    with_fx :ixi_techno, mix: 0.7 do
      live_loop :eddie do
        synth :chiplead
        play choose(chord([:E3,:Cs5,:Gs5].choose, :major)),attack: 3,delay: [0.5,1,2].choose,sustain: 2 ,release: dice(4), cutoff: rrand(60, 120)
        sleep [0.25,0.5,1,2].choose
      end
    end
  end
end
 
Share this