Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the easiest way to put a midi file in reverse order (first note last, last note first)? #244

Open
hatgit opened this issue Jan 17, 2019 · 1 comment

Comments

@hatgit
Copy link

hatgit commented Jan 17, 2019

Trying to find an easy way to put a midi file in reverse order (first note last, last note first)?

@hmoffatt
Copy link

Complicated, because you need to find the note off event for each note on event and then reorder the pairs. Also, what timing between notes do you want when this is reversed?

I suggest you search the web for algorithms. This has nothing to do with MIDI.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants