OpenNoteBlockStudio
OpenNoteBlockStudio copied to clipboard
BPM changes when project loaded
Describe the bug When you set BPM to 110 for example, It works fine, but when you save your project and load it again, It automatically changes into 109.95 bpm.
(This problem can be temporarily solved by setting BPM to 110 every single time when you open the project)
To Reproduce Steps to reproduce the behavior:
- Go to 'Settings'
- Click on 'Preference'
- Click on 'Playback'
- Click on 'Beats per minute (BPM)'
- Click on 'OK'
- Set BPM to '110'
- Save The Project.
- Load it again.
- See How BPM Is Changed Into '109.95'
Expected behavior It should be exactly same BPM when loaded.
Thank your for reporting the issue!
This is caused by the tempo value being stored in ticks per second (t/s) in .nbs files. One tick per second equals 3.75 BPM, so only BPMs that are multiples of that value can be stored and loaded properly. This is one of the issues we plan to address in version 6 of the NBS format.