POE::Framework::MIDI::Key - Lexicon of key types
This package provides a lexicon of key types (major, minor, etc) and an interval key for building them from a root note. For example: consider a piano keyboard. The space from any note to its next nearest neighbour might be a black key or a white key. That's a semitone. Two semitones, or the key next to the key's nearest neighbour is a Tone (or "Full Tone"). If you start on any key, and count up one semitone at a time, you get an ascending chromatic (play every semitone) scale. If you count "Tone, Tone, Semitone, Tone, Tone, Tone, Semitone" from the starting note, you get a major scale. This module aims to provide easy calculations for things like "What's the third note in a major scale starting with C#?"
my $key = new POE::Framework::MIDI::Key({ name => 'maj', root => 'E4' }); print 'The third of the scale is ', ${$key->numeric_scale}[2], "\n";
POE
MIDI::Simple
http://justsomeguy.com/code/POE/POE-Framework-MIDI
Primary: Steve McNabb <steve@justsomeguy.com>
CPAN ID: SMCNABB
Secondary: Gene Boggs <cpan@ology.net>
CPAN ID: GENE
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.
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.