Musical Gestures Toolbox for Python
Project description
MGT-python
The Musical Gestures Toolbox for Python is a collection of tools for visualizing and analysing audio and video files.
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
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:
Requirements
- Python 3.7+
- FFmpeg
- See installation guide for complete 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:
- Laczkó, B., & Jensenius, A. R. (2021). Reflections on the Development of the Musical Gestures Toolbox for Python. Proceedings of the Nordic Sound and Music Computing Conference, Copenhagen.
@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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb67c7bfc73537a74983a244f42777a723f388802c88c1f56e20e9511a9c31c4
|
|
| MD5 |
40e023662be4ba46324deec4bd312261
|
|
| BLAKE2b-256 |
ce8d5d18eab9a0b917583f3c919d0262f578d3e696d81423a27a4b36439cfa9f
|
File details
Details for the file musicalgestures-1.3.3-py3-none-any.whl.
File metadata
- Download URL: musicalgestures-1.3.3-py3-none-any.whl
- Upload date:
- Size: 34.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
937b963aaa22072436e28147d1753dc801615bd4550305c5cf8bab7001af6942
|
|
| MD5 |
28938178e9ee253d0335553f8da5a197
|
|
| BLAKE2b-256 |
bbfa75ca03e04b444ffa667ef0ccabaaaa33681a072b89fddd9371569cd1357f
|