MinaCoding2025_Nearby

PianoPitchInspecting

For MinaCoding2025 Prompt 14: Nearby, PianoPitchInspection is coded in SonicPi and exploring the how a nearby piano, may be pitchy & glitched out.

Poem

What Pitch
Fits this scenario?
When inspecting this audio,
Does it mirror what we think
Does aspects have an ability to mimic,
Or does it propose a switch?

Audio

IllestPreacha · PianoPitchInspection

SonicPi Code


def pianosounds (loop,timer,speed,effect,sound,sust)
  live_loop loop do

    use_random_seed Time.now.to_i / timer
    use_bpm speed
    with_fx :slicer, phase: rrand(0,16) do
      with_fx effect do
        use_synth :piano
        play sound.choose, sustain: dice(sust)
      end
    end    

    sleep [0.5,1,2].choose
  end
end


pianosounds(:play1,4,[140,70,35,19,23].tick,[:ixi_techno,:gverb].tick,[14,175,220,54,48],5)
pianosounds(:play2,5,[140,70,35,19].choose,[:whammy,:echo].choose,[175,75,210,154,13,98],3)
pianosounds(:play3,6,[140,70,35,19].tick,[:ixi_techno,:gverb,:whammy,:vowel].tick,[15,20,45,75,125,189,210],1)
pianosounds(:play4,7,[140,70,220,19,8].choose,[:flanger,:vowel].choose,[113,7,190],2)
0
Subscribe to my newsletter

Read articles from Kofi / Illestpreacha directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kofi / Illestpreacha
Kofi / Illestpreacha