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

EnvelopedPlayer
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

.new

Arguments:

player
env
numChannels
limit

Instance Methods

.env

.numChannels

.limit

.onFuseBlown

.storeArgs

.asSynthDef

.defName

.synthDefArgs

.didSpawn

.didStop

.releaseToBundle

Arguments:

releaseTime
bundle

Examples