Skip to content

chochim/LifeSymphony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Life Symphony

Life Symphony

Life Symphony is a project that helps visualizing real-time birth and deaths happening around the world. In addition to visualization, the user can interact with these events by adding musical instruments, notes, etc. This enables the user to create music.The project makes use of d3, midijs, pre-rendered midi soundfonts.

The website is hosted as Github page here: https://chochim.github.io/LifeSymphony/.

Generation of real-time events

The events like birth and death are generated using the CIA World Factbook. These statistics combined with the current population data provides the average frequency of the occurence of birth and death for a particular country.

Music generation

Currently, the user has the option of choosing six instruments viz. flute, acoustic piano, xylophone, sitar, drums, and violin. In case you need to add more instruments, download the pre-rendered midi soundfonts and put it in the appropriate location.

Code

The main action takes place in the map.js file.