# Mathober2023_Axiom

# 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

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

## Audio

<iframe width="100%" height="300" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1636353357&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>

[IllestPreacha](https://soundcloud.com/llestreacha) · [SeparateBrowns](https://soundcloud.com/llestreacha/separatebrowns)

## SonicPi Code

```ruby
#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

```
