EnvelopedPlayer:
Filter:
Classes (extension) | Libraries > crucial > Players | Envelopes

EnvelopedPlayer : AbstractSinglePlayerEffect : HasSubject : AbstractPlayer : AbstractFunction : Object
ExtensionExtension

takes a Player as input and plays it through an Env with fused protection

Description

Wraps a player with an envelope. This allows any player to respond to .release with a smooth envelope release.

if numChannels is not nil, the player's output will be duplicated or mixed down as needed to ensure that many channels for output. so mono signals will be duplicated to a stereo image.

Class Methods

EnvelopedPlayer.new(player, env, numChannels: 2, limit: false)

Arguments:

player
env
numChannels
limit

Inherited class methods

Instance Methods

.env

.env = value

.numChannels

.numChannels = value

.limit

.limit = value

.onFuseBlown

.onFuseBlown = value

.storeArgs

.asSynthDef

.defName

.synthDefArgs

.didSpawn

.didStop

.releaseToBundle(releaseTime, bundle)

Arguments:

releaseTime
bundle

Inherited instance methods

Examples