performer icon indicating copy to clipboard operation
performer copied to clipboard

MIDI import tool?

Open dComposer opened this issue 5 years ago • 11 comments

Not an issue, but would you have any interest in writing a helper MIDI import tool that converts MIDI files into projects you can save to the SD card? I only ask because I have tons of drum MIDIs I’d love to play with on the performer but it would be annoying to manually key them in. I tried peeking into a project to see if I could figure out the code and ended up corrupting the project I was messing with 😆

dComposer avatar Nov 10 '19 23:11 dComposer

I have previously thought about a converter utility to convert projects to json and back. This would make it fairly straight forward to do these kinds of things.

westlicht avatar Nov 11 '19 12:11 westlicht

@westlicht is there any existing documentation on what you think the specification of this JSON format would look like? Wouldn't mind taking a shot at a conversion utility potentially

patrickod avatar Nov 11 '19 21:11 patrickod

@patrickod it would basically just be a representation of the model class hierarchy starting with the Project class as a root. I would first write a JSON schema probably. Are you interested in working on this or did you refer to the utility that would take MIDI and output a JSON file?

westlicht avatar Nov 11 '19 22:11 westlicht

I was planning to make a simple python script to convert the midi once I got my hands on that json file. Of course I’ll share whatever I come up with!

dComposer avatar Nov 11 '19 22:11 dComposer

Actually I think making a python library will make more sense as i already have bindings for much of the data model. But its some work that i currently dont have time for.

westlicht avatar Nov 20 '19 13:11 westlicht

+1 for MIDI import!

I'm happy to join or support developing that converter if it's Python based.

dcbb avatar Jan 27 '20 09:01 dcbb

+1 for MIDI-to-Project converter/script.

toneburst avatar Feb 02 '20 20:02 toneburst

I just thought of something that would be really cool -- what if I could store MIDI files on the SD card and load them straight into a project through the UI (instead of having to convert them to the performer project format with a script on my computer first)? That would be incredibly handy with a DAW to hardware workflow!

dComposer avatar May 07 '20 19:05 dComposer

I support any of this sort of thing. Presently, I use my Disting MK4 for playing midi files, but it is not the Performer. Happy to throw a gift card at anyone taking it up. All that wonderful performer real-estate just waiting for my midi files. I think MIDI-to-Project converter/script would be most useful, if it would result in 1-8 midi files being incorporated for 1-8 gates and CVs outputted.

jasonnolan avatar Aug 07 '20 19:08 jasonnolan

+1 for a midi to project convertor +1000 for a midi compatible module than allows to load midi file staight form the sd card without converting it !!!

Materia-Oscura avatar Aug 29 '20 14:08 Materia-Oscura

This is the only thing I need more from my performer. There are some available ones, maybe they can be of use ?

https://tonejs.github.io/Midi/ https://github.com/Tonejs/Midi

Thanks for an amazing sequencer !

polymer81 avatar Jul 28 '21 08:07 polymer81