mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Simplify default durations
This commit is contained in:
parent
7d8a579907
commit
103204fce4
|
@ -547,6 +547,7 @@ VLSong::VLSong(bool initialize)
|
||||||
void VLSong::AddMeasure()
|
void VLSong::AddMeasure()
|
||||||
{
|
{
|
||||||
VLFraction dur = fProperties.front().fTime;
|
VLFraction dur = fProperties.front().fTime;
|
||||||
|
dur.Normalize();
|
||||||
VLLyricsNote rest(dur);
|
VLLyricsNote rest(dur);
|
||||||
VLChord rchord(dur);
|
VLChord rchord(dur);
|
||||||
VLMeasure meas;
|
VLMeasure meas;
|
||||||
|
|
|
@ -33,7 +33,7 @@ struct VLFraction : VLFract {
|
||||||
VLFraction & operator*=(VLFraction other);
|
VLFraction & operator*=(VLFraction other);
|
||||||
VLFraction & operator/=(VLFraction other);
|
VLFraction & operator/=(VLFraction other);
|
||||||
VLFraction & operator%=(VLFraction other);
|
VLFraction & operator%=(VLFraction other);
|
||||||
private:
|
|
||||||
VLFraction & Normalize();
|
VLFraction & Normalize();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user