iipyper

iipyper OSC and MIDI examples.

iipyper OSC and MIDI examples.

Fast OSC and MIDI in Python
By Victor Shepardson and Jack Armitage

iipyper is a Python package for fast creation of Open Sound Control (OSC) and MIDI-based event loops. It can be installed via pip install iipyper. iipyper is being used in many of our projects, including Notochord, Living Looper, Organium and Tölvera.

There is widespread interest across music in exploring real-time interaction with artificial intelligence models and processes. However, since most tools in this space reside in the Python ecosystem, this presents a challenge to creative coders in setting up communications protocols, and real-time event-loops. Though many Python-based Open Sound Control (OSC) and MIDI libraries exist, they are alien to those with only machine learning backgrounds, and slow to get started with in a domain where rapid iteration is crucial, even for seasoned music technologists. To address these issues, we introduce iipyper, a Python library optimised for rapid exploration of real-time music interaction with artificial intelligence. iipyper makes trivial the creation of event-loop servers that communicate over OSC and MIDI, using highly flexible Python decorators for routing a variety of data types including sending and receiving n-dimensional arrays.

Learn more and start using iipyper via the iipyper website

For examples and tutorials of how to use iipyper, see the iil-examples repo.