Christian Renz > Mac-CoreMIDI-0.04 > Mac::CoreMIDI::Client

Download:
Mac-CoreMIDI-0.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.03   Source  

NAME ^

Mac::CoreMIDI::Client - Encapsulates a CoreMIDI Client

SYNOPSIS ^

    use Mac::CoreMIDI;
    
    my $c = MyClient->new(name => 'My Perl MIDI Application');
    Mac::CoreMIDI::RunLoopRun();

    package MyClient;
    
    use base qw(Mac::CoreMIDI::Client);
    
    sub Update {
        # do something here
    }

CONSTRUCTOR ^

my $client = Mac::CoreMIDI::Client-new(name => '...')>

Creates a new client object.

METHODS ^

$client->CreateDestination($name, $callback)

Creates a destination object for this client.

$self->Update()

Is called by Mac OS X when CoreMIDI devices are updated.

SEE ALSO ^

Mac::CoreMIDI

AUTHOR ^

Christian Renz, <crenz @ web42.com>

COPYRIGHT AND LICENSE ^

Copyright 2004-2005 Christian Renz, <crenz @ web42.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.