Dunique:
Filter:
Classes | UGens > Demand

Dunique : UGen : AbstractFunction : Object

Return the same unique series of values for several demand streams
Source: Demand.sc

Description

A demand UGen represents a single series of states. When used by more than one demand stream, it will output only every nth value for each. Wrapping a demand UGen in a Dunique will guarantee that that all streams receive the same value.

Class Methods

Dunique.new(source, maxBufferSize: 1024, protected: true)

Return a new instance.

Arguments:

source

The demand ugen that is to be reused in several others.

maxBufferSize

Maximum size for the value buffer when protected is false. Values will loop after maxBufferSize has been exceeded.

protected

There are limitations to this ugen: If one copy is called much faster than the slowest, the buffer can overrun. Trying to protect from such a buffer overrun, one has to rely on counting up to infinity. Using 32bit float, only 16777216 events can be correctly played back. When protected is true, these two limitations are caught by ending the series (default: true). Set this parameter to false (or zero) in order to ignore this (e.g. by adjusting buffer size appropriately).

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.asUGenInput

.protected