Code Monkey home page Code Monkey logo

rhythm-triangles's Introduction

Rhythm triangles

A project to visualize rhythm in music and animal sounds using rhythm triangles.


Abstract. To do.

Reference. In preparation.


Datasets

Below one finds a list of all datasets that have been analyzed. Whenever this was allowed, both the original and processed datafiles have been included in this repository in the data directory.

  • ID: burchardt2021
  • Paper: Burchardt, L. S., Picciulin, M., Parmentier, E., & Bolgan, M. (2021). A primer on rhythm quantification for fish sounds: A Mediterranean case study. Royal Society Open Science, 8(9), 210494. DOI: 10.1098/rsos.210494.
  • Dataset: Burchardt, L.; Picciulin, M.; Parmentier, E.; Bolgan, M. (2021). Rhythmic properties of three soundtypes of mediterranean vocal fish. [Dataset]. Data Publisher: Museum für Naturkunde Berlin (MfN) - Leibniz Institute for Evolution and Biodiversity Science. DOI: 10.7479/6qfa-9956.
  • Dataset licence: CC-BY
  • ID: degregorio2021
  • Paper: De Gregorio, C., Valente, D., Raimondi, T., Torti, V., Miaretsoa, L., Friard, O., Giacoma, C., Ravignani, A., & Gamba, M. (2021). Categorical rhythms in a singing primate. Current Biology, 31(20), R1379–R1380. DOI: 10.1016/j.cub.2021.09.032
  • Dataset: Available from the first author upon request.
  • Dataset license: Unknown; the dataset has therefore not been included.
  • ID: fernandez2021
  • Paper: Fernandez, A. A., Burchardt, L. S., Nagy, M., & Knörnschild, M. (2021). Babbling in a vocal learning bat resembles human infant babbling. Science, 373(6557), 923–926. DOI: 10.1126/science.abf9279
  • Dataset: Fernandez, Ahana; Burchardt, Lara; Nagy, Martina; Knörnschild, Mirjam (2021), Babbling in a vocal learning bat resembles human infant babbling, Dryad, Dataset, DOI: 10.5061/dryad.1c59zw3vg
  • Dataset license: CC0 1.0
  • ID: filer2021
  • Paper: Filer, A., Burchardt, L. S., & van Rensburg, B. J. (2021). Assessing acoustic competition between sibling frog species using rhythm analysis. Ecology and Evolution 11, 8814– 8830. DOI: 10.1002/ece3.7713.
  • Dataset: Filer, Alannah and Burchardt, Lara S.(2021). Assessing acoustic competition between sibling frog species using rhythm analysis. The University of Queensland. Data Collection. DOI: 10.14264/6c4553a
  • Dataset License: Permitted re-use with acknowledgement: "acknowledge any re-use of this dataset in any research outputs where reliance is made upon it, including conference papers and published research papers."
  • ID: pereira2020
  • Paper: Pereira, A. S., Kavanagh, E., Hobaiter, C., Slocombe, K. E., & Lameira, A. R. (2020). Chimpanzee lip-smacks confirm primate continuity for speech-rhythm evolution. Biology Letters, 16(5), 20200232. DOI: 10.1098/rsbl.2020.0232.
  • Dataset: available from the publisher via https://royalsocietypublishing.org/doi/suppl/10.1098/rsbl.2020.0232.
  • Dataset licence: © 2020 The Author(s). Published by the Royal Society. All rights reserved.
  • ID: ravignani2018
  • Paper: Ravignani, A. Spontaneous rhythms in a harbor seal pup calls. BMC Research Notes 11(3). DOI: 10.1186/s13104-017-3107-6.
  • Dataset: Ravignani, Andrea (2018): Maternal attraction calls of seal pup: rhythm and timing of spontaneous vocalisations. DOI: 10.6084/m9.figshare.5616490.v1.
  • Dataset license: CC BY 4.0
  • ID: roeske2020
  • Paper: Roeske, T. C., Tchernichovski, O., Poeppel, D., & Jacoby, N. (2020). Categorical Rhythms Are Shared between Songbirds and Humans. Current Biology, S0960982220309246. DOI: 10/ghhxnf
  • Music dataset: Roeske, Tina; Jacoby, Nori (2020), “Musical rhythm: Onsets/intervals of seven music corpora”, Mendeley Data, V2, DOI: 10.17632/s4cjj7h5sv.2
  • Birdsong dataset: Roeske, Tina; Tchernichovski, Ofer (2020), “Birdsong rhythm: Onsets/intervals of a zebra finch song corpus and 3 thrush nightingale song corpora”, Mendeley Data, V1, DOI: 10.17632/zhb728dc4z.1
  • Dataset license: CC BY 4.0

Repository structure

  • data contains all data used, organized per dataset (see above). For every dataset a [dataset]-intervals.txt file is produced that contains one interval per line, measured in seconds. This file can easily be read into Python using NumPy's np.loadtxt function. Where possible, the original data has been included in a original-data directory.
  • notebooks contains all Jupyter notebooks used to preprocess datasets and generate the visualizations.
  • figures contains the figures.
  • rhythmplot contains the Python code needed to generate rhythm triangle plots. It also includes some code for working with rhythmic motifs.

Setup

You can find the Python version used in .python-version and all dependencies are listed in requirements.txt. If you use pyenv and venv to manage python versions and virtual environments, do the following:

# Install the right python version
pyenv install | cat .python-version

# Create a virtual environment
python -m venv env

# Activate the environment
source env/bin/activate

# Install dependencies
pip install -r requirements.txt

rhythm-triangles's People

Contributors

bacor avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.