Image | Audio | Video |
---|---|---|
X |
Returns the number of a specified named track in a MIDI audio.
Include file
dmbaudio.h
Syntax
>>-FindTrackName--(--handle--,--trackname--)-------------------><
Parameters (data type)
Return values (data type)
Number of the named track; of the specified instrument name (SMALLINT). A value of -1 is returned if a track of the specified name is not found. A null value is returned for audio in other formats.
Examples
Determine if there is a track named WELCOME in Robert Smith's MIDI audio recording. The audio recording is stored in the sound column of the employee table:
EXEC SQL BEGIN DECLARE SECTION; short hvTrack; EXEC SQL END DECLARE SECTION; EXEC SQL SELECT FINDTRACKNAME(SOUND, 'WELCOME') INTO :hvTrack FROM EMPLOYEE WHERE NAME = 'Robert Smith';