a portmidi wrapper for PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
tests
CREDITS
EXPERIMENTAL
LICENSE
README.md
config.m4
config.w32
constants.h
package.xml
php_portmidi.h
portmidi.c

README.md

portmidi-php

portmidi is a portable real-time MIDI library. portmidi-php is a wrapper extension that provides portmidi functionality in PHP land.

To install:

$ sudo apt-get install libportmidi-dev # or equivalent
$
$ # Clone repo
$ git clone https://github.com/adsr/portmidi-php.git
$ cd portmidi-php
$
$ # Build extension
$ phpize && ./configure && make
$
$ # Run demo
$ php -denable_dl=on -dextension=`pwd`/modules/portmidi.so examples/portmidi.php
$
$ # Optionally install
$ sudo make install