Canorus 0.0
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
CALilyPondExport Class Reference

LilyPond export filter This class is used to export the document or parts of the document to LilyPond syntax. The most common use is to simply call one of the constructors. More...

#include <lilypondexport.h>

Inheritance diagram for CALilyPondExport:
Inheritance graph
[legend]

Public Member Functions

 CALilyPondExport (QTextStream *out=0)
 
CAVoicecurVoice ()
 
CASheetcurSheet ()
 
CADocumentcurDocument ()
 
CAContextcurContext ()
 
int curContextIndex ()
 
int curIndentLevel ()
 
- Public Member Functions inherited from CAExport
 CAExport (QTextStream *stream=0)
 
virtual ~CAExport ()
 
virtual const QString readableStatus ()
 
void exportDocument (CADocument *, bool bStartThread=true)
 
void exportSheet (CASheet *)
 
void exportStaff (CAStaff *)
 
void exportVoice (CAVoice *)
 
void exportLyricsContext (CALyricsContext *)
 
void exportFunctionMarkContext (CAFunctionMarkContext *)
 
CADocumentexportedDocument ()
 
CASheetexportedSheet ()
 
CAStaffexportedStaff ()
 
CAVoiceexportedVoice ()
 
CALyricsContextexportedLyricsContext ()
 
CAFunctionMarkContextexportedFunctionMarkContext ()
 
virtual void setStreamToFile (const QString filename)
 
bool wait (unsigned long time=ULONG_MAX)
 
- Public Member Functions inherited from CAFile
 CAFile ()
 
virtual ~CAFile ()
 
const int status ()
 
const int progress ()
 
virtual const QString readableStatus ()=0
 
void setStreamFromFile (const QString filename)
 
void setStreamToFile (const QString filename)
 
void setStreamFromDevice (QIODevice *device)
 
void setStreamToDevice (QIODevice *device)
 
void setStreamToString ()
 
QString getStreamAsString ()
 

Private Member Functions

void exportSheetImpl (CASheet *sheet)
 
void exportScoreBlock (CASheet *sheet)
 
void exportStaffVoices (CAStaff *staff)
 
void exportVoiceImpl (CAVoice *voice)
 
void exportLyricsContextBlock (CALyricsContext *lc)
 
void exportLyricsContextImpl (CALyricsContext *lc)
 
void exportMarksBeforeElement (CAMusElement *)
 
void exportNoteMarks (CANote *)
 
void exportMarksAfterElement (CAMusElement *)
 
void exportPlayable (CAPlayable *elt)
 
void writeDocumentHeader ()
 
void scanForRepeats (CAStaff *staff)
 
CADiatonicPitch writeRelativeIntro ()
 
void doAnacrusisCheck (CATimeSignature *time)
 
const QString clefTypeToLilyPond (CAClef::CAClefType type, int c1, int offset)
 
const QString diatonicKeyGenderToLilyPond (CADiatonicKey::CAGender gender)
 
const QString playableLengthToLilyPond (CAPlayableLength length)
 
const QString diatonicPitchToLilyPond (CADiatonicPitch p)
 
const QString restTypeToLilyPond (CARest::CARestType type)
 
const QString barlineTypeToLilyPond (CABarline::CABarlineType type)
 
const QString syllableToLilyPond (CASyllable *s)
 
const QString relativePitchToString (CANote *note, CADiatonicPitch prevPitch)
 
const QString relativePitchToString (CADiatonicPitch p, CADiatonicPitch prevPitch)
 
void voiceVariableName (QString &name, int staffNum, int voiceNum)
 
void spellNumbers (QString &s)
 
QString markupString (QString)
 
QString escapeWeirdChars (QString)
 
void indent ()
 
void indentMore ()
 
void indentLess ()
 
void setCurVoice (CAVoice *voice)
 
void setCurSheet (CASheet *sheet)
 
void setCurContext (CAContext *context)
 
void setCurContextIndex (int c)
 
void setCurDocument (CADocument *document)
 
void setIndentLevel (int level)
 
void voltaFunction (void)
 

Private Attributes

QTextStream * _out
 
CAVoice_curVoice
 
CASheet_curSheet
 
CAContext_curContext
 
CADocument_curDocument
 
int _curContextIndex
 
int _curIndentLevel
 
CADiatonicPitch _lastNotePitch
 
CAPlayableLength _lastPlayableLength
 
int _curStreamTime
 
bool _voltaFunctionWritten
 
bool _voltaBracketFinishAtRepeat
 
bool _voltaBracketFinishAtBar
 
bool _timeSignatureFound
 

Static Private Attributes

static const QString _regExpVoltaRepeat = QString("voltaRepeat (.*)")
 
static const QString _regExpVoltaBar = QString("voltaBar (.*)")
 

Additional Inherited Members

- Signals inherited from CAExport
void documentExported (CADocument *)
 
void sheetExported (CASheet *)
 
void staffExported (CAStaff *)
 
void voiceExported (CAVoice *)
 
void lyricsContextExported (CALyricsContext *)
 
void functionMarkContextExported (CAFunctionMarkContext *)
 
void exportDone (int status)
 
- Protected Member Functions inherited from CAExport
virtual void exportDocumentImpl (CADocument *)
 
virtual void exportSheetImpl (CASheet *)
 
virtual void exportStaffImpl (CAStaff *)
 
virtual void exportVoiceImpl (CAVoice *)
 
virtual void exportLyricsContextImpl (CALyricsContext *)
 
virtual void exportFunctionMarkContextImpl (CAFunctionMarkContext *)
 
QTextStream & out ()
 
void run ()
 
- Protected Member Functions inherited from CAFile
void setStatus (const int status)
 
void setProgress (const int progress)
 
QTextStream * stream ()
 
virtual void setStream (QTextStream *stream)
 
QFile * file ()
 
void setFile (QFile *file)
 

Detailed Description

LilyPond export filter This class is used to export the document or parts of the document to LilyPond syntax. The most common use is to simply call one of the constructors.

Copyright (c) 2007-2010, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.

Copyright (c) 2007-2010, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.

CALilyPondExport( myDocument, &textStream );
CALilyPondExport(QTextStream *out=0)
Definition: lilypondexport.cpp:50

textStream is usually the file stream or the content of the score source view widget.

See also
CALilyPondImport

Constructor & Destructor Documentation

◆ CALilyPondExport()

CALilyPondExport::CALilyPondExport ( QTextStream *  out = 0)

Constructor for the lilypond export. Called when viewing a single voice source in Lily syntax or exporting the whole document to a file.

Uses out for the output.

References _timeSignatureFound, _voltaBracketFinishAtBar, _voltaBracketFinishAtRepeat, _voltaFunctionWritten, setCurDocument(), and setIndentLevel().

Here is the call graph for this function:

Member Function Documentation

◆ barlineTypeToLilyPond()

const QString CALilyPondExport::barlineTypeToLilyPond ( CABarline::CABarlineType  type)
private

Converts the barline type to LilyPond syntax.

References CABarline::Dotted, CABarline::Double, CABarline::End, CABarline::RepeatClose, CABarline::RepeatCloseOpen, CABarline::RepeatOpen, CABarline::Single, and CABarline::Undefined.

Referenced by exportVoiceImpl().

Here is the caller graph for this function:

◆ clefTypeToLilyPond()

const QString CALilyPondExport::clefTypeToLilyPond ( CAClef::CAClefType  clefType,
int  c1orig,
int  offset 
)
private

Converts the given clefType to LilyPond syntax.

References CAClef::C, CAClef::F, CAClef::G, CAClef::PercussionHigh, CAClef::PercussionLow, and CAClef::Tab.

Referenced by exportVoiceImpl().

Here is the caller graph for this function:

◆ curContext()

CAContext * CALilyPondExport::curContext ( )
inline

References _curContext.

Referenced by exportScoreBlock().

Here is the caller graph for this function:

◆ curContextIndex()

int CALilyPondExport::curContextIndex ( )
inline

References _curContextIndex.

Referenced by exportStaffVoices().

Here is the caller graph for this function:

◆ curDocument()

CADocument * CALilyPondExport::curDocument ( )
inline

References _curDocument.

Referenced by writeDocumentHeader().

Here is the caller graph for this function:

◆ curIndentLevel()

int CALilyPondExport::curIndentLevel ( )
inline

References _curIndentLevel.

Referenced by indent().

Here is the caller graph for this function:

◆ curSheet()

CASheet * CALilyPondExport::curSheet ( )
inline

References _curSheet.

Referenced by exportScoreBlock().

Here is the caller graph for this function:

◆ curVoice()

CAVoice * CALilyPondExport::curVoice ( )
inline

References _curVoice.

Referenced by doAnacrusisCheck(), exportStaffVoices(), and writeRelativeIntro().

Here is the caller graph for this function:

◆ diatonicKeyGenderToLilyPond()

const QString CALilyPondExport::diatonicKeyGenderToLilyPond ( CADiatonicKey::CAGender  gender)
private

Returns the key signature gender major/minor in LilyPond syntax.

See also
keySignaturePitchToLilyPond()

References CADiatonicKey::Major, and CADiatonicKey::Minor.

Referenced by exportVoiceImpl().

Here is the caller graph for this function:

◆ diatonicPitchToLilyPond()

const QString CALilyPondExport::diatonicPitchToLilyPond ( CADiatonicPitch  pitch)
private

Converts the note pitch to LilyPond syntax.

References CADiatonicPitch::accs(), and CADiatonicPitch::noteName().

Referenced by exportVoiceImpl(), and relativePitchToString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ doAnacrusisCheck()

void CALilyPondExport::doAnacrusisCheck ( CATimeSignature time)
private

Writes the partial command before the first note if there is an upbeat.

References CAMusElement::Barline, CATimeSignature::beat(), CATimeSignature::beats(), curVoice(), CAPlayableLength::HundredTwentyEighth, CAVoice::musElementList(), CAPlayableLength::musicLength(), CAExport::out(), CAPlayableLength::playableLengthToTimeLength(), and CAPlayableLength::Quarter.

Referenced by exportVoiceImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ escapeWeirdChars()

QString CALilyPondExport::escapeWeirdChars ( QString  in)
private

Replaces characters like backslashes and double brackets with their escaped variant.

Referenced by exportScoreBlock(), and markupString().

Here is the caller graph for this function:

◆ exportLyricsContextBlock()

void CALilyPondExport::exportLyricsContextBlock ( CALyricsContext lc)
private

Exports the lyrics in form: SopranoLyricsOne = { My bu – ny is o – ver the o – cean __ My bu – ny. }

References exportLyricsContextImpl(), indent(), indentLess(), indentMore(), CAContext::name(), CAExport::out(), and spellNumbers().

Referenced by exportSheetImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportLyricsContextImpl()

void CALilyPondExport::exportLyricsContextImpl ( CALyricsContext lc)
privatevirtual

Exports the syllables only without the SopranoLyircsOne = {} frame.

Reimplemented from CAExport.

References CAExport::out(), CALyricsContext::syllableList(), and syllableToLilyPond().

Referenced by exportLyricsContextBlock().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportMarksAfterElement()

void CALilyPondExport::exportMarksAfterElement ( CAMusElement elt)
private

Exports the marks for the given elt chord, rest or non-playable music element.

For exporting note-specific marks (eg. fingering), see exportNoteMarks().

See also
exportNoteMarks()

References _regExpVoltaBar, _regExpVoltaRepeat, CAArticulation::Accent, CAMark::Articulation, CAMark::BookMark, CAArticulation::Breath, CAMark::Crescendo, CADynamic::Custom, CAArticulation::DownBow, CAArticulation::DownMordent, CAArticulation::DownPrall, CAMark::Dynamic, CADynamic::dynamicTextFromString(), CAArticulation::Espressivo, CAMark::Fermata, CAMark::Fingering, CAArticulation::Flageolet, CAMark::InstrumentChange, CAArticulation::LinePrall, CAArticulation::Marcato, CAMusElement::markList(), CAMark::markType(), CAArticulation::Mordent, CAArticulation::Open, CAExport::out(), CAMark::Pedal, CAArticulation::Portato, CAArticulation::Prall, CAArticulation::PrallDown, CAArticulation::PrallMordent, CAArticulation::PrallPrall, CAArticulation::PrallUp, CAMark::RehersalMark, CAMark::RepeatMark, CAArticulation::ReverseTurn, CAMark::Ritardando, CARitardando::Ritardando, CARitardando::ritardandoType(), CAArticulation::Staccatissimo, CAArticulation::Staccato, CAArticulation::Stopped, CAMark::Tempo, CAArticulation::Tenuto, CADynamic::text(), CAMark::Text, CAArticulation::Trill, CAArticulation::Turn, CAArticulation::Undefined, CAMark::Undefined, CAArticulation::UpBow, CAArticulation::UpMordent, and CAArticulation::UpPrall.

Referenced by exportPlayable(), and exportVoiceImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportMarksBeforeElement()

void CALilyPondExport::exportMarksBeforeElement ( CAMusElement elt)
private

◆ exportNoteMarks()

void CALilyPondExport::exportNoteMarks ( CANote elt)
private

◆ exportPlayable()

void CALilyPondExport::exportPlayable ( CAPlayable elt)
private

◆ exportScoreBlock()

void CALilyPondExport::exportScoreBlock ( CASheet sheet)
private

Exports the \score block for LilyPond from the current sheet. Looks like this:

\score {
<<
\new Staff {
<<
\new Voice { \voiceOne \StaffOneVoiceOne }
\new Voice { \voiceTwo \StaffOneVoiceTwo }
>>
}
\new Staff {
<<
\new Voice { \voiceOne \StaffTwoVoiceOne }
\new Voice { \voiceTwo \StaffTwoVoiceTwo }
>>
}
...
>>
}

References _timeSignatureFound, CALyricsContext::associatedVoice(), CASheet::contextList(), curContext(), curSheet(), escapeWeirdChars(), CAContext::FiguredBassContext, CAContext::FunctionMarkContext, indent(), indentLess(), indentMore(), CAContext::LyricsContext, CAContext::name(), CAExport::out(), setCurContext(), spellNumbers(), CAContext::Staff, CAVoice::staff(), CAStaff::voiceList(), and voiceVariableName().

Referenced by exportSheetImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportSheetImpl()

void CALilyPondExport::exportSheetImpl ( CASheet sheet)
privatevirtual

◆ exportStaffVoices()

void CALilyPondExport::exportStaffVoices ( CAStaff staff)
private

Exports all the voices in the staff to Lilypond. Each voice in the staff is stored as a Lilypond variable:

StaffOneVoiceOne = \relative c { ... }

References curContextIndex(), curVoice(), exportVoiceImpl(), indent(), CAVoice::name(), CAExport::out(), setCurVoice(), CAStaff::voiceList(), and voiceVariableName().

Referenced by exportSheetImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exportVoiceImpl()

void CALilyPondExport::exportVoiceImpl ( CAVoice v)
privatevirtual

Exports the given voice music elements to LilyPond syntax.

See also
CALilypondImport
Todo:
If the time isn't the same, insert hidden rests to fill the needed time
Todo:
If the time isn't the same, insert hidden rests to fill the needed time
Todo:
If the time isn't the same, insert hidden rests to fill the needed time
Todo:
If the time isn't the same, insert hidden rests to fill the needed time

Reimplemented from CAExport.

References _curStreamTime, _lastNotePitch, _lastPlayableLength, _timeSignatureFound, _voltaBracketFinishAtBar, _voltaBracketFinishAtRepeat, CAMusElement::Barline, CABarline::barlineType(), barlineTypeToLilyPond(), CATimeSignature::beat(), CATimeSignature::beats(), CAClef::c1(), CAMusElement::Clef, CAClef::clefType(), clefTypeToLilyPond(), CAKeySignature::diatonicKey(), diatonicKeyGenderToLilyPond(), CADiatonicKey::diatonicPitch(), diatonicPitchToLilyPond(), doAnacrusisCheck(), exportMarksAfterElement(), exportMarksBeforeElement(), exportPlayable(), CAMusElement::FiguredBassMark, CAMusElement::FunctionMark, CADiatonicKey::gender(), indent(), indentLess(), indentMore(), CAMusElement::KeySignature, CAMusElement::Mark, CAMusElement::MidiNote, CAVoice::musElementList(), CAMusElement::Note, CAClef::offset(), CAExport::out(), CABarline::RepeatClose, CABarline::RepeatCloseOpen, CAMusElement::Rest, setCurVoice(), CABarline::Single, CAMusElement::Slur, CAMusElement::Syllable, CAMusElement::TimeSignature, CAMusElement::timeStart(), CAMusElement::Tuplet, CAMusElement::Undefined, CAPlayableLength::Undefined, and writeRelativeIntro().

Referenced by exportStaffVoices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ indent()

void CALilyPondExport::indent ( )
private

Output tabs according to _indentLevel.

References curIndentLevel(), and CAExport::out().

Referenced by exportLyricsContextBlock(), exportScoreBlock(), exportStaffVoices(), exportVoiceImpl(), and writeDocumentHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ indentLess()

void CALilyPondExport::indentLess ( )
inlineprivate

References _curIndentLevel.

Referenced by exportLyricsContextBlock(), exportScoreBlock(), exportVoiceImpl(), and writeDocumentHeader().

Here is the caller graph for this function:

◆ indentMore()

void CALilyPondExport::indentMore ( )
inlineprivate

References _curIndentLevel.

Referenced by exportLyricsContextBlock(), exportScoreBlock(), exportVoiceImpl(), and writeDocumentHeader().

Here is the caller graph for this function:

◆ markupString()

QString CALilyPondExport::markupString ( QString  in)
private

Encapsulates the given string into \markup {}.

References escapeWeirdChars().

Referenced by writeDocumentHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ playableLengthToLilyPond()

const QString CALilyPondExport::playableLengthToLilyPond ( CAPlayableLength  playableLength)
private

◆ relativePitchToString() [1/2]

const QString CALilyPondExport::relativePitchToString ( CADiatonicPitch  p,
CADiatonicPitch  prevPitch 
)
private

This function returns the relative note pitch in LilyPond syntax on the given Canorus pitch and previous note pitch.

eg. pitch=10, accs=1, prevPitch=5 => returns "f'"

See also
notePitchToLilyPond()

References diatonicPitchToLilyPond(), and CADiatonicPitch::noteName().

Here is the call graph for this function:

◆ relativePitchToString() [2/2]

const QString CALilyPondExport::relativePitchToString ( CANote note,
CADiatonicPitch  prevPitch 
)
inlineprivate

References CANote::diatonicPitch(), and relativePitchToString().

Referenced by exportPlayable(), relativePitchToString(), and writeRelativeIntro().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restTypeToLilyPond()

const QString CALilyPondExport::restTypeToLilyPond ( CARest::CARestType  type)
private

Converts the rest type to LilyPond syntax.

References CARest::Hidden, CARest::Normal, and CARest::Undefined.

Referenced by exportPlayable().

Here is the caller graph for this function:

◆ scanForRepeats()

void CALilyPondExport::scanForRepeats ( CAStaff staff)
private

Export document title, subtitle, composer, copyright etc.

References CAStaff::barlineRefs(), CABarline::barlineType(), CABarline::barlineTypeToString(), CAMusElement::markList(), CAExport::out(), CABarline::RepeatClose, CABarline::RepeatCloseOpen, CAMark::RepeatMark, CARepeatMark::repeatMarkTypeToString(), CABarline::RepeatOpen, and CARepeatMark::Volta.

Referenced by exportSheetImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setCurContext()

void CALilyPondExport::setCurContext ( CAContext context)
inlineprivate

References _curContext.

Referenced by exportScoreBlock().

Here is the caller graph for this function:

◆ setCurContextIndex()

void CALilyPondExport::setCurContextIndex ( int  c)
inlineprivate

References _curContextIndex.

Referenced by exportSheetImpl().

Here is the caller graph for this function:

◆ setCurDocument()

void CALilyPondExport::setCurDocument ( CADocument document)
inlineprivate

References _curDocument.

Referenced by CALilyPondExport(), and exportSheetImpl().

Here is the caller graph for this function:

◆ setCurSheet()

void CALilyPondExport::setCurSheet ( CASheet sheet)
inlineprivate

References _curSheet.

Referenced by exportSheetImpl().

Here is the caller graph for this function:

◆ setCurVoice()

void CALilyPondExport::setCurVoice ( CAVoice voice)
inlineprivate

References _curVoice.

Referenced by exportStaffVoices(), and exportVoiceImpl().

Here is the caller graph for this function:

◆ setIndentLevel()

void CALilyPondExport::setIndentLevel ( int  level)
inlineprivate

References _curIndentLevel.

Referenced by CALilyPondExport().

Here is the caller graph for this function:

◆ spellNumbers()

void CALilyPondExport::spellNumbers ( QString &  s)
private

Spell out numbers in a QString: "Staff1Voice2" -> "StaffOneVoiceTwo" This is necessary because Lilypond variable names can only contain letters.

Referenced by exportLyricsContextBlock(), exportScoreBlock(), and voiceVariableName().

Here is the caller graph for this function:

◆ syllableToLilyPond()

const QString CALilyPondExport::syllableToLilyPond ( CASyllable s)
private

References CASyllable::hyphenStart(), CASyllable::melismaStart(), and CASyllable::text().

Referenced by exportLyricsContextImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ voiceVariableName()

void CALilyPondExport::voiceVariableName ( QString &  name,
int  staffNum,
int  voiceNum 
)
private

Modify name to contain a string "StaffXVoiceY" where X and Y are spelled-out versions of staffNum and voiceNum, respectively. This is for generating names of Lilypond variables from Canorus staff and voices indices, since Lilypond variable names must contain only alphabetical characters.

Example: voiceVariableName( name, 1, 2 ); --> name is "StaffOneVoiceTwo"

References spellNumbers().

Referenced by exportScoreBlock(), and exportStaffVoices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ voltaFunction()

void CALilyPondExport::voltaFunction ( void  )
private

References _voltaFunctionWritten, and CAExport::out().

Here is the call graph for this function:

◆ writeDocumentHeader()

void CALilyPondExport::writeDocumentHeader ( )
private

Export document title, subtitle, composer, copyright etc.

References curDocument(), indent(), indentLess(), indentMore(), markupString(), and CAExport::out().

Referenced by exportSheetImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeRelativeIntro()

CADiatonicPitch CALilyPondExport::writeRelativeIntro ( )
private

Writes the voice's \relative note intro and returns the note pitch for the current voice. This function is usually used for writing the beginning of the voice.

Warning
This function doesn't write "{" paranthesis to mark the start of the voice!

References curVoice(), CAVoice::musElementList(), CAMusElement::Note, CADiatonicPitch::noteName(), CAExport::out(), relativePitchToString(), and CADiatonicPitch::setNoteName().

Referenced by exportVoiceImpl().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _curContext

CAContext* CALilyPondExport::_curContext
private

Referenced by curContext(), and setCurContext().

◆ _curContextIndex

int CALilyPondExport::_curContextIndex
private

◆ _curDocument

CADocument* CALilyPondExport::_curDocument
private

Referenced by curDocument(), and setCurDocument().

◆ _curIndentLevel

int CALilyPondExport::_curIndentLevel
private

◆ _curSheet

CASheet* CALilyPondExport::_curSheet
private

Referenced by curSheet(), and setCurSheet().

◆ _curStreamTime

int CALilyPondExport::_curStreamTime
private

Referenced by exportPlayable(), and exportVoiceImpl().

◆ _curVoice

CAVoice* CALilyPondExport::_curVoice
private

Referenced by curVoice(), and setCurVoice().

◆ _lastNotePitch

CADiatonicPitch CALilyPondExport::_lastNotePitch
private

Referenced by exportPlayable(), and exportVoiceImpl().

◆ _lastPlayableLength

CAPlayableLength CALilyPondExport::_lastPlayableLength
private

Referenced by exportPlayable(), and exportVoiceImpl().

◆ _out

QTextStream* CALilyPondExport::_out
private

◆ _regExpVoltaBar

const QString CALilyPondExport::_regExpVoltaBar = QString("voltaBar (.*)")
staticprivate

◆ _regExpVoltaRepeat

const QString CALilyPondExport::_regExpVoltaRepeat = QString("voltaRepeat (.*)")
staticprivate

◆ _timeSignatureFound

bool CALilyPondExport::_timeSignatureFound
private

◆ _voltaBracketFinishAtBar

bool CALilyPondExport::_voltaBracketFinishAtBar
private

◆ _voltaBracketFinishAtRepeat

bool CALilyPondExport::_voltaBracketFinishAtRepeat
private

◆ _voltaFunctionWritten

bool CALilyPondExport::_voltaFunctionWritten
private

Referenced by CALilyPondExport(), and voltaFunction().


The documentation for this class was generated from the following files: