Logo Search packages:      
Sourcecode: rosegarden version File versions  Download package

timeT Rosegarden::TimeSignature::getBeatDuration (  )  const

Return the duration of the beat of the time signature. For example, the beat of 4/4 time is the crotchet, the same as its unit, but that of 6/8 is the dotted crotchet (there are only two beats in a 6/8 bar). The beat therefore depends on whether the signature indicates dotted or undotted time.

Definition at line 1967 of file NotationTypes.cpp.

Referenced by Rosegarden::TempoView::applyLayout(), getBeatsPerBar(), getDurationListForBar(), Rosegarden::CreateTempoMapFromSegmentCommand::initialise(), and Rosegarden::RosegardenGUIApp::slotDisplayBarTime().

    return m_beatDuration;

Generated by  Doxygen 1.6.0   Back to index