# MinaCoding2023_Human_Ambience

# JuneAmbience

The final of the Seven Sketches for the **MinaCoding** Prompt of **Humans: JuneAmbience**

**JuneAmbience** uses ***SonicPi*** code to sonify the speculative environments that may exist in this unknown world. The constant sounds reflect a society that has a pace that is familiar but distinct from ours.

## Audio

<iframe width="100%" height="300" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1549582870&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) · [MinaCoding Human: JuneAmbience](https://soundcloud.com/llestreacha/minacoding-human-juneambience)

## Poem

```ocaml
Magic that is within
Others may not see
But for the beholder 
it is never hidden
As it is a folder
That holds the gateway to the rhythm
That has its own ocean, its own sea
That may open to its own breeze
The magic that is within
That others may not see
```

## SonicPi Code

```ruby
def flow(sample1,sample2,sample3)
  with_fx :gverb do
    sample [sample1,sample2,sample3].choose,
      rate: rrand(-1.5, 1.5), sustain: dice(3)
    sleep Math.cbrt(rrand(0.1, 2))
  end
end

def flow2(sust,att, rate2,sleep1, sleep2)
  with_fx [:ping_pong,:ixi_techno,:flanger].choose, mix: rrand(0.3,0.7) do
    sample [:ambi_glass_hum,:ambi_drone,:guit_e_slide,:guit_em9].choose,
      rate: rrand(-2, rate2), sustain: dice(sust), attack: dice(att)
    sleep rrand(sleep1, sleep2)
  end
end

live_loop :both do
  use_bpm 120
  with_fx :reverb do
    flow(:perc_bell,:drum_bass_hard,:elec_chime)
    flow2(5,3,3,0.3,5)
  end
end

live_loop :both2 do
  use_bpm 60
  with_fx :vowel, voice: dice(3), pre_mix: 0.2 do
    flow2(4,2,2,0.1,4)
    flow(:elec_blip,:sn_dub,:tabla_ghe3)
  end
end

live_loop :perc do
  use_bpm 90
  with_fx :flanger do
    flow(:perc_swoosh,:perc_snap,:perc_till)
    sleep [2,4,1].choose
  end
end



```
