[Contents] · [Home] · [Mail]

SALIERI Language - getTempo

getTempo: sequence x integer -> integer

Call syntax:
getTempo(seq, int)

getTempo returns the tempo of sequence seq at the start of the note at index position int (positions are counted 1,2,...).

The returned tempo value is an integer between 1 and 255 and indicates the tempo in metronome units (quartes per minute).

Error conditions:
For illegal index positions (i.e., positions < 1 or > length(seq), getIntens returns -1; no error condition occurs.

This function is based on a music represention model which will soon be replaced by the more powerful GUIDO Notation Format; very likely, it will be not supported in this form in future versions of SALIERI.

See also: accel, getInstr, getIntens.

[Contents] · [Home] · [Mail]
© sic!systems, page frame designed by hh; this page has been automatically generated from the SALIERI Documentation Database.