C# Class GAudio.GATEnvelope

Handles pre-processing of samples and keeps track of update times of it's processing properties. Properties may be set at any time, all IGATProcessedSample objects that refer to the GATEnvelope will update their data accordingly. EnvelopeModule component wraps a GATEnvelope in an inspector friendly package if needed.
Afficher le fichier Open project: gregzo/G-Audio Class Usage Examples

Méthodes publiques

Свойство Type Description
nullEnvelope NullEnvelope

Protected Properties

Свойство Type Description
_length int
_normalize bool
_normalizeValue float

Méthodes publiques

Méthode Description
GATEnvelope ( int length, int fadeInSamples, int fadeOutSamples, int offset, bool doNormalize = true, float normalizeValue = .3f ) : System.Collections

Note that by default, doNormalize is true and sample chunks will be normalized at .3f.

ProcessSample ( GATData sample ) : void

Immediately applies all processing properties to the passed GATData object.

SetParams ( int length, int fadeIn, int fadeOut ) : void

Sets the most commononly used parameters in one call.

Private Methods

Méthode Description
GATEnvelope ( ) : System.Collections

Method Details

GATEnvelope() public méthode

Note that by default, doNormalize is true and sample chunks will be normalized at .3f.
public GATEnvelope ( int length, int fadeInSamples, int fadeOutSamples, int offset, bool doNormalize = true, float normalizeValue = .3f ) : System.Collections
length int
fadeInSamples int
fadeOutSamples int
offset int
doNormalize bool
normalizeValue float
Résultat System.Collections

ProcessSample() public méthode

Immediately applies all processing properties to the passed GATData object.
public ProcessSample ( GATData sample ) : void
sample GATData
Résultat void

SetParams() public méthode

Sets the most commononly used parameters in one call.
public SetParams ( int length, int fadeIn, int fadeOut ) : void
length int
fadeIn int
fadeOut int
Résultat void

Property Details

_length protected_oe property

protected int _length
Résultat int

_normalize protected_oe property

protected bool _normalize
Résultat bool

_normalizeValue protected_oe property

protected float _normalizeValue
Résultat float

nullEnvelope public_oe static_oe property

Passing this static reference when requesting a pitch shifted processed sample will result in pitch shifting the entire source sample.
public static NullEnvelope nullEnvelope
Résultat NullEnvelope