Music::ChordBot::Opus::Section::Chord - ChordBot chords.
use Music::ChordBot::Opus::Section::Chord; $chord = Music::ChordBot::Section::Chord->new; $chord->root("C"); $chord->type("Min7"); $chord->duration(4);
or
$chord = Music::ChordBot::Section::Chord->new("C Min7 4");
$chord = Music::ChordBot::Section::Chord->new("C", "Min7", 4);
Creates a new Music::ChordBot::Opus::Section::Chord object.
The chord key, type and duration may be passed as arguments to the constructor, either as three separate values, or as a string containing these values space separated.
Attributes:
The root (key) of the chord.
An added bass note of the chord.
The type, e.g., "Maj" (major), "Min" (minor), "7" (seventh) and so on.
The duration, in beats.
Thee inversion, if applicable.
Accessors can be used to set and/or get these attributes.
See Music::ChordBot.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head2'
To install Music::ChordBot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Music::ChordBot
CPAN shell
perl -MCPAN -e shell install Music::ChordBot
For more information on module installation, please visit the detailed CPAN module installation guide.