-
-
19 Mar 2006 17:15:55 UTC
- Distribution: POE-Framework-MIDI
- Module version: 0.3
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (2)
- Testers (223 / 526 / 0)
- Kwalitee
Bus factor: 0- 79.31% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (26.47KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Class::MethodMaker
- MIDI::Simple
- POE
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
POE::Framework::MIDI::POEConductor - Management and rendering of POEMusician objects
ABSTRACT
DESCRIPTION
POE functionality for the management of POEMusician objects, and eventual rendering down to perl code for MIDI::Simple via the Conductor's 'render' method.
SYNOPSIS
use POE::Framework::MIDI::POEMusician; #... include your musician objects here ... POE::Framework::MIDI::POEConductor->spawn({ bars => 30, verbose => 1, debug => 1, filename => 'test_output.mid', musicians => [ { name => 'frank', # specify which module you want to have "play" this track. # # the only real requirement for a musician object is # that it define a 'make_bar' method. ideally that should # return POE::Framework::MIDI::Bar( { number => $barnum } ); # or a ::Phrase( { number => $barnum } ); # set the package you want to generate events on this channel package => 'POE::Framework::MIDI::Musician::Your::Musicians::GuitarFreak', # which channel should these events end up on? channel => 1, # which patch should we use? frank likes the jazz guitar sound. patch => '27', }, { name => 'ike', package => 'POE::Framework::MIDI::Musician::Your::Musicians::MyOrganPlayer', channel => 2, patch => '60', }, { name => 'terry', package => 'POE::Framework::MIDI::Musician::Your::Musicians::MyFunkyDrummer', channel => 9, # drum channel - zero based patch => '58', }, ], }); $poe_kernel->run;
SEE ALSO
POE::Framework::MIDI::Conductor
http://justsomeguy.com/code/POE/POE-Framework-MIDI
AUTHOR
Primary: Steve McNabb <steve@justsomeguy.com>
CPAN ID: SMCNABB
Secondary: Gene Boggs <cpan@ology.net>
CPAN ID: GENE
COPYRIGHT AND LICENCE
Copyright (c) 2002 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.
Module Install Instructions
To install POE::Framework::MIDI, copy and paste the appropriate command in to your terminal.
cpanm POE::Framework::MIDI
perl -MCPAN -e shell install POE::Framework::MIDI
For more information on module installation, please visit the detailed CPAN module installation guide.