[Contents] · [Home] · [Mail]

SALIERI Language - time

time: sequence -> real

Call syntax:

time returns the absolute duration of sequence seq in seconds. This information is computed based on the relative durations of the notes in seq combined with the tempo information. If not explicitly specified otherwise, the default tempo for all sequences and segments is 100 beats per minute.

Applied to the empty sequence, time returns 0.0.

> time([c1/4 e g/2])
Result= 2.4
> time([ M=120 c1/4 e g/2])
Result= 2.0
> time([ M=90 c1/4 e M=60 g/2])
Result= 3.33333333
> time([ ])
Result= 0.0

See also: duration, accel, System Settings.

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