First, you need to enter (or copy and paste in) meter-structure(s) for your piece.
Consult this
tutorial
to learn how.
(#-of-measures numerator denominator)
Next, you enter (or copy and paste in) any tempo changes (including the first tempo "change").
Consult this
tutorial
to learn how.
(measure[0-?] beat[0-?] division[0-1] MM(Metronome-Marking) to-the-what[1/4, 1/8, etc.])
Remember measures and beats begin at 0, not 1.
Now, enter (or copy and paste in) the score to your piece.
Consult this
tutorial
to learn how.
Read about the
articulation
functionality, to add expression and nuance to MIDI files.
p-struct:
(p-struct (scale-structure) (optional: what-is-8-0) (optional: octave) )
or note:
(midi-channel msr beat div note end-msr end-beat end-div octave pc velocity [optional: ji-modifier])
or program change:
(midi-channel measure beat division prog prog-number)
Ranges:
midi-channel 1-16 (10 is percussion for General MIDI)
measure begins at 0
beat begins at 0
octave 8 is middle C.
pc begins at 0
velocity 1-128
program/instrument # 1-128