Abstract · Peer reviewed (abstract)

Creating a Platform for Embedded Intelligent Instruments: Maybe I Like the Misery

Charles Martin

In ACMC 2024 Proceedings, The Australian Institute of Music, Sydney and Melbourne, Australia, pp. 45–46. Australasian Computer Music Association.

Abstract

This talk discusses recent progress with IMPSY, a Python platform for embedding generative AI into new digital musical instruments. Our research aims to empower researchers and musicians with tools for creating intelligent instruments that learn from small datasets. IMPSY employs a mixture density RNN to generate musical data in realtime, interfacing with other musical systems via MIDI, OSC, WebSockets, or serial. We’ve tested IMPSY on various Raspberry Pi models, including the cost-effective Zero 2 W, achieving acceptable performance. Our experiments showcase collaborative performances and concerts using these embedded intelligent instruments. Benchmark findings reveal that TensorFlow Lite offers optimal performance and that predictions under 5ms are possible on a Zero 2 W and under 0.5ms on a Raspberry Pi 5. To mitigate the misery of complex Python dependencies and multi-device management, we use Poetry for package management and Ansible to help develop a pre-installed Raspberry Pi OS image. These strategies have significantly accelerated our research and its practical applications. Our IMPSYpi image operates without an internet connection and can be configured by musicians via ethernet-over-USB and using a webrather than command-line-interface. IMPSY enables electronic musicians to incorporate generative AI in hardware setups without relying on internet connectivity, using the musician’s own data for predictions. This research demonstrates that IMPSY can operate effectively on even the cheapest Linux-based Raspberry Pi (29AUD). This work represents a significant step towards accessible, embedded AI for musical performance and composition.

Printed in the proceedings, pp. 45–46 (PDF)

All copyright remains with the authors.

How to cite

Charles Martin. 2024. “Creating a Platform for Embedded Intelligent Instruments: Maybe I Like the Misery.” In ACMC 2024 Proceedings, edited by Vincie Tiong, 45–46. The Australian Institute of Music, Sydney and Melbourne, Australia: Australasian Computer Music Association. https://computermusic.org.au/proceedings/ACMC2024-proceedings/martin-creating-platform-embedded.html

BibTeX
@inproceedings{martin2024creating,
  author = {Charles Martin},
  title = {{Creating a Platform for Embedded Intelligent Instruments: Maybe I Like the Misery}},
  booktitle = {ACMC 2024 Proceedings},
  editor = {Vincie Tiong},
  pages = {45--46},
  year = {2024},
  publisher = {Australasian Computer Music Association},
  address = {The Australian Institute of Music, Sydney and Melbourne, Australia},
  url = {https://computermusic.org.au/proceedings/ACMC2024-proceedings/martin-creating-platform-embedded.html}
}

← All of ACMC 2024 Futurity