Music::Chord::Namer 0.01
Sponsored Links
Music::Chord::Namer 0.01 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
547
Date added:
2007-05-12
Publisher:
Jimi-Carlo Bukowski-Wills
Music::Chord::Namer 0.01 description
Music::Chord::Namer - You give it notes, it names the chord.
SYNOPSIS
use Music::ChordName qw/chordname/;
print chordname(qw/C E G/); # prints C
print chordname(q/C E G/); # same (yes, array or string!)
print chordname(qw/C Eb G Bb D/); # prints Cm9
print chordname(qw/G C Eb Bb D/); # prints Cm9/G
Music::ChordName optionally exports one sub, chordname, which accepts some notes as either a string or a list and returns the best chord name it can think of.
EXPORT
None by default.
$bestnamescalar|@namesarray = chordname($notesstring|@notesarray)
chordname() accepts either a string of notes such as "C Eb G A#" or a list of notes such as qw/Ab Bb F Bb D/. In a scalar context it returns the best name it could think of to describe the chord made from the notes you gave it. In an array context it returns all of the names it thought of, sorted from best to worst (shortest to longest!)
EXAMPLES
# to print a bunch of guitar chord names with at lest 4 notes each,
# all below 5th fret...
foreach my $s1(qw/- E F Gb G Ab/){
foreach my $s2(qw/- A Bb B C Db/){
foreach my $s3(qw/- D Eb E F Gb/){
foreach my $s4(qw/- G Ab A Bb/){
foreach my $s5(qw/- B C Db D Eb/){
foreach my $s6(qw/- E F Gb G Ab/){
my @notes = ();
push @notes, $s1 unless $s1 eq -;
push @notes, $s2 unless $s2 eq -;
push @notes, $s3 unless $s3 eq -;
push @notes, $s4 unless $s4 eq -;
push @notes, $s5 unless $s5 eq -;
push @notes, $s6 unless $s6 eq -;
if(@notes >= 4){
print scalar(chordname(@notes)), = ,join( ,@notes),"n";
}
}
}
}
}
}
}
SYNOPSIS
use Music::ChordName qw/chordname/;
print chordname(qw/C E G/); # prints C
print chordname(q/C E G/); # same (yes, array or string!)
print chordname(qw/C Eb G Bb D/); # prints Cm9
print chordname(qw/G C Eb Bb D/); # prints Cm9/G
Music::ChordName optionally exports one sub, chordname, which accepts some notes as either a string or a list and returns the best chord name it can think of.
EXPORT
None by default.
$bestnamescalar|@namesarray = chordname($notesstring|@notesarray)
chordname() accepts either a string of notes such as "C Eb G A#" or a list of notes such as qw/Ab Bb F Bb D/. In a scalar context it returns the best name it could think of to describe the chord made from the notes you gave it. In an array context it returns all of the names it thought of, sorted from best to worst (shortest to longest!)
EXAMPLES
# to print a bunch of guitar chord names with at lest 4 notes each,
# all below 5th fret...
foreach my $s1(qw/- E F Gb G Ab/){
foreach my $s2(qw/- A Bb B C Db/){
foreach my $s3(qw/- D Eb E F Gb/){
foreach my $s4(qw/- G Ab A Bb/){
foreach my $s5(qw/- B C Db D Eb/){
foreach my $s6(qw/- E F Gb G Ab/){
my @notes = ();
push @notes, $s1 unless $s1 eq -;
push @notes, $s2 unless $s2 eq -;
push @notes, $s3 unless $s3 eq -;
push @notes, $s4 unless $s4 eq -;
push @notes, $s5 unless $s5 eq -;
push @notes, $s6 unless $s6 eq -;
if(@notes >= 4){
print scalar(chordname(@notes)), = ,join( ,@notes),"n";
}
}
}
}
}
}
}
Music::Chord::Namer 0.01 Screenshot
Music::Chord::Namer 0.01 Keywords
Namer 0.01
notes
chord
print
Foreach
eq
unless
Music::Chord::Namer
MusicChordNamer
Music::Chord::Namer 0.01
Libraries
Programming
Bookmark Music::Chord::Namer 0.01
Music::Chord::Namer 0.01 Copyright
WareSeeker periodically updates pricing and software information of Music::Chord::Namer 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Music::Chord::Namer 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Net::ChooseFName is a Perl extension for choosing a name of a local mirror of a net (e.g., FTP or HTTP) resource. Free Download
mount_and open is a service menu is a port of media_realfolder and the perlscript kio_media_realfolder. Free Download
Commands::Guarded Perl package provides better scripts through guarded commands. Free Download
Statistics::Cluto package contains Perl binding for CLUTO. Free Download
MP3::ID3Lib::Frame is an ID3v1/ID3v2 Tagging Frames. Free Download
Search::Namazu is a Namazu library module for perl. Free Download
Software to help transcribing recorded music. Slow down music. Analyze chords. Free Download
Text::Emoticon::GoogleTalk is a Perl module emoticon filter of GoogleTalk. Free Download
Latest Software
Popular Software
Favourite Software