POE::Framework::MIDI - A simplified front end to the POE::Framework::MIDI environment
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.
# 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
POE POE::Framework::MIDI::* MIDI::Simple
Primary: Steve McNabb <steve@justsomeguy.com>
CPAN ID: SMCNABB
Secondary: Gene Boggs <cpan@ology.net>
CPAN ID: GENE
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.
To install POE::Framework::MIDI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Framework::MIDI
CPAN shell
perl -MCPAN -e shell install POE::Framework::MIDI
For more information on module installation, please visit the detailed CPAN module installation guide.