Code and data

I have released various datasets, tools and computational packages. Here are the latest R packages.

Code

  • MusicScienceData is an R package that offers example datasets suitable for exploration of basic analyses (correlation, comparison of means, etc.) in music and science studies. It is used in Music and Science textbook.
  • onsetsync is a R package for musical assessing synchrony between onsets from multiple music performers. It works with OSF deposited data, annotated onsets, annotation structures, and contains a host of utility functions of synchrony analyses.
  • movementsync is a R package that provides analysis and visualisation of synchrony, interaction, and joint movements from audio and video movement data of a group of music performers (CRAN release).
  • inconMore is an R package that supplements simultaneous consonance perception datasets originally provided by Peter Harrison’s excellent incon library.
  • CVI is an R package that offers various Content Validity Index calculations for scale development. This is currently being used in our work implementing measurement models for a new music and emotion theory.
  • emr contains a set of notebooks associated with a book titled Music and Science – A Guide to Empirical Research (Routledge 2024) that span R (for statistics) and Python for music analysis from symbolic and audio domains.
  • MIDI toolbox is now pretty old Matlab toolbox for analysing MIDI files (it was released in 2003).

Data

I attempt to release all data of studies I write and I keep track of these in a GitHub repository OpenData.