CountVoiceNotes

Syntax

int CountVoiceNotes(nVoice)

This function retrieves a count of the number of notes in the specified queue. Only those queue entries that result from calls to the SetVoiceNote function are counted.

Parameter Type/Description  

nVoice int Specifies the voice queue to be counted. The first voice queue is numbered 1.  

Return Value

The return value specifies the number of notes in the given queue.