Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "plmidi"

Title:Interface to Mac OS X MIDI system
Rating:Not rated. Create the first rating!
Latest version:0.7.0
SHA1 sum:d7adc1ab438783b200e2738aaf5b49d57d900538
Author:Samer Abdallah <s.abdallah@ucl.ac.uk>
Download URL:http://github.com/samer--/plmidi.git
Requires:midiutils

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.3009abfb211d253a48400f368c5fc10688e4995f81https://code.soundsoftware.ac.uk/projects/plmidi/repository/raw/release/packs/plmidi-0.3.tgz
0.44289299040ec75aed8140df4def6a6b8c730090e7https://code.soundsoftware.ac.uk/projects/plmidi/repository/raw/release/packs/plmidi-0.4.tgz
0.4.24f7547b72e015a3659f9eff1957b89a8de315b986http://code.soundsoftware.ac.uk/projects/plmidi/repository/raw/release/packs/plmidi-0.4.2.tgz
0.4.3af154e95003477c79cc3344a2c25e2f6ac2159346http://code.soundsoftware.ac.uk/projects/plmidi/repository/raw/release/packs/plmidi-0.4.3.tgz
0.5.012c08bf5f473a038de77946910b104991c8043d41http://github.com/samer--/plmidi.git
a27747dcdab206673c2f4238348484686f45d30a1http://github.com/samer--/plmidi.git
0.6.0097421539dc29b380385c7dccb61bcccdf70babb1http://github.com/samer--/plmidi.git
0.7.0d7adc1ab438783b200e2738aaf5b49d57d9005382http://github.com/samer--/plmidi.git

plmidi

Access to Mac OS X MIDI input and output for SWI Prolog

This module allows Prolog code to send and receive MIDI events using the CoreMIDI framework on Mac OS X.

USAGE

:- use_module(library(plmidi)).

bing :-
        midi_endpoint(outlet(Id, Name, _, _)),
        format('Connecting to MIDI endpoint "~w".\n',[Name]),
        midi_mk_outlet(Id,Ref),

        % play middle C in 1 second for 2 seconds
        get_time(T),
        midi(Ref,T+1,note(0,60,70,2)).

Contents of pack "plmidi"

Pack contains 6 files holding a total of 40.8K bytes.