object
Object associated with this media
control interface command. The object can be one of the following:
- Device type
- Device name
- Filename
- Alias
CURRENT
TRACK
Returns the current track number.
DIVISION
TYPE
Returns the file division type. This can
be one of: PPQN, SMPTE 24 frame, SMPTE 25 frame, SMPTE 30 frame, or SMPTE
30 drop frame. Use this information to determine the format of the MIDI
file, and the meaning of tempo and position information.
LENGTH
Returns the length of a sequence in the current
time format. For ppqn files, this will be song pointer units. However,
for SMPTE files, this will be in colon form (HOURS:MINUTES:SECONDS:FRAMES).
LENGTH TRACK number
Returns
the length of a track in the current time format. For ppqn files, this
will be song pointer units. However, for SMPTE files, this will be in colon
form (HOURS:MINUTES:SECONDS:FRAMES).
MASTER
Returns
midi, none, or smpte, depending on the type of synchronization
set.
MEDIA PRESENT
The
sequencer returns TRUE.
MODE
Returns
the current mode of the device: not ready, stopped, playing,
seeking, recording, paused, or other.
NUMBER
OF TRACKS
Returns the number of tracks.
OFFSET
Returns the offset of a SMPTE-based file. The
offset is the beginning time of a SMPTE-based sequence. The MIDI sequencer
driver returns the time in colon form (HOURS:MINUTES:SECONDS:FRAMES).
PORT
Returns the MIDI port number assigned to the
sequence. Currently this function is not supported by the IBM sequencer.
POSITION
Returns
the current position of a sequence in the current time format. For ppqn
files, this will be song pointer units. However, for SMPTE files, this
will be in colon form (HOURS:MINUTES:SECONDS:FRAMES). Currently this function
is not supported by the IBM sequencer.
POSITION
TRACK number
Returns the current position of
the track specified by number in the current time format. For ppqn
files, this will be song pointer units. However, for SMPTE files, this will
be in colon form (HOURS:MINUTES:SECONDS:FRAMES).
READY
Returns TRUE if the device is ready.
SLAVE
Returns file, midi, none, or smpte
depending on the type of synchronization set.
START
POSITION
Returns the starting position of the
media or device element.
TEMPO
Returns
the current tempo of a sequence in the current time format. For files with
ppqn format, the tempo is in beats-per-minute. For files with SMPTE format,
the tempo is in frames-per-second.
TIME FORMAT
WAIT
The command is executed synchronously. The
function waits until the requested action is complete before returning to
the application. The WAIT keyword must be specified in order to receive
return string information.
NOTIFY
The
command is executed asynchronously, allowing control to be returned immediately
to the application. When the requested action is complete, an MM_MCINOTIFY
message is sent to the application window procedure.
[Back]
[Next]