Skip to main content

Sonification Tools and Resources for Astronomers Using Sound Synthesis

Project description

STRAUSS

Sonification Tools and Resources for Analysis Using Sound Synthesis

Sonification Tools & Resources for Analysis Using Sound Synthesis

Sonification and STRAUSS

"Sonification" is the process of conveying data via the medium of sound. Sonification can be used to make scientific data more accessible to those with visual impairments, enhance visualisations and movies, and even convey information more efficiently than by visual means. The STRAUSS python package is intended to make sonification simple for both scientific and outreach applications.

Getting Started

Access the full documentation here and read more about the associated Audio Universe project here.

STRAUSS is PyPI hosted package and pip can be used for the default installation:

pip install 'strauss[default]'

For a standard install (without text-to speech support).

For development purposes, you can instead use:

pip install -e .

where the -e option allows a local install, such that you can modify and run the source code on the fly without needing to reinstall each time.

If you would like access to all the resources and explore the code directly, make a copy of the STRAUSS repository via SSH,

git clone git@github.com:james-trayford/strauss.git strauss

or HTTPS if you don't have SSH keys set up,

git clone https://github.com/james-trayford/strauss.git strauss

and install STRAUSS from your local repository using pip

cd strauss

pip install .

We recommend using a conda environment to avoid package conflicts. Type

conda env create -f environment.yml

before pip install -e .

and activate the environment with

conda activate strauss

Installing with text-to-speech support

STRAUSS can also be installed with text-to-speech (TTS) support, allowing audio captioning of sonifications and future accessibility features, via the TTS module. Due to the specific module requirements of this module, install can sometimes lead to incompatibilities with other modules and be slower, so is packaged with STRAUSS as an optional extra. If you'd like to use these features, its easy to directly from PyPI:

pip install 'strauss[AI-TTS]'

or if you're working from a local copy of the repository, as above, use

pip install -e ".[AI-TTS]"

with or without the -e option depending on whether you want to edit the STRAUSS code or not, as above.

Note: The coqui AI TTS is currently supported for python versions <= 3.12 - If you are running python==3.13, you can downgrade to use this extra.

Citing STRAUSS

Please cite STRAUSS using the JOSS paper:

@article{Trayford2025,
  doi = {10.21105/joss.07875},
  url = {https://doi.org/10.21105/joss.07875},
  year = {2025},
  publisher = {The Open Journal}, 
  volume = {10},
  number = {109},
  pages = {7875},
  author = {James W. Trayford and Samantha Youles and Chris Harrison and Rose Shepherd and Nicolas Bonne},
  title = {strauss: Sonification Tools and Resources for Analysis Using Sound Synthesis},
  journal = {Journal of Open Source Software}
}

If you have found STRAUSS useful, please star the repository on GitHub!

Acknowledgments

STRAUSS is developed and provided free and open source, supported by a UKRI Early Stage Research and Development Award, grant code ST/X004651/1.

The STRAUSS code has also benefited from funding via an Royal Astronomical Society Education & Outreach grant award, providing hardware and software for sound development and spatialisation testing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strauss-1.0.3.tar.gz (56.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strauss-1.0.3-py3-none-any.whl (69.4 kB view details)

Uploaded Python 3

File details

Details for the file strauss-1.0.3.tar.gz.

File metadata

  • Download URL: strauss-1.0.3.tar.gz
  • Upload date:
  • Size: 56.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for strauss-1.0.3.tar.gz
Algorithm Hash digest
SHA256 51895513fdfd1ad3e898cf4d1782a7af47e13051955bfed7447850c6d23a5835
MD5 662df2a4d1e34d7b4ab0440f88fe8e3c
BLAKE2b-256 465ed885af55242c99ece81e9452541fe34be9df551426b85b3d3adf3f0edcb5

See more details on using hashes here.

File details

Details for the file strauss-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: strauss-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 69.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for strauss-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1d6d13ea8debb7944ee1acf1d6b471592ad2ed35bd377e4763e8d335c110d35f
MD5 d95050b3c8f20a7fc1442c36b2b7d769
BLAKE2b-256 d0b67e87077b407834881a2a808f5b0defbf992e927a07eaeffa857570410df6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page