boxtotri Reference

A variable shape window multiplier, from boxcar to triangle.

boxtotri

Examples

Arguments

v [number]

Optional

A value between 0.0 and 1.0 sets the shape of the window between the boxcar and the triangle window functions. A value of 1.0 sets a triangle window.

Inlets

phase [number]

A float value sets the phase of the window.

v [number]

A value between 0.0 and 1.0 sets the shape of the window between the boxcar and the triangle window functions. A value of 1.0 sets a triangle window.

Outlets

Out [number]

The float value of the window at the current phase.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

hot [bool] (default: false)

Trigger computation on all inlets.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

phase [number]

A float value sets the phase of the window.

reset [bang] (default: 0)

Banging this attribute will reset the object to its default state.

v [number]

A value between 0.0 and 1.0 sets the shape of the window between the boxcar and the triangle window functions. A value of 1.0 sets a triangle window.

See Also

Name Description
triangle~ A triangle/ramp wavetable oscillator with a phase input.
cycle~ Sinusoidal oscillator
phasor~ Generate sawtooth signals
cycle~ A periodic waveform oscillator.
phasor~ Generate sawtooth signals