pyPortMidi

pyPortMidi

pyPortMidi is a Python wrapper I wrote for PortMidi. PortMidi is a cross-platform C library for realtime MIDI control. Using pyPortMidi, you can send and receive MIDI data in realtime from Python.

Besides using pyPortMidi to communicate to synthesizers and the like, it is possible to use pyPortMidi as a way to send MIDI messages between software packages on the same computer. For example, Using pyPortMidi and MIDI-YOKE on a Windows machine, it is possible to send realtime MIDI messages between programs on the same computer using loopback virtual MIDI ports.

pyPortMidi is now in a distribution package that supports compiling from Win32, Linux, and OS X from the source. There is also binary available for Win32 Python 2.3.x and Win32 Python 2.4.

The source distribution includes a compiled version of the PortMidi C library for Win32, OS X, and Linux.

pyPortMidi is actively used in the Python community and has been updated and forked to be current with more recent Python and PortMidi releases in the PortMidi and pyGame trunks.

Version 0.0.3 – released March 15, 2005 — license added March 15

  • pyPortMidi-src-0.0.3.tar.gz  (platform-independent source in tar.gz format)
  • pyPortMidi-src-0.0.3.zip(platform-independent source in zip format)
  • pyPortMidi-0.0.3.win32-py2.3.exe (win32 self-installing executable for Python 2.3.x)
  • pyPortMidi-0.0.3.win32.zip (compiled Win32/Python 2.4 binary distribution in .zip format )
  • license.txt
  • Similar Posts

    • Ghost in the Machine

      Originally conceived in 2008, Ghost in the Machine (GITM) consists of a webcam and display which mixes and crossfades events in realtime with motion-activated video it has recorded previously. It continually shifts between 3 states: individual, community, and the world. GITM has been shown in many venues and contexts.

    • SoundScratch

      SoundScratch is a set of extensions I wrote to manipulate audio in a children’s programming language called Scratch. The environment emphasizes the expressive capabilities of sound through the act of creation and design.

    • TV Mountain

      TV Mountain is an art piece which was initially installed as part of TechArtICT’s Dreamgrass installation at Exploration Place Fall 2022. It consisted of 12 TVs at various angles and orientations, together forming a jumbotron. As part of Dreamgrass, it subjected faceless child-like objects to a litany of 80s commercials. The working remote enjoyed a…

    • Touch #1

      In 2012 I created my first interactive touch wall: Touch #1. The work built on my experience creating the visuals for Still Life and was largely inspired by seeing autistic children experiencing pure joy while interacting in an immersive environment. Touch #1 received a great response and was later installed at Exploration Place and at…

    • Still Life

      In 2011, as part of Hack.Art.Lab, I collaborated with composer Mary Ellen Childs and percussionist Michael Holland to create live animation triggered by live performance of Mary Ellen Childs’ composition “Still Life.” We analyzed the piece into 11 sections and created algorithmic video triggered by sound and motion to match each of the 11 sections. The video was projected…