diff --git a/Sources/VLModel.cpp b/Sources/VLModel.cpp index 4ddbbfb..33b1c5e 100644 --- a/Sources/VLModel.cpp +++ b/Sources/VLModel.cpp @@ -547,6 +547,7 @@ VLSong::VLSong(bool initialize) void VLSong::AddMeasure() { VLFraction dur = fProperties.front().fTime; + dur.Normalize(); VLLyricsNote rest(dur); VLChord rchord(dur); VLMeasure meas; diff --git a/Sources/VLModel.h b/Sources/VLModel.h index 31fd2bf..bcefa03 100644 --- a/Sources/VLModel.h +++ b/Sources/VLModel.h @@ -33,7 +33,7 @@ struct VLFraction : VLFract { VLFraction & operator*=(VLFraction other); VLFraction & operator/=(VLFraction other); VLFraction & operator%=(VLFraction other); -private: + VLFraction & Normalize(); };