Minim
core | ugens | analysis
 

AudioOutput

setDurationFactor

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.

Signature

void setDurationFactor(float durationFactor)

Parameters

durationFactor — float: the duration factor

Returns

None

Related

getDurationFactor ( )

Example

None available

Usage

Web & Application