[Contents] · [Home] · [Mail]

SALIERI Language - getIntens

getIntens: sequence x integer -> integer

Call syntax:
getIntens(seq, int)

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

The intensity values are integers between 0 and 127; they refer to the velocity values of the MIDI Standard; playback may depend on the sound equipment being used and its installation.

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: cresc, getTempo, getInstr.

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