Perl class for musical nootes