The MIDI sequencer supports the following set of commands. MIDI sequencers also support notify and wait as optional flags. You can add either or both of these flags to any MIDI sequencer command.
capability device_name |
{can eject | can play | can record | can save | compound device | device type | has audio | has video | uses files} |
close device_name, |
|
info device_name |
[product] |
open device_name |
[alias device_alias] [shareable] [type device_type] |
pause device_name, |
|
play device_name |
[from position] [to position] |
record device_name |
[from position] [to position] [insert | overwrite] |
save device_name |
[file_name] |
seek device_name |
[to position | to start | to end] |
set device_name |
[audio all off | audio all on | audio left off | audio left on | audio right off | audio right on | video off | video on] [master MIDI | master none | master SMPTE] [offset hmsf_value] [port port_number | port mapper | port none] [slave file | slave MIDI | slave none | slave SMPTE] [tempo tempo_value] [time format milliseconds | time format ms | time format smpte 24 | time format smpte 25 | time format smpte 30 | time format smpte 30 drop | time format song pointer] |
status device_name |
{current track | division type | length | length track track_number | master | media present | mode | number of tracks | offset | port | position | position track track_number | ready | slave | start position | tempo | time format} |
stop device_name, |
|