Mathober2023_Kiss

Mathober2023_Kiss

Numbers Shall Kiss

DronifiedKiss

For the 1st Prompt Of Mathober: Kissing, DronifiedKiss takes a former piece of SonicPi Code and sonifies the possible ranges of numbers and their kissed value via the beat_stretch function

Kissing Numbers can be found: https://en.wikipedia.org/wiki/Kissing_number

Poem

The numbers, they kiss
Each other they miss
For the numbers intertwine
Sometimes they combine
And These are Some Sounds, They Have Left Behind

Audio

IllestPreacha · Mathober2023: DronifiedKiss

SonicPi Code

#kissingNumbers Dronified

#The arrays are based on kissing numbers and their lower and upperbounds

number = [1,2,3,4,5,6,7]
lower = [2,6,12,24,40,72,126]
upper = [2,6,12,24,44,78,134]

i = 0


#number

live_loop :dronify1 do
  with_fx :whammy, mix: 0.3 do
    use_bpm 180
    sample :ambi_drone , beat_stretch: number[i%7], amp: rrand_i(3,8)
    sleep number[i%7]
    i += 1
  end
end


#lower bound
live_loop :lowerbound do
  use_bpm 180
  sample [:perc_snap,:perc_swoosh].choose , beat_stretch: lower[i%7]
  sleep number[i%7]
  i += 1
end


#numbers between lower and upperbound
live_loop :upperbound do
  with_fx :ping_pong do
    use_bpm 180
    sample [:ambi_choir,:ambi_dark_woosh].choose , beat_stretch: rrand_i(lower[i%7],upper[i%7])
    sleep number[i%7]
    i += 1
  end
end