Table of contents
TheWorldAroundUs
Today's MinaCoding Prompt is Gratitude. I will be coding with Hydra and LiveCodingYoutube to make TheWorldAroundUs
The Hydra code modulates and glitches the LiveCodingYoutube portion. Which takes two videos about the ocean floor and the flowers blossoming. This represents my gratitude for the world around us and the ecosystem that we are a part of.
While SonicPi is being used to code the audio
Video
Code
LivecodingYoutube
coral = "hy2IMQRUlRQ"
flowers = "pZVdQLn_E5w"
create(2,2,coral)
cue([0,3],flowers)
play(all)
jump([0,1],20,15)
jump([2,3],10,10)
speed([0,2], 0.5)
speed([1,3], 2)
Hydra
s0.initScreen()
src(s0).modulateScale(osc(4,1,1),0.6).add(src(s0).rotate(180)
.scrollX(0.5).repeat(()=> (time % 10 + 1)/5)).out()
speed = 0.1
SonicPi
n = 40
define :space do
live_loop :melody do
use_bpm 120 + [-Math.sqrt(n),+Math.sqrt(n)].choose
use_synth (ring :pretty_bell, :piano,:piano).tick
bellTime = ring( (scale :f3, :major,).reverse, (scale :f1, :minor).look).tick
play bellTime if (spread 10,14).tick
sleep [0.5,1].choose
n+= 5
end
end
live_loop :harmonic do
live_loop :nofilters do
with_fx :echo do
space
end
sleep [0.1,0.2,0.25].choose
end
with_fx :ping_pong ,mix: rrand(0.1,0.8) do
live_loop :filter1, sync: :nofilters do
with_fx :reverb do
space
end
sleep [0.25,0.125,0.5].choose
end
end
sleep [1,2,4].choose
end