Minim
core
ugens
analysis
 
Name setDurationFactor
Examples
None available
Description The 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.

Syntax
setDurationFactor(durationFactor);
Parameters
durationFactor   float: the duration factor
Returns None
Usage Web & Application
Related getDurationFactor ( )