This package includes a couple of demo codes for sonifying data, written by Ben Holtzman and others.
The codes in this package are in the form of Jupyter Notebooks, which are becoming the most popular way to write and share Python code within the scientific community. The easiest way to install Jupyter Notebook is by installing Anaconda – it comes included with Anaconda. Click here to download Anaconda.
Once downloaded, run the Jupyter Notebook by typing in the Mac Terminal (or Command Prompt for Windows):
jupyter notebook
The easiest way to download these packages is using Anaconda (see above). Follow the link for each package name above and copy-paste the corresponding command into a terminal window. For example, to install numpy type this into the Mac Terminal:
conda install -c anaconda numpy
To make sure the packages were successfully installed, type:
conda list
To access the codes from your machine, open the Mac Terminal and type:
git clone https://github.com/jbrussell/datamovies
Alternatively, click "Clone or download" at the top right corner of this page and "Download ZIP".
1_notebooks: where the sounds happen!
This directory contains the demo "notebooks" for sonifying data.
- 00_make_simple_sounds.ipynb : Demonstrates sonification of time-varying (sinusoidal) signals
- 01_DirectSonification.ipynb : Reads in a real 14 hour long seismogram (ground motion) from the 2011 Tohoku earthquake and turns it into sound! The .wav soundfile is output to the 3_output directory and can be played using most audio software such as iTunes or Audacity.
Note: added .py versions of the notebooks in case Jupyter Notebook is not installed