A class to convert a Hydrogen song to LilyPond format.
More...
#include <Lilypond.h>
|
| typedef std::vector< std::vector< std::pair< int, float > > > | notes_t |
| |
|
| void | writeLower (std::ofstream &stream, unsigned nMeasure) const |
| | Write lower voice of given measure to stream.
|
| |
| void | writeMeasures (std::ofstream &stream) const |
| | Write measures in LilyPond format to stream.
|
| |
| void | writeUpper (std::ofstream &stream, unsigned nMeasure) const |
| | Write upper voice of given measure to stream.
|
| |
| void | writeVoice (std::ofstream &stream, unsigned nMeasure, const std::vector< int > &whiteList) const |
| |
A class to convert a Hydrogen song to LilyPond format.
Definition at line 40 of file Lilypond.h.
◆ notes_t
| typedef std::vector<std::vector<std::pair<int, float> > > notes_t |
|
private |
◆ LilyPond()
◆ addPattern()
◆ addPatternList()
◆ extractData()
| void extractData |
( |
const Song & | song | ) |
|
◆ write()
| void write |
( |
const QString & | sFilename | ) |
const |
◆ writeLower()
| void writeLower |
( |
std::ofstream & | stream, |
|
|
unsigned | nMeasure ) const |
|
private |
Write lower voice of given measure to stream.
Mapping of GM-kit instrument to LilyPond names.
Definition at line 181 of file Lilypond.cpp.
◆ writeMeasures()
| void writeMeasures |
( |
std::ofstream & | stream | ) |
const |
|
private |
◆ writeUpper()
| void writeUpper |
( |
std::ofstream & | stream, |
|
|
unsigned | nMeasure ) const |
|
private |
Write upper voice of given measure to stream.
Definition at line 165 of file Lilypond.cpp.
◆ writeVoice()
| void writeVoice |
( |
std::ofstream & | stream, |
|
|
unsigned | nMeasure, |
|
|
const std::vector< int > & | whiteList ) const |
|
private |
◆ m_fBPM
◆ m_Measures
Representation of the song.
Definition at line 99 of file Lilypond.h.
◆ m_sAuthor
◆ m_sName