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

Type 0 MIDI files are parsed incorrectly #1

Open
ScroogeD2 opened this issue Feb 10, 2020 · 0 comments
Open

Type 0 MIDI files are parsed incorrectly #1

ScroogeD2 opened this issue Feb 10, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ScroogeD2
Copy link
Owner

ScroogeD2 commented Feb 10, 2020

ToneJs/Midi assigns each track a channel while parsing, instead of giving each note a channel. Due to this, Type 0 MIDI files (where all notes are in a single track) will either sound wrong because percussion (channel 9) hasn't been removed, or will not be converted at all because the only track in the file gets ignored after being recognized as a percussion track.

As a workaround, the MIDI file can be loaded up in e.g. MuseScore and reexported as MIDI, which should separate the file into multiple tracks.

Tonejs/Midi#94

@ScroogeD2 ScroogeD2 added the bug Something isn't working label Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant