NAME

POE::Framework::MIDI::Rule::Utility - Utility functions

ABSTRACT

DESCRIPTION

SYNOPSIS

EXPORTED FUNCTIONS

get_notes()

Return an array of the note names of a phrase.

get_durations()

Return an array of the note durations of a phrase.

note_interval()

Return the numerical difference between the two given notes.

note_number()

Return the note number or -1 for a given note name.

normalize_note()

Make sure we are looking at a valid note name.

HELPER FUNCTIONS

These are not used for computation

show_midi_notes()

Show a simple note name to note number correspondence for every note in the $MIDI::Simple::Note list.

show_note_spec()

Print the MIDI::Simple note specification - note name and the 'Absolute' or 'Relative' nature.

scale_sort()

A "mostly correct" sort function for proper scale note names.

SEE ALSO

POE

MIDI::Simple

"use POE::Framework::MIDI::Phrase"

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.