GermanyfedericoVisi/GIMLeT
GIMLeT – Gestural Interaction Machine Learning Toolkit
GIMLeT – Gestural Interaction Machine Learning Toolkit
A set of Max patches for gesture analysis, interactive machine learning, and gesture-sound interaction design. GIMLeT features a modular design that allows to easily share meaningfully structured data between several gesture tracking devices, machine learning, and sound synthesis modules.
NOTE: the PoseNet implementation used in this package is now deprecated and therefore is likely not going to work. I don't think I will have time to fix that in the foreseeable future and therefore anyone's contrubution is welcome, see this issue.
Installation
Install the required packages
- Download the odot package .zip file: https://github.com/CNMAT/CNMAT-odot/releases/download/1.3.0/odot-Max-1.3.0.zip
- Open the .zip file and copy the
odotfolder in your/Max 8/Packagesfolder. - Download the modosc package .zip file: https://github.com/motiondescriptors/modosc/archive/main.zip
- Open the .zip file and copy the
modoscfolder in your/Max 8/Packagesfolder. - Download the GIMLeT package .zip file: https://github.com/federicoVisi/GIMLeT/archive/main.zip
- Open the .zip file and copy the
GIMLeTfolder in your/Max 8/Packagesfolder.
Install the TouchOSC layout
- Install TouchOSC on your smarphone (iOS or Android, you'll find it on the app store)
- Sync the /TouchOSC/GIMLeT_TouchOSC_remote.touchosc using this guide: https://hexler.net/docs/touchosc-editor-sync
- Connect TouchOSC to your computer followng this guide: https://hexler.net/docs/touchosc-configuration-connections-osc
- Make sure the outgoing OSC port in the TouchOSC settings (see link above) is the same as the RmtCtrl Port shown in the
gimlet.ml.annmodule.
Launch the example patches
Launch Max, click on Extras->"GIMLeT examples" on the menu bar, choose an example.
Video Tutorials
- Installation and linear regression with artifical neural networks: https://youtu.be/Dace1sHy1IM
- Gesture following with PoseNet and GVF: https://youtu.be/GoNqiCvVgoY
Dependencies
Included in the package
-
rapidmax : Max external for interactive machine learning
https://github.com/samparkewolfe/RapidMax (Mac)
https://github.com/MartinTownley/RapidMax_Windows -
petra : Max package for granular synthesis
https://github.com/CircuitMusicLabs/petra -
Gesture Variation Follower
https://github.com/bcaramiaux/ofxGVF
Installed separately
-
HfMT Optitrack OSC bridge (optional, if used with Optitrack Motive)
https://github.com/HfMT-ZM4/motion-tracking
A compiled build is available here, just edit the .bat file with the ip and port where you want to send the OSC data to and then run it: https://github.com/HfMT-ZM4/motion-tracking/releases/download/0.0.1/motion-osc.zip
Literature
Book chapter with an overview of interactive machine learning of musical gesture (please cite this if you use the package in a research project)
Visi, F. G., & Tanaka, A. (2021). Interactive Machine Learning of Musical Gesture. In E. R. Miranda (Ed.), Handbook of Artificial Intelligence for Music: Foundations, Advanced Approaches, and Developments for Creativity. Springer, 2021.
- Preprint on ArXiV (open access): http://arxiv.org/abs/2011.13487
- Final version on SpringerLink (paywall): https://link.springer.com/chapter/10.1007/978-3-030-72116-9_27
Paper on the Gesture Variation Follower algorithm
Caramiaux, B., Montecchio, N., Tanaka, A., & Bevilacqua, F. (2014). Adaptive Gesture Recognition with Variation Estimation for Interactive Systems. ACM Transactions on Interactive Intelligent Systems, 4(4), 1–34. https://doi.org/10.1145/2643204
Acknowledgements and history
The project was initiated as a collaboration between Federico Visi and Hochschule für Musik und Theater Hamburg, Germany, within the framework of the KiSS: Kinetics in Sound and Space project.
gimlet.mangle is based on a synth design by Atau Tanaka.
The data recorder in gimlet.ml.ann is based on a design by Michael Zbyszyński.
Further development was carried out by FV as part of a postdoctoral research position at GEMM))) Gesture Embodiment and Machines in Music – Piteå School of Music – Luleå University of Technology, Sweden.
The package is being used and developed further in several projects including:
- Interwoven Sound Spaces (ISS), a project lead by Berit Greinke and Federico Visi at Universität der Künste Berlin focused on developing technologies and practices for live telematic music performance.
- N-Place, a collaborative project focused on telematic music performance involving Luleå University of Technology, University of Oslo, and Technical University Berlin;
- A collaboration between FV and Opera Mecatronica for the development of an interactive opera piece to be premiered in 2022;
- The Global Hyperorgan project;
- The Assisted Interactive Machine Learning project;
- The Wearing Sound course at Universität der Künste Berlin;
- The Gesture-Sound Interaction and Embodied Music Cognition course at Universität der Künste Berlin.
Contact
mail[at]federicovisi[dot]com
Similar Projects
Discover other similar projects and AI models.
12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all
"Dicy2 for Max" is a Max package implementing interactive agents using machine-learning to generate musical sequences that can be integrated into musical situations ranging from the production of structured material within a compositional process to the design of autonomous agents for improvised interaction. Check also our plugin for Ableton live !
a bi-directional communication paradigm for programming languages & microcontrollers
Visualizer for neural network, deep learning and machine learning models
OmniVoice 🌍 OmniVoice is a massively multilingual zero-shot text-to-speech (TTS) model supporting over 600 languages. Built on a novel diffusion language model-style architecture, it delivers high-quality speech w...
AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head
An audio server, programming language, and IDE for sound synthesis and algorithmic composition.
macOS 鼠标/触控板手势自定义工具。按住该手势的触发键(默认右键,也可中键 / 侧键)绘制轨迹,匹配后执行快捷键、打开应用、窗口操作、媒体键、Shell / AppleScript 等 | A macOS mouse gesture customization tool. Hold down the trigger key to execute shortcuts, open applications, shell/AppleScript, etc. after matching.