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

CARest::CARest ( CARestType  type,
CAPlayableLength  length,
CAVoice voice,
int  timeStart,
int  timeLength = -1 
)

Creates a new rest with given type, playable length length in voice voice with starting time in the score timeStart and number of dots dotted. timeLength is calculated automatically from the playable length.

See also:
CARestType, CAPlayableLength, CAPlayable, CAVoice

Definition at line 25 of file rest.cpp.

References CAMusElement::_musElementType, and _restType.

Referenced by composeRests().

 : CAPlayable( length, voice, timeStart, timeLength ) {
      _musElementType = CAMusElement::Rest;
      _restType = type;
}


Generated by  Doxygen 1.6.0   Back to index