Skip to main content

Musical Gestures Toolbox for Python

Project description

MGT-python

The Musical Gestures Toolbox for Python is a collection of tools for video visualization and video analysis.

MGT python

About

Videos can be used to develop new visualisations to be used for analysis. The aim of creating such alternate displays from video recordings is to uncover features, structures and similarities within the material itself, and in relation to, for example, score material. Three useful visualisation techniques here are motion images, motion history images and motiongrams.

MGT can generate both dynamic and static visualizations, as well as some quantitative data:

  • dynamic visualisations (video files)
    • motion videos
    • motion history videos
  • static visualisations (images)
    • motion average images
    • motiongrams
    • videograms
  • motion data (csv files)
    • quantity of motion
    • centroid of motion
    • area of motion

Installation

Windows, OSX and Linux

The standard installation via pip: paste and execute the following code in the Terminal (OSX, Linux) or the PowerShell (Windows):

pip install musicalgestures

MGT is developed in Python 3 and relies on FFmpeg and OpenCV. See the wiki for more details on the installation process.

Usage

Open In Colab

The Jupyter notebook MotionGesturesToolbox.ipynb shows examples of the usage of the toolbox.

History

This toolbox builds on the Musical Gestures Toolbox for Matlab, which again builds on the Musical Gestures Toolbox for Max.

The software is currently maintained by the fourMs lab at RITMO Centre for Interdisciplinary Studies in Rhythm, Time and Motion at the University of Oslo.

Reference

There is no publication mentioning this toolbox yet. But you could reference this publication describing the similar Matlab toolbox:

  • Jensenius, Alexander Refsum (2018). The Musical Gestures Toolbox for Matlab. Proceedings of the 19th International Society for Music Information Retrieval Conference, Late Breaking Demos Session.

Credits

Developers: Frida Furmyr, Marcus Widmer, Balint Laczko, Alexander Refsum Jensenius

License

This toolbox is released under the GNU General Public License 3.0 license.

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

musicalgestures-1.1.1.tar.gz (85.7 MB view hashes)

Uploaded Source

Built Distribution

musicalgestures-1.1.1-py3-none-any.whl (85.8 MB view hashes)

Uploaded Python 3

Supported by

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