ReceiveMIDI icon indicating copy to clipboard operation
ReceiveMIDI copied to clipboard

Conversion to real MIDI format?

Open deeplook opened this issue 1 year ago • 8 comments

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?

deeplook avatar Jan 04 '25 11:01 deeplook

My other tool SendMIDI does exactly that

gbevin avatar Jan 04 '25 13:01 gbevin

Thanks! Continuing in https://github.com/gbevin/SendMIDI/issues/55...

deeplook avatar Jan 04 '25 17:01 deeplook

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

gbevin avatar Jan 04 '25 18:01 gbevin

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.

deeplook avatar Jan 04 '25 18:01 deeplook

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.

gbevin avatar Jan 04 '25 18:01 gbevin

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

deeplook avatar Jan 04 '25 18:01 deeplook

I don't think so

gbevin avatar Jan 04 '25 18:01 gbevin