[−][src]Crate chordpro
Chordpro
This crate is a chordpro parser. Chordpro is a simple text format for the notation of lyrics with chords. Although initially intended for guitarists, it can be used for all kinds of musical purposes. Specification of the format can be found in the official website: https://www.chordpro.org/
To build a Song
from a chordpro file:
let song = Song::from_str(r##" {title: Song Title}" {artist: The Artist} This is the first verse. You can specify chords using brackets. This is a [G]chord {soc} This is the chorus of the song [Em]You can also add some chords {eoc} "##).unwrap();
Re-exports
pub use chords::Chord; |
pub use chords::Note; |
pub use song::Song; |
pub use song::Section; |
pub use song::Paragraph; |
pub use song::Line; |
pub use song::Chunk; |
pub use iterators::SectionIterator; |
pub use iterators::SectionMutIterator; |
Modules
chords | |
iterators | |
song | Contains |
songparse | Parser for |
transpose | This module allows transposing chords in a |