Skip to content

MidiUtil.bpmToMpqn() Method Error #22

@arobot

Description

@arobot

resource code is:

    public static int bpmToMpqn(float bpm) {
        return (int)(bpm * 6.0E7F);
    }

I think it should be

    public static int bpmToMpqn(float bpm) {
        return (int)( 6.0E7F / bpm);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions