DescriptionThe duration factor of an AudioOutput defines how durations passed to playNote calls are scaled before being queued. If your duration factor is 0.5 and you queue a note with a duration of 2, the actual duration will become 1. This might be useful if you want to queue a string of notes first with long durations and then very short durations.
By default the duration factor is 1.
void setDurationFactor(float durationFactor)
ParametersdurationFactor — float: the duration factor
RelatedgetDurationFactor ( )
UsageWeb & Application