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

Conversion to real MIDI format? #24

Open
deeplook opened this issue Jan 4, 2025 · 7 comments
Open

Conversion to real MIDI format? #24

deeplook opened this issue Jan 4, 2025 · 7 comments

Comments

@deeplook
Copy link

deeplook commented Jan 4, 2025

Thank you for these nice packages! Do you have any recommendation to convert between this text-based format and the real binary MIDI (1.0) format?

@gbevin
Copy link
Owner

gbevin commented Jan 4, 2025

My other tool SendMIDI does exactly that

@deeplook
Copy link
Author

deeplook commented Jan 4, 2025

Thanks! Continuing in gbevin/SendMIDI#55...

@gbevin
Copy link
Owner

gbevin commented Jan 4, 2025

The receivemidi dump command might be what you're looking for then

@deeplook
Copy link
Author

deeplook commented Jan 4, 2025

I see. Without an example snippet for dump I've tried receivemidi dev "CASIO USB-MIDI" ts dump > example.mid, but after a ctrl-c, the resulting file isn't recognized as a binary MIDI file with file example.mid but as some ASCII file, and other MIDI tools won't load it either.

@gbevin
Copy link
Owner

gbevin commented Jan 4, 2025

You likely don't want to add the timestamps with ts, but yeah dumping like that would not be a standard midi file, it would be the binary midi stream. The midi file format is not identical.

@deeplook
Copy link
Author

deeplook commented Jan 4, 2025

Agree... so there is no way to achieve this right now?

@gbevin
Copy link
Owner

gbevin commented Jan 4, 2025

I don't think so

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