LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
8.14k stars 1.01k forks source link

Inaccurate Time Units Display #4623

Closed Nesdood007 closed 6 months ago

Nesdood007 commented 6 years ago

Hello everyone. I am using the LMMS 1.2.0rc7 binary from https://lmms.io/download/#windows on x64 Windows 10. I have discovered that the Measure Counter (Bar Counter) and Beat Counter in the Time Units Display is inaccurate. It looks fine when playing a song at first, however it eventually goes out of sync with the actual measure or bar being played. This is especially bad when the tempo is changed. I don't recall this being an issue with any previous stable version of LMMS. I think what is happening here is that the current bar is being calculated by using the current time (in Minutes, Seconds) in the song and the current Tempo. There must be some inaccuracy with that calculation that causes the Bar measurement to slightly shift out of sync with the music. I have linked in two examples of this problem below. As the songs progress, check the Bar measurement and somewhere toward the middle of the song, it should become obvious that there is some synchronization issue.

Example 1 Example 2

PhysSong commented 6 years ago

I believe it's a duplicate of #2112.

softrabbit commented 6 years ago

Looks like it's fixed in master. Good candidate for backporting?

zonkmachine commented 6 months ago

This appears to have been fixed as a part of issue #2112. Closing.