The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Music::ChordBot::Opus::Section::Style- ChordBot styles.

SYNOPSIS

    use Music::ChordBot::Opus::Section::Style;
    $style = Music::ChordBot::Section::Style->new;
    $style->preset("Hammered");

METHODS

new [ args ]

Creates a new Music::ChordBot::Opus::Section::Style object.

Initial attributes can be passed to the constructor as a hash.

Attributes:

reverb

The level of reverb effect.

chorus

The level of chorus effect.

tracks

A list (array ref) of Track objects. See Music::ChordBot::Opus::Section::Style::Track for details about tracks.

beats

The number of beats per measure.

divider

The divider for the measure.

Default is 4/4.

chorus reverb beats divider tracks

Accessors can be used to set and/or get these attributes.

add_track track

Adds a track object to the style.

preset name

Sets the style to one of the built-in preset values. For a list of preset values and their descriptions, see http://chordbot.com/style-lookup.php.

AUTHOR, COPYRIGHT & LICENSE

See Music::ChordBot.