-ver prints version number and then exits
-trksn1,n2,etc
Selects the tracks to be copied where the track numbers start from 1. If more than one track is
specified, they should be separated by commas. You should always copy track 1 since by convention
it contains information pertinent to all the other tracks. By default all tracks are copied
unless you specify particular tracks using this run time parameter.
-xtrksn1,n2,etc
Lists the tracks to exclude from copying. All other tracks are copied. This option does not work
in combination with -trks.
-xchnsn1,n2,etc
Lists the channels to exclude from copying. All other channels are copied. This option does not
work in combination with -chns.
-chnsn
Like above, it specifies the MIDI channels to be copied. By default all channels are copied.
Channel numbers also start from 1.
-fromn
The program will copy all MIDI commands starting from midi pulse number n. By default it will
start from time zero or the beginning of the MIDI file.
-ton Stops copying all events after midi pulse number n. By default the file is copied to the end.
-frombeatn
The program will copy all MIDI commands starting from quarter beat number n. By default it will
start from time zero or the beginning of the MIDI file.
-tobeatn
Stops copying all events after quarter beat number n. By default the file is copied to the end.
-fromsecn
The program will copy all MIDI commands starting from time n in seconds.
-tosecn
Stops copying all events after time n in seconds. These two options (-fromsec and -tosec) do not
work accurately if the MIDI file has more than one tempo command. Only the first one is used for
converting seconds into MIDI pulse units. It is therefore preferable to use the -from and -to
options.
-replacetrk,loc,val
This option should be used alone. Midicopy will copy the entire file verbatim except it will
replace a byte by val, where the byte is located in the specified track (trk) and specified
position (loc). Commonly this function is used for changing a particular MIDI program number
(instrument) associated with a channel. You need to know the byte count in the track of that
parameter in order to use this function,
-tempoquarternotes/minute
All tempo indications in the midi file will be replaced with the above value.
-speedfactor
All tempo indications in the midi file will be multiplied with this factor. Values greater than
1.0 will speed up the music while lower values slow the music. The factor is a floating point
value.
-drumfocusdrum-codeexcluded_drum_velocities
The selected drum line (specified by the drum-code pitch value) is highlighted by reducing the
loudness of all other drum lines to the excluded_drum_velocities value. The drum-code value must
be in the range of 35 to 81 inclusive.
-mutenodrum[level]
All channels which are not 9 (drum channel) are attenuated to the given level. If level is not
specified, it is assumed to be zero.
-setdrumloudnessnm
where n is between 35 to 81 inclusive and m is the loudness between 0 and 127. The loudness of all
instances of drum n are changed to m.
-focusontrackn1,n2,...
The velocities of notes in all tracks except n are attenuated.
-focusonchanneln1,n2,...
The velocities of notes in all channels except n are attenuated.
-attenuationn
Specifies the amount the note velocities are reduced by either -focusontracks or -focusonchannels.
Current default is 70.
-nobends
Suppresses all channel pitchbend commands.
-indrumsn1,n2,...
Only allow percussions with codes n1,n2,...
-xdrumsn1,n2,...
Exclude the percussions with codes n1,n2,...
-onlydrums
Only copy the percussion channel.
-nodrums
Copy all channels except the percussion channel.
-transposen(semitones)
Transpose pitch for all channels except the percussion by n semitones.