https://github.com/philipc2/sci-sonify
Turn Scientific Data into Sounds & Music
https://github.com/philipc2/sci-sonify
python science sonification
Last synced: 3 months ago
JSON representation
Turn Scientific Data into Sounds & Music
- Host: GitHub
- URL: https://github.com/philipc2/sci-sonify
- Owner: philipc2
- License: mit
- Created: 2023-10-15T18:28:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-06T19:31:05.000Z (over 1 year ago)
- Last Synced: 2023-12-06T22:30:11.632Z (over 1 year ago)
- Topics: python, science, sonification
- Language: Python
- Homepage: https://sci-sonify.readthedocs.io/
- Size: 12.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
-----------------
[](https://sci-sonify.readthedocs.io/en/latest/?badge=latest)
[](https://pypi.python.org/pypi/scisonify/)# Turning Scientific Data into Sounds & Music
## What is it?
Sci-Sonify is a Python package that enables simple and straightforward data sonification (a.k.a. representing data as sounds). It converts data stored using common packages in the Scientific Python Ecosystem such as Numpy, Pandas, and Xarray as musical notes.
## Soundmaps
Instead of using colors (i.e. colormaps) for visualuzing data, Sci-Sonify introduces the concept of "soundmaps", which allow for mapping quantitative data to a range of musical notes.## Accessors
In addition to providing standalone functionality for working with lists and arrays, Sci-Sonify introduces accessors into commonly used packages in the Scientific Python Ecosystem.### Xarray
Sonification through a `xr.DataArray`
```Python
import xarray as xr
import scisonify.xarrayda = xr.DataArray([1, 2, 3])
da.sonify()
```### Pandas
Sonification through a `pd.Series`
```Python
import pandas as pd
import scisonify.pandass = pd.Series([1, 2, 3])
s.sonify()
```## Installation
Sci-Sonify can be installed on Linux, Windows, or Mac with `pip`
```Python
pip install scisonify
```