| 1 |
=head1 NAME |
| 2 |
|
| 3 |
ChordPro::A2Crd - convert lyrics and chords to ChordPro |
| 4 |
|
| 5 |
=head1 SYNOPSIS |
| 6 |
|
| 7 |
perl -MA2Crd -e run -- [ options ] [ file ... ] |
| 8 |
|
| 9 |
(But no one does that.) |
| 10 |
|
| 11 |
When the associated B<chordpro> program has been installed correctly: |
| 12 |
|
| 13 |
chordpro --a2crd [ options ] [ file ... ] |
| 14 |
|
| 15 |
=head1 DESCRIPTION |
| 16 |
|
| 17 |
B<This program>, referred to as B<a2crd>, will read a text file |
| 18 |
containing the lyrics of one or many songs with chord information |
| 19 |
written visually above the lyrics. This is often referred to as I<crd> |
| 20 |
data. B<a2crd> will then generate equivalent ChordPro output. |
| 21 |
|
| 22 |
Typical a2crd input: |
| 23 |
|
| 24 |
Title: Swing Low Sweet Chariot |
| 25 |
|
| 26 |
D G D |
| 27 |
Swing low, sweet chariot, |
| 28 |
A7 |
| 29 |
Comin' for to carry me home. |
| 30 |
D7 G D |
| 31 |
Swing low, sweet chariot, |
| 32 |
A7 D |
| 33 |
Comin' for to carry me home. |
| 34 |
|
| 35 |
D G D |
| 36 |
I looked over Jordan, and what did I see, |
| 37 |
A7 |
| 38 |
Comin' for to carry me home. |
| 39 |
D G D |
| 40 |
A band of angels comin' after me, |
| 41 |
A7 D |
| 42 |
Comin' for to carry me home. |
| 43 |
|
| 44 |
Note that the output from the conversion will generally need some |
| 45 |
additional editing to be useful as input to ChordPro. |
| 46 |
|
| 47 |
B<a2crd> is a wrapper around L<ChordPro::A2Crd>, which |
| 48 |
does all of the work. |
| 49 |
|
| 50 |
B<chordpro> will read one or more text files containing the lyrics of |
| 51 |
one or many songs plus chord information. B<chordpro> will then |
| 52 |
generate a photo-ready, professional looking, impress-your-friends |
| 53 |
sheet-music suitable for printing on your nearest printer. |
| 54 |
|
| 55 |
B<chordpro> is a rewrite of the Chordii program. |
| 56 |
|
| 57 |
For more information about the ChordPro file format, see |
| 58 |
L<https://www.chordpro.org>. |
| 59 |
|
| 60 |
=head1 COMMAND LINE OPTIONS |
| 61 |
|
| 62 |
=over 4 |
| 63 |
|
| 64 |
=item B<--output=>I<FILE> (short: B<-o>) |
| 65 |
|
| 66 |
Designates the name of the output file where the results are written |
| 67 |
to. Default is standard output. |
| 68 |
|
| 69 |
=item B<--version> (short: B<-V>) |
| 70 |
|
| 71 |
Prints the program version and exits. |
| 72 |
|
| 73 |
=item B<--help> (short: -h) |
| 74 |
|
| 75 |
Prints a help message. No other output is produced. |
| 76 |
|
| 77 |
=item B<--manual> |
| 78 |
|
| 79 |
Prints the manual page. No other output is produced. |
| 80 |
|
| 81 |
=item B<--ident> |
| 82 |
|
| 83 |
Shows the program name and version. |
| 84 |
|
| 85 |
=item B<--verbose> |
| 86 |
|
| 87 |
Provides more verbose information of what is going on. |
| 88 |
|
| 89 |
=back |
| 90 |
|
| 91 |
=head1 AUTHOR |
| 92 |
|
| 93 |
Johan Vromans C<< <jv at CPAN dot org > >> |
| 94 |
|
| 95 |
=head1 SUPPORT |
| 96 |
|
| 97 |
A2Crd is part of ChordPro (the program). Development is hosted on |
| 98 |
GitHub, repository L<https://github.com/ChordPro/chordpro>. |
| 99 |
|
| 100 |
Please report any bugs or feature requests to the GitHub issue tracker, |
| 101 |
L<https://github.com/ChordPro/chordpro/issues>. |
| 102 |
|
| 103 |
A user community discussing ChordPro can be found at |
| 104 |
L<https://groups.google.com/forum/#!forum/chordpro>. |
| 105 |
|
| 106 |
=head1 LICENSE |
| 107 |
|
| 108 |
Copyright (C) 2010,2018 Johan Vromans, |
| 109 |
|
| 110 |
This program is free software. You can redistribute it and/or |
| 111 |
modify it under the terms of the Artistic License 2.0. |
| 112 |
|
| 113 |
This program is distributed in the hope that it will be useful, |
| 114 |
but without any warranty; without even the implied warranty of |
| 115 |
merchantability or fitness for a particular purpose. |
| 116 |
|