Table of contents
For the fourth Decibels Challenge, the prompt for data is to make a drone-sounding sonification. The Data, I am using for my first entry of this challenge will be basketball stats.
Audio
IllestPreacha · DecibelsChallenge_DronifyPartOne: Basketball & Drones
Background
The sounds will be sonifyed by 7 game datasets by various players [Luka Doncic,Giannis Antetokounmpo,Candace Parker & Sabrina Ionescu] and the drone concept will be applied as followed:
Points will be represented by the "ambi_drone" sample
Rebounds will be represented by the "tabla_ghe2" sample
Assists will be represented by the "ambi_choir" sample
The above-mentioned parameters will control how long the sound plays and how long it will be stretched. This gives the sonification its drone-ish feel
Instead of a while loop, I will be using modulo for iteration
The length of the sounds is correlated to the numbers found in their stats
WNBA/NBA Game Logs
Luka Doncic points | 40 | 25 | 24 | 42 | 22 | 29 | 13 |
Luka Doncic Rebounds | 12 | 7 | 10 | 10 | 7 | 10 | 5 |
Luka Doncic Assists | 8 | 6 | 8 | 8 | 7 | 6 | 3 |
Giannis Antetokounmpo Points | 31 | 24 | 31 | 38 | 24 | 33 | 28 |
Giannis Antetokounmpo Rebounds | 14 | 6 | 9 | 17 | 7 | 14 | 11 |
Giannis Antetokounmpo Assists | 2 | 11 | 4 | 12 | 2 | 6 | 10 |
Candace Parker Points | 12 | 14 | 19 | 22 | 16 | 11 | 7 |
Candace Parker Rebounds | 12 | 13 | 18 | 4 | 11 | 9 | 9 |
Candace Parker Assists | 4 | 8 | 5 | 4 | 4 | 4 | 3 |
Sabrina Ionescu Points | 32 | 13 | 15 | 5 | 22 | 7 | 14 |
Sabrina Ionescu Rebounds | 7 | 9 | 8 | 5 | 7 | 5 | 6 |
Sabrina Ionescu Assists | 4 | 7 | 6 | 7 | 6 | 3 | 4 |
SonicPi Code
=begin
Luka Stats
points = [40,25,24,42,22,29,13]
rebounds = [12,7,10,10,7,10,5]
assists = [8,6,8,8,7,6,3]
Giannis
points = [31,24,31,38,24,33,28]
rebounds = [14,6,9,17,7,14,11]
assists = [2,11,4,12,2,6,10]
#Cadance
points = [12,14,19,22,16,11,7]
rebounds = [12,13,18,4,11,9,9]
assists = [4,8,5,4,4,4,3]
=end
i = 0
#points
live_loop :dronify do
use_bpm 240 #this makes it go 3 times faster as standard is 60 bpm
sample :ambi_drone , beat_stretch: points[i%7], amp: rrand_i(5,12)
sleep points[i%7]
i += 1
end
#rebounds
live_loop :dronify2 do
use_bpm 180
sample :tabla_ghe2 , beat_stretch: rebounds[i%7]
sleep rebounds[i%7]
i += 1
end
#rebounds
live_loop :dronify3 do
use_bpm 180
sample :ambi_choir , beat_stretch: assists[i%7]
sleep assists[i%7]
i += 1
end