Mathober2023_Axiom

Mathober2023_Axiom

Separated The Brown

SeparateBrowns

For the 23rd Prompt Of Mathober: Axiom, SeparateBrowns will be coded in SonicPi

Axiom of Separation

“We can form a subset of a set, which consists of some elements.”

To follow this axiom, the dice function in SonicPi is used to make a combination of numbers that are a subset of the main set.

Poem

Separation
And Integration into the Equation
As Separation Hasn't Hindered the Motivation
Of Elevation
Back Into the Rotation
Of Intersection

Audio

IllestPreacha · SeparateBrowns

SonicPi Code

#BrownShadowMathRemixed R, G, B , X, Y , Z
Brown = [165, 42, 42,16.764, 9.824, 3.204]

i = 0

live_loop :Brown do
  with_fx :ixi_techno do
    use_bpm 59
    use_synth [:piano,:chiplead,:hollow].choose
    play Brown[i%6]/Math.tan(70),release: dice(3)
    play Brown[i%6]/Math.tan(120)/2,decay: dice(3) + 2
    play (Math.cbrt(Brown[i%6])/Math.tan(47)/10).abs,sustain: 3
    sleep [0.25,0.5,1,2].choose
    puts i
  end
  i = i + 1
end

live_loop :BrownShadow2 do
  with_fx :ixi_techno do
    use_bpm 59
    use_synth [:piano,:chiplead,:hollow].tick
    play (Brown[dice(i%4)]/Math.tan(50)).abs/5,release: dice(3)
    play ((Brown[dice(i%4)]/Math.tan(75)-4)/6.5).abs,decay: dice(3) + 2
    play (Math.cbrt(Brown[dice(i%4)])/Math.tan(35)/10).abs,sustain: 3
    sleep [0.25,0.5,1,2].choose
    puts i
  end
  i = i + 1
end

live_loop :BrownShadow3 do
  with_fx :ixi_techno do
    use_bpm 59
    use_synth [:piano,:chiplead,:hollow].choose
    play (Brown[dice(i%4)]/Math.tan(50)).abs/5,release: dice(3)
    play ((Brown[dice(i%4)]/Math.tan(75)-4)/6.5).abs,decay: dice(3) + 2
    use_synth [:piano,:chiplead,:hollow,:prophet].choose
    play (Math.cbrt(Brown[dice(i%4)])/Math.tan(35)/10).abs,sustain: 3
    sleep [0.25,0.5,1,2,5,8].choose
    puts i
  end
  i = i + 1
end