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

  1. From the year 2001 to 2021 monthly tourist arrivals to Cyprus are plotted on a bar chart.

  2. The inverse discrete Fourier Transform is computed on the monthly data.

  3. Results are concatenated year by year in the waveform function of the output sound.


Monthly tourist arrivals to Cyprus from 2001 to 2021

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

  1. Yearly precipitation data for Cyprus is plotted on a line chart and monthly data is plotted on a bar chart.

  2. The inverse discrete Fourier Transform is computed on the monthly data.

  3. The pitch and duration of the resulting waveform function is modulated by the yearly data and results in an output sound.

Yearly precipitation data for Cyprus

Monthly precipitation data for Cyprus

Yearly and monthly precipitation data for Cyprus and resulting waveform function

Resulting sound