-
-
19 Mar 2006 17:15:55 UTC
- Distribution: POE-Framework-MIDI
- Module version: 0.02
- 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::Key - Lexicon of key types
ABSTRACT
DESCRIPTION
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#?"
SYNOPSIS
my $key = new POE::Framework::MIDI::Key({ name => 'maj', root => 'E4' }); print 'The third of the scale is ', ${$key->numeric_scale}[2], "\n";
SEE ALSO
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.