Create note tags.


Functions

unsigned MKNoteTag (void)
 Create note tags. MKNoteTag() returns a note tag value that's guaranteed to be unique across your entire application.
unsigned MKNoteTags (unsigned n)
 Create note tags. MKNoteTags() returns the first of a block of n unique, contiguous note tags.

Function Documentation

unsigned MKNoteTag ( void   ) 

Create note tags. MKNoteTag() returns a note tag value that's guaranteed to be unique across your entire application.

Note tags are positive integers used to identify a series of MKNote objects as part of the same musical event, gesture, or phrase. A common use of note tags is to create a noteOn/noteOff pair by giving the two MKNotes the same note tag value.

You should never create note tag values except through these functions.

Returns:
Returns MAXINT (the maximum note tag value) if a sufficient number of note tags aren't available, an unlikely occurrence.

unsigned MKNoteTags ( unsigned  n  ) 

Create note tags. MKNoteTags() returns the first of a block of n unique, contiguous note tags.

Note tags are positive integers used to identify a series of MKNote objects as part of the same musical event, gesture, or phrase. A common use of note tags is to create a noteOn/noteOff pair by giving the two MKNotes the same note tag value.

You should never create note tag values except through these functions.

Parameters:
n is an unsigned.
Returns:
Returns MAXINT (the maximum note tag value) if a sufficient number of note tags aren't available, an unlikely occurrence.
See also:
MKNoteTag().


Generated on Sat Dec 5 17:01:14 2009 for MusicKit by  doxygen 1.5.6