Skip to content

BPM changes when project loaded #306

Open

Description

@Inwoo1432

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:

  1. Go to 'Settings'
  2. Click on 'Preference'
  3. Click on 'Playback'
  4. Click on 'Beats per minute (BPM)'
  5. Click on 'OK'
  6. Set BPM to '110'
  7. Save The Project.
  8. Load it again.
  9. See How BPM Is Changed Into '109.95'

Expected behavior
It should be exactly same BPM when loaded.

Activity

  1. Bentroen commented on Jan 26, 2022

    @Bentroen
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: NBS format changeSuggestions or issues that require changes to the NBS format

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions