Data to sounds
Tourist arrivals
Data source
https://data.worldbank.org/indicator/ST.INT.ARVL?locations=CY
Source code
https://github.com/hovjdev/CyprusVitalSigns/blob/main/tourists_arrivals.py
Algorithm
From the year 2001 to 2021 monthly tourist arrivals to Cyprus are plotted on a bar chart.
The inverse discrete Fourier Transform is computed on the monthly data.
Results are concatenated year by year in the waveform function of the output sound.
Monthly tourist arrivals to Cyprus from 2001 to 2021 and resulting waveform function
Resulting sound
Precipitation
Data source
https://climateknowledgeportal.worldbank.org/country/cyprus/climate-data-historical
Source code
https://github.com/hovjdev/CyprusVitalSigns/blob/main/rainfall.py
Algorithm
Yearly precipitation data for Cyprus is plotted on a line chart and monthly data is plotted on a bar chart.
The inverse discrete Fourier Transform is computed on the monthly data.
The pitch and duration of the resulting waveform function is modulated by the yearly data and results in an output sound.
Yearly and monthly precipitation data for Cyprus and resulting waveform function
Resulting sound