Skip to main content

Musical Gestures Toolbox for Python

Project description

MGT-python

PyPi version GitHub license CI Documentation

The Musical Gestures Toolbox for Python is a collection of tools for visualizing and analysing audio and video files.

MGT python

📖 Documentation & Examples

Quick Start

Installation

pip install musicalgestures

Basic Usage

import musicalgestures as mg

# Load a video
v = mg.MgVideo('dance.avi')

# Create visualizations
v.grid()
v.videograms()
v.average()
v.history()

# Perform motion analysis
v.motion()

# Audio analysis
v.audio.waveform()
v.audio.spectrogram()
v.audio.tempogram()

Try Online

Open In Colab

Quick Links

Features

  • Video Analysis: Motion detection, optical flow, pose estimation
  • Audio Processing: Spectrograms, audio descriptors, tempo analysis
  • Visualizations: Motiongrams, videograms, motion history
  • Integration: Works with NumPy, SciPy, and Matplotlib ecosystems
  • Cross-platform: Linux, macOS, Windows support

Presentation

See this short video presentation made for the Nordic Sound and Music Computing Conference 2021:

nordicsmc2021-thumbnail_640

Requirements

Research Background

This toolbox builds on the Musical Gestures Toolbox for Matlab, which again builds on the Musical Gestures Toolbox for Max. Many researchers and research assistants have helped its development over the years, including Balint Laczko, Joachim Poutaraud, Frida Furmyr, Marcus Widmer, Alexander Refsum Jensenius

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

If you use this toolbox in your research, please cite this article:

@inproceedings{laczkoReflectionsDevelopmentMusical2021,
    title = {Reflections on the Development of the Musical Gestures Toolbox for Python},
    author = {Laczkó, Bálint and Jensenius, Alexander Refsum},
    booktitle = {Proceedings of the Nordic Sound and Music Computing Conference},
    year = {2021},
    address = {Copenhagen},
    url = {http://urn.nb.no/URN:NBN:no-91935}
}

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.3.3.tar.gz (34.4 MB view details)

Uploaded Source

Built Distribution

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

musicalgestures-1.3.3-py3-none-any.whl (34.5 MB view details)

Uploaded Python 3

File details

Details for the file musicalgestures-1.3.3.tar.gz.

File metadata

  • Download URL: musicalgestures-1.3.3.tar.gz
  • Upload date:
  • Size: 34.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for musicalgestures-1.3.3.tar.gz
Algorithm Hash digest
SHA256 fb67c7bfc73537a74983a244f42777a723f388802c88c1f56e20e9511a9c31c4
MD5 40e023662be4ba46324deec4bd312261
BLAKE2b-256 ce8d5d18eab9a0b917583f3c919d0262f578d3e696d81423a27a4b36439cfa9f

See more details on using hashes here.

File details

Details for the file musicalgestures-1.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for musicalgestures-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 937b963aaa22072436e28147d1753dc801615bd4550305c5cf8bab7001af6942
MD5 28938178e9ee253d0335553f8da5a197
BLAKE2b-256 bbfa75ca03e04b444ffa667ef0ccabaaaa33681a072b89fddd9371569cd1357f

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