Musical Gestures Toolbox for Matlab
The Musical Gestures Toolbox (MGT) is a Matlab toolbox for analysing music-related body motion, using sets of audio, video and motion capture data as source material.
Many of the basic things work with a standard Matlab install, but to use all features you will also need these extra Matlab packages:
- Computer Vision System Toolbox
- Image Processing Toolbox
Some of the functions build on code from these third-party toolboxes:
Add the files in the folder "source-code" to your Matlab path: under the "Home" section, click "set path". Click the "Add Folder" button and choose the "source-code" folder and finally click "save".
Try out the m-files in the examples folder. There are some test files (audio, video, mocap) in the "example_data" folder.
The Musical Gestures Toolbox contains a set of functions for the analysis and visualization of video, audio, and mocap data. There are four categories of functions:
- Data input and edit functions
- Data preprocessing functions
- Visualization functions
- Middle and higher level feature extraction functions
There is a more or less complete introduction to the main features in the software carpentry workshop Quantitative Video analysis for Qualitative Research.
Please use a reference to this publication, if you want to cite the 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.
The first version of the Musical Gestures Toolbox for Matlab was made by benlyyan as part of his M.Sc. thesis at the University of Oslo (Video analysis of music-related body motion in Matlab), and is currently maintained by the fourMs group.