cresc: segment x integer x integer -> segment
cresc: sequence x integer x integer -> sequence
cresc(segm, int_1, int_2)
cresc returns the segment which is obtained from segm by combining it with a linear intensity profile (crescendo or diminuendo) from int_1 to int_2.
The values of the intensity parameters int_1 and int_2 have to be 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.
This function can also be applied to sequences instead of segments.
Illegal values for int_1 or int_2 may cause arbitrary results; however, no error condition occurs in these cases.
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: instr, accel, getIntens. /SEEALSO>