NAME
Music::Intervals - Mathematical breakdown of musical intervals
VERSION
version 0.0102
SYNOPSIS
use Music::Intervals;
$m = Music::Intervals->new(%arguments);
$m->process;
# Then print Dumper any of:
$m->chord_names;
$m->natural_frequencies;
$m->natural_intervals;
$m->natural_cents;
$m->natural_prime_factors;
$m->eq_tempered_frequencies;
$m->eq_tempered_intervals;
$m->eq_tempered_cents;
DESCRIPTION
A Music::Intervals
object shows the mathematical break-down of musical intervals and chords.
* More to come...
METHODS
new()
$x = Music::Intervals->new(%arguments);
Attributes and defaults
- cents: 0
- chords: 0
- equalt: 0
- freqs: 0
- interval: 0
- justin: 0
- numeric: 0
- prime: 0
- rootless: 0
- octave: 4
- concert: 440
- size: 3
- tonic: C
- semitones: 12
- temper: semitones * 100 / log(2)
- notes: [ C D E F G A B ]
SEE ALSO
https://github.com/ology/Music/blob/master/intervals
AUTHOR
Gene Boggs <gene@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Gene Boggs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.