I want create midi files programmatically (for use with sequencers). There are quite a number of ways of doing this and I could use advice on which way to go. I have experience with programming but I'm new to using midi.
One possibility is to use a programming language api, e.g.
- Java Sound (i.e. javax.sound.midi)
- Python: midiutil, Mido
There are also 'platforms' that support creating midi files, e.g.
- csound
- supercollider
There are probably other options that I haven't stumbled across yet.
I'd like an approach that gives me quite a bit of control. E.g. I want to write code to generate a walking bass line from chords.
I prefer to do my programming under linux but using OSX is also possible (I don't currently have a Windows system, so I'd rather not use Windows specific software).
Thanks
This depends on what programming languages you're comfortable with.
"Control" is rather vague. What exactly do you expect the platform/library to do for you?
Hello Barnet,
Most sequencers (I believe) will use their own format of data file, although they may well be able also to load midi files (which they convert to their own format)) and when they save the data they will have an option to save the data as Std Midi. If you plan to do a lot of work of with with a specific Sequencer, you might prefer to look at the file format used by that system as each time you convert beween data format data might be lost.
Geoff