version 0.5 (7 April 2005)
by Andy Szybalski, email@example.com
MIDI support by Ben Gold
Pyper is a musical development environment. It allows you to write Python scripts that generates music in real-time. Pyper can play the music using QuickTime Musical Instruments, or using an external MIDI device.
Download Pyper 0.5 (disk image, 2.5 MB)
freeware, for Mac OS X 10.3
Not compatible with Mac OS X 10.4 Tiger.
I think this is due to the old version of PyObjC linked with Pyper... I'm working on a fix.
If anyone has ideas let me know.
Please send me any bug reports. If you're curious, you can download the source code (zip archive of Xcode project, 512 K). Pyper is a Cocoa application written in Objective-C, with a little bit of Carbon as well. It makes use of the PyObjC bridge, as well as the PYMIDI library.
More information, and a guide to Getting Started, is available on the Pyper wiki.
Default: See a screenshot (JPEG, 40 K) of a Pyper document (showing the default melody script), and hear an audio clip, melody.m4a (AAC, 256 K), of the uninspired melody that results.
Duet: The duet.py script demonstrates the use of multiple instruments, and sounds a little more interesting. Hear an audio clip, duet.m4a (AAC, 320 K).
For more samples, see the Pyper wiki, or add your own scripts there!
How to get started
For a tutorial, see the Getting Started article on the wiki.
I was inspired to create Pyper after reading the article Hacking Perl in Nightclubs in which Alex Mclean describes a similar setup. If this stuff interests you, I recommend reading that article. Alex's
feedback.pl software is similar to Pyper—more flexible, but a little harder to set up and use. If you're not running Mac OS X, would rather use Perl instead of Python, or would like to use SuperCollider for synthesis instead of QuickTime Musical Instruments, you should check it out. Also see Alex's website at yaxu.org. If you're interested in live musical coding, check out TOPLAP.
Pyper's MIDI support was graciously added by Ben Gold.
Thanks to Bob Ippolito and Glenn Hammonds for their help fixing bugs.
Future work: see the PyperWishlist article on the wiki.
0.5, 7 Apr 2005: Incorporated Ben Gold's support
for MIDI output and editable tempo field. Minor interface refinements. Added icon.
0.23, 8 Nov 2004: fixed several memory-management bugs. Also, PyObjC is now included in the application, so an installer package is not necessary, and existing installations of PyObjC will not be affected. A huge thanks to Bob Ippolito for making these changes.
0.22, 28 Sept 2004: fixed permissions problems on installer by requiring admin access to install
0.21, 28 Sept 2004: new installer to fix bugs from missing PyObjC libraries
0.2, 27 Sept 2004: improvements in error reporting, several bug fixes, simplified Instrument syntax
0.1, 27 Sept 2004: first public release
Andy Szybalski home