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


Mac-CoreMIDI documentation  | view source Contained in the Mac-CoreMIDI distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    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

Top

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

Creates a new client object.

METHODS

Top

$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

Top

Mac::CoreMIDI

AUTHOR

Top

Christian Renz, <crenz @ web42.com>

COPYRIGHT AND LICENSE

Top


Mac-CoreMIDI documentation  | view source Contained in the Mac-CoreMIDI distribution.