Steve McNabb > POE-Framework-MIDI-0.09 > POE::Framework::MIDI

Download:
POE-Framework-MIDI/POE-Framework-MIDI-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.09   Source  

NAME ^

POE::Framework::MIDI - A simplified front end to the POE::Framework::MIDI environment

ABSTRACT ^

DESCRIPTION ^

This module allows you to specify the data required by the POE::Framework::MIDI environment without having to dive into the guts of the framework.

SYNOPSIS ^

        # assuming you've already 'use'd the module MyMusician up here somewhere

        my @musicians = (
                {
                        name => 'Frank',
                        package => 'MyMusician',
                        patch => 50,
                        channel => 1,
                },
                {
                        name => 'Ian',
                        package => 'MyMusician',
                        patch => 75,
                        channel => 2,
                }
        );
        
        my %data = (
                bars => 15,
                debug => 1,
                verbose => 1,
                filename => 'miditest.mid',
        );
        
        my $midi = POE::Framework::MIDI->new( musicians => \@musicians, data => \%data );
        $midi->run;
        
        # by this point, you should have generated a midi file (miditest.mid) and since
        # debug is turned on, a debug.perl file to show you the autogenerated perl code
        # fed to MIDI::Simple

SEE ALSO ^

POE POE::Framework::MIDI::* MIDI::Simple

AUTHOR ^

Primary: Steve McNabb <steve@justsomeguy.com>

CPAN ID: SMCNABB

Secondary: Gene Boggs <cpan@ology.net>

CPAN ID: GENE

COPYRIGHT AND LICENCE ^

Copyright (c) 2004 Steve McNabb. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

syntax highlighting: