C# 클래스 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.
파일 보기 프로젝트 열기: gregzo/G-Audio 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
nullEnvelope NullEnvelope

보호된 프로퍼티들

프로퍼티 타입 설명
_length int
_normalize bool
_normalizeValue float

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
GATEnvelope ( ) : System.Collections

메소드 상세

GATEnvelope() 공개 메소드

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
리턴 System.Collections

ProcessSample() 공개 메소드

Immediately applies all processing properties to the passed GATData object.
public ProcessSample ( GATData sample ) : void
sample GATData
리턴 void

SetParams() 공개 메소드

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

프로퍼티 상세

_length 보호되어 있는 프로퍼티

protected int _length
리턴 int

_normalize 보호되어 있는 프로퍼티

protected bool _normalize
리턴 bool

_normalizeValue 보호되어 있는 프로퍼티

protected float _normalizeValue
리턴 float

nullEnvelope 공개적으로 정적으로 프로퍼티

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