Skip to content

Round input MIDIs to 48 (or 24?) ticks per beat #4

Description

@mtolly

Probably the input MIDI tracks should be rounded to 48 ticks per beat, because this is the natural resolution of the Red/Blue engine. A note/rest length is (number of ticks) * (notetype speed) / 48 of a beat. Input MIDIs are usually stored at a resolution of 480, 960, or something similar, so this would allow events in them to be one tick off with no problems.

This should be done with discretize from the event-list library to avoid compounding rounding errors.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions