Music::Note is an OO encapsulation of a single musical note. Includes methods for transposition, enharmonic equivalence, and creation/output in a range of formats.
SYNOPSIS
use Music::Note;
my $note = Music::Note->new("C#4","ISO"); # 'simple' style - notename/type
$note->transpose->(-16); # to A2
$note->alter(1); # to A#2
$note->en_eq('flat'); # to Bb2
print $note->format("kern"); # BB-
$note = Music::Note->new({step=>'C',octave=>'4',alter=>1});
print $note->octave(); # 4
print $note->step(); # C
Product's homepage
Requirements:
· Perl