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

    • Be The Shortstop!

      Be The Shortstop! is a permanent public indoor installation at The Baseball Museum in Riverfront Stadium, Wichita KS. Players hit a large button on a kiosk to start the game. After a few seconds the game starts as they race to hit the correct button on a large wall. A crowd cheers on speakers as…

    • LegalLanguage

      I wrote LegalLanguage, a scripting language for lawyers at Legal Services Corporation in West Virginia. The staff used LegalLanguage to write simple scripts that could then ask clients questions, give guidance, and print out the appropriate forms. This freed up resources to focus on the large number of cases involving domestic violence.

    • The Incubator

      The Incubator is an art piece which was initially installed as part of TechArtICT’s Dreamgrass installation at Exploration Place Fall 2022. Within the installation it was the machine where faceless children were created and indoctrinated. A Center TV displayed a teleprompter which offered encouragement for viewers to become participants, reading into a microphone placed at…

    • TechArtICT: Whispering Woodlands

      Whispering Woodlands was an outdoor installation created by TechArtICT. It was installed at Exploration Place in Wichita, Kansas from November 2023 through January 2024. The work featured 24 independently controlled sets of speakers and LEDs, all synchronized to create an immersive sound and lightscape. Using eclectic audio ranging from thunder and rain to spaceships and…