Download the PHP package bviguier/php-rtmidi without Composer
On this page you can find all versions of the php package bviguier/php-rtmidi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bviguier/php-rtmidi
More information about bviguier/php-rtmidi
Files in bviguier/php-rtmidi
Package php-rtmidi
Short Description Realtime MIDI input/output, thanks to RtMidi and FFI.
License MIT
Informations about the package php-rtmidi
PhpRtMidi
Php library for realtime MIDI input/output, thanks to RtMidi and FFI.
Requirements
Installation
On MacOS, you can install RtMidi globally thanks to brew
.
:warning: In Linux, package registries often provide librtmidi.so.4
which is the version 3
!
To compile it manualy:
- Download and extract http://www.music.mcgill.ca/~gary/rtmidi/release/rtmidi-4.0.0.tar.gz
./configure
make && make install
- Be sure that the library is available in you
LD_LIBRARY_PATH
or to provide the full path toPhpRtMidi
.
Features
- Send midi messages (including system exclusive)
- Receive midi messages (including system exclusive)
- Create virtual input or output
Usage
If the RtMidi is not globally available on your system, you have to provide its path.
By default, PhpRtMidi
try to load the library by its standard name, but the name may depend on your OS or your build.
You can also use LIB_RTMIDI_PATH
environment variable to provide the path to the library.
This library doesn't match exactly original RtMidi interfaces, but try to expose a straightforward developer experience.
Check examples
directory to have a better overview of its usage.
All versions of php-rtmidi with dependencies
ext-ffi Version >=7.4