PfadeIn:
Filter:
Classes | Streams-Patterns-Events > Patterns > Filter

PfadeIn : FilterPattern : Pattern : AbstractFunction : Object

Fade an event pattern in
Source: Pxfade.sc
Subclasses: PfadeOut

Description

Fade an event pattern in by scaling its amplitude over a period of time.

NOTE: This only works on event patterns that are playing synths that have a \amp argument in them.

Class Methods

PfadeIn.new(pattern, fadeTime: 1.0, holdTime: 0.0, tolerance: 0.0001)

Arguments:

pattern

The pattern to fade in. Must be an event pattern that plays a synth with the \amp parameter.

fadeTime

The time it will take to fade.

holdTime
tolerance

The tolerance for the rounding of elapsed time used when setting the amplitude of the input pattern.

Inherited class methods

Instance Methods

.fadeTime

.fadeTime = value

Get or set the fadetime

.holdTime

.holdTime = value

Get or set the hold time

.tolerance

.tolerance = value

Get or set the tolerance used when rounding the internal time.

.embedInStream(inval)

Arguments:

inval

.storeArgs

Inherited instance methods

Examples