I have a personal project in the works which generates music based on user input and outputs the music in the form of MIDI files. The project is written in Python 3 and uses midiutil to create the output.
I only use MIDI as a way of previewing the music, but the goal is to create something that is compatible with Renoise for tracking and arranging.
I noticed that Renoise does import MIDI files pretty nicely, but none of the files I import have correct LPB or pattern length values. I’m assuming there is no way to control these within the MIDI file since they aren’t a part of MIDI, but if I’m wrong please correct me.
That said, I want to somehow make my program compatible with Renosie. The only two ways I can see this happening are (1) I create an intermediate format and write a LUA tool to import the intermediate format, or (2) find some API which can be used to create the XRNS files pragmatically. I can’t see myself writing directly to XRNS since the format seems very complicated and there’s no spec available.
It is looking like I’ll have to choose the former but I don’t want to since I’m not interested in learn lua, plus it’s a great deal of extra steps in the first place. Before drawing this conclusion I was hoping maybe someone here who knows better can confirm my reasoning? Is there no way to create XRNS files pragmatically, or to get MIDI and Renoise to work nicely with each other?