Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.05 KB

README.md

File metadata and controls

14 lines (10 loc) · 1.05 KB

Mass Shooting Fatalities

A data-driven audio + animation experiment representing the loss of life due to mass shootings in the United States since 1997. The data in input/ comes from Mother Jones' mass shootings investigation.

This project is based on two previous projects: midi-shootings and animated-data-sonification.

Demo: The last 20 years of mass shooting fatalities

Quickstart

python -m SimpleHTTPServer

Basic process

  • Running $ python fatalities.py will take the CSV in the input directory and produce a MIDI file (fatalities.mid), as well as some associated JSON (data/fatalities.js).
  • Once the MIDI file is created, open it in GarageBand and export it as an MP3 (media/fatalities.mp3).
  • index.html and main.js use the data from fatalities.js to synchronize the animations with the MP3 file.