Description

A dynamic binding to the PortMidi library

Package Information

Version1.0.0-beta (2016-May-26)
Homepage https://github.com/tumlee/DerelictPortMidi
Repository https://github.com/Tumlee/DerelictPortMidi
LicenseBoost
AuthorsThomas Gann
Registered byThomas Gann
Dependencies

derelict-util

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

A dynamic binding to the PortMidi library for the D Programming Language.

It is currently designed to be used against PortMidi version 2.1.7, although other versions may work with this as well. So far, not all functions have been tested, so if you have any problems getting it to work, please let me know immediately. Derelict itself is maintained seperately and documentation on how to build projects using Derelict packages can be found here.

import derelict.portmidi.portmidi;
import derelict.portmidi.porttime;

void main() {
    // Load the PortMidi and PortTime libraries.
    DerelictPortMidi.load();
    DerelictPortTime.load();
    
    // Initialize PortMidi
    Pm_Initialize();
    
    // Now PortMidi functions can be called.
    ...
}

Available versions

1.0.0-beta 1.0.0-alpha ~master