Image | Audio | Video |
---|---|---|
X |
Returns the clock speed of a recorded MIDI audio, in ticks per quarter note.
Include file
dmbaudio.h
Syntax
>>-TicksPerQNote--(--handle--)---------------------------------><
Parameters (data type)
Return values (data type)
Number of clock ticks per quarter note of MIDI audio (SMALLINT). Returns a null value for audio in other formats.
Examples
Get the file names of all MIDI audios in the sound column of the employee table that were recorded at speeds higher than 200 clock ticks per quarter note:
EXEC SQL BEGIN DECLARE SECTION; char hvAud_fname[251]; EXEC SQL END DECLARE SECTION; EXEC SQL SELECT FILENAME(SOUND) INTO :hvAud_fname FROM EMPLOYEE WHERE FORMAT(SOUND)='MIDI' AND TICKSPERQNOTE(SOUND)>200;