Свойство | Тип | Описание | |
---|---|---|---|
_offset | int | ||
_parentArray | float[] |
Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
ApplyFilter ( AGATFilter filter, int fromIndex, int length, bool emptyData ) : void |
Applies a filter to the instance's audio data.
|
|
CheckSampleBounds ( ) : bool |
Checks that no data exceeds the -1f to 1f range.
|
|
Clear ( ) : void |
Clears all audio data
|
|
Clear ( int fromIndex, int length ) : void |
Clears audio data at specified range
|
|
ClearInterlaced ( int channelNb, int nbOfInterlacedChannels, int length ) : void |
Clears a specific channel of interleaved data
|
|
ConvertAndSetInt16 ( System source, int sourceOffset, int targetOffset, int length ) : void |
Converts an Int16 array and set it at targetOffset
|
|
CopyFrom ( float sourceArray, int destinationIndex, int sourceIndex, int length ) : void |
Copies data from a float[] to a GATData instance.
|
|
CopyFromInterlaced ( float sourceArray, int targetLength, int channelNb, int nbOfChannels ) : void |
Performs a copy of a single channel from an interlaced source array.
|
|
CopyFromInterlaced ( float sourceArray, int targetLength, int targetOffset, int channelNb, int nbOfChannels ) : void |
Performs a copy of a single channel from an interlaced source array.
|
|
CopyFromInterlaced ( float sourceArray, int sourceOffset, int targetLength, int targetOffset, int channelNb, int nbOfChannels ) : void |
Performs a copy of a single channel from an interlaced source array. sourceOffset is samples offset for channel 0.
|
|
CopyGainTo ( |
Copies and multuplies by gain data from one GATData instance to another.
|
|
CopySmoothedGainFrom ( float sourceArray, int sourceIndex, int destinationIndex, int length, float fromGain, float toGain ) : void |
Copies data from a float[] to a GATData instance and applies interpolated gain.
|
|
CopySmoothedGainTo ( int sourceIndex, |
Copies data from a GATData instance to another and applies interpolated gain.
|
|
CopyTo ( |
Copies data from a GATData instance to another.
|
|
CopyTo ( float destinationArray, int destinationIndex, int sourceIndex, int length ) : void |
Copies data from a GATData instance to a float array.
|
|
CopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, int channelNb ) : void |
Copy to an interleaved float[]
|
|
Fade ( float fromGain, float toGain, int fadeLength, int offset ) : void | ||
FadeIn ( int fadeLength ) : void |
In place fade-in from offset 0 to fadeLength
|
|
FadeInSquared ( int fadeLength ) : void | ||
FadeOut ( int fadeLength ) : void |
In-place fade-out from offset this.Count - fadeLength to this.Count - 1
|
|
FadeOut ( int offset, int fadeLength ) : void |
In-place fade out with offset control
|
|
FadeOutSquared ( int fadeLength ) : void | ||
GATData ( float parentArray ) : System |
Initializes a new instance of the GATData class. If you need a managed data chunk, use GATManager.GetDataContainer instead
|
|
Gain ( int fromIndex, int length, float gain ) : void | ||
GainCopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
Copy and gain to an interleaved float[]
|
|
GainMixTo ( |
Additive copy and gain to another GATData instance
|
|
GainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
Additive copy and gain to an interleaved float[]
|
|
GainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
Additive copy and gain to an interleaved float[] with extra gain parameter.
|
|
GetPointer ( ) : |
Gets an IntPtr pointer to the parent array. Only valid for GATData instances obtained through GATManager.GetDataContainer calls.
|
|
GlissCopyFrom ( |
||
GlissCopyFrom ( float sourceArray, int fromIndex, int targetLength, double fromPitch, double toPitch ) : void | ||
MixFrom ( float sourceArray, int destinationIndex, int sourceIndex, int length ) : void |
Additive copy from a float[]
|
|
MixFromInterlaced ( float sourceArray, int sourceFrameOffset, int targetLength, int targetOffset, int channelNb, int nbOfChannels ) : void |
Performs a copy of a single channel from an interlaced source array.
|
|
MixSmoothedGainFrom ( float sourceArray, int sourceIndex, int destinationIndex, int length, float fromGain, float toGain ) : void |
Additive copy and interpolated gain from a float[]
|
|
MixSmoothedGainTo ( int sourceIndex, |
Additive copy and interpolated gain to another GATData instance
|
|
MixTo ( |
Additive copy to another GATData instance
|
|
MixTo ( float destinationArray, int destinationIndex, int sourceIndex, int length ) : void |
Additive copy to a float[]
|
|
NextZeroCrossing ( int fromIndex, bool &positive ) : int |
Finds the next zero crossing.
|
|
Normalize ( float normalizedMax ) : void |
Applies gain to the instance's data so that the maximum value matches normalizedMax
|
|
ResampleCopyFrom ( float sourceArray, double trueInterpolatedIndex, int targetLength, int targetOffset, double resamplingFactor ) : double |
Performs a resampled copy from an array to the GATData instance it is called on. The resampling algorithm performs naive linear interpolation.
|
|
ResampleCopyTo ( double trueInterpolatedIndex, |
Performs a resampled copy to another GATData instance. The resampling algorithm performs naive linear interpolation.
|
|
ResampleCopyTo ( int sourceIndex, |
Performs a resampled copy to another GATData instance The resampling algorithm performs naive linear interpolation. Warning: for resampling in chunks, use the method of the same name which returns a double interpolated index.
|
|
Reverse ( ) : void |
Reverses the entire audio data.
|
|
Reverse ( int offset, int length ) : void | ||
SmoothedGain ( int fromIndex, int length, float fromGain, float toGain ) : void |
In-place Interpolated gain
|
|
SmoothedGainCopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
Copy and interpolated gain to an interleaved float[]
|
|
SmoothedGainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
Additive copy and interpolated gain to an interleaved float[]
|
|
SmoothedGainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
Additive copy and interpolated gain to an interleaved float[] with extra gain parameter
|
|
this ( int index ) : float |
Gets or sets the float in the parent array at the specified index. The indexer should only be used for quick prototyping, as it is roughly 30% slower than caching ParentArray for direct access in an extension method.
|
Метод | Описание | |
---|---|---|
Discard ( ) : void |
public ApplyFilter ( AGATFilter filter, int fromIndex, int length, bool emptyData ) : void | ||
filter | AGATFilter | |
fromIndex | int | |
length | int | |
emptyData | bool | |
Результат | void |
public Clear ( int fromIndex, int length ) : void | ||
fromIndex | int | |
length | int | |
Результат | void |
public ClearInterlaced ( int channelNb, int nbOfInterlacedChannels, int length ) : void | ||
channelNb | int | |
nbOfInterlacedChannels | int | |
length | int | |
Результат | void |
public ConvertAndSetInt16 ( System source, int sourceOffset, int targetOffset, int length ) : void | ||
source | System | |
sourceOffset | int | |
targetOffset | int | |
length | int | |
Результат | void |
public CopyFrom ( float sourceArray, int destinationIndex, int sourceIndex, int length ) : void | ||
sourceArray | float | |
destinationIndex | int | |
sourceIndex | int | |
length | int | |
Результат | void |
public CopyFromInterlaced ( float sourceArray, int targetLength, int channelNb, int nbOfChannels ) : void | ||
sourceArray | float | |
targetLength | int | |
channelNb | int | |
nbOfChannels | int | |
Результат | void |
public CopyFromInterlaced ( float sourceArray, int targetLength, int targetOffset, int channelNb, int nbOfChannels ) : void | ||
sourceArray | float | |
targetLength | int | |
targetOffset | int | |
channelNb | int | |
nbOfChannels | int | |
Результат | void |
public CopyFromInterlaced ( float sourceArray, int sourceOffset, int targetLength, int targetOffset, int channelNb, int nbOfChannels ) : void | ||
sourceArray | float | |
sourceOffset | int | |
targetLength | int | |
targetOffset | int | |
channelNb | int | |
nbOfChannels | int | |
Результат | void |
public CopyGainTo ( |
||
destinationData | ||
sourceIndex | int | |
destinationIndex | int | |
length | int | |
gain | float | |
Результат | void |
public CopySmoothedGainFrom ( float sourceArray, int sourceIndex, int destinationIndex, int length, float fromGain, float toGain ) : void | ||
sourceArray | float | |
sourceIndex | int | |
destinationIndex | int | |
length | int | |
fromGain | float | |
toGain | float | |
Результат | void |
public CopySmoothedGainTo ( int sourceIndex, |
||
sourceIndex | int | |
destination | ||
destinationIndex | int | |
length | int | |
fromGain | float | |
toGain | float | |
Результат | void |
public CopyTo ( |
||
destinationData | ||
destinationIndex | int | |
sourceIndex | int | |
length | int | |
Результат | void |
public CopyTo ( float destinationArray, int destinationIndex, int sourceIndex, int length ) : void | ||
destinationArray | float | |
destinationIndex | int | |
sourceIndex | int | |
length | int | |
Результат | void |
public CopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, int channelNb ) : void | ||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelNb | int | |
Результат | void |
public Fade ( float fromGain, float toGain, int fadeLength, int offset ) : void | ||
fromGain | float | |
toGain | float | |
fadeLength | int | |
offset | int | |
Результат | void |
public FadeInSquared ( int fadeLength ) : void | ||
fadeLength | int | |
Результат | void |
public FadeOut ( int offset, int fadeLength ) : void | ||
offset | int | |
fadeLength | int | |
Результат | void |
public FadeOutSquared ( int fadeLength ) : void | ||
fadeLength | int | |
Результат | void |
public GATData ( float parentArray ) : System | ||
parentArray | float | |
Результат | System |
public Gain ( int fromIndex, int length, float gain ) : void | ||
fromIndex | int | |
length | int | |
gain | float | |
Результат | void |
public GainCopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelGain | ||
Результат | void |
public GainMixTo ( |
||
destinationData | ||
sourceIndex | int | |
destinationIndex | int | |
length | int | |
gain | float | |
Результат | void |
public GainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelGain | ||
Результат | void |
public GainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelGain | ||
igain | float | |
Результат | void |
public GlissCopyFrom ( |
||
sourceData | ||
fromIndex | int | |
fromPitch | double | |
toPitch | double | |
Результат | void |
public GlissCopyFrom ( float sourceArray, int fromIndex, int targetLength, double fromPitch, double toPitch ) : void | ||
sourceArray | float | |
fromIndex | int | |
targetLength | int | |
fromPitch | double | |
toPitch | double | |
Результат | void |
public MixFrom ( float sourceArray, int destinationIndex, int sourceIndex, int length ) : void | ||
sourceArray | float | |
destinationIndex | int | |
sourceIndex | int | |
length | int | |
Результат | void |
public MixFromInterlaced ( float sourceArray, int sourceFrameOffset, int targetLength, int targetOffset, int channelNb, int nbOfChannels ) : void | ||
sourceArray | float | |
sourceFrameOffset | int | |
targetLength | int | |
targetOffset | int | |
channelNb | int | |
nbOfChannels | int | |
Результат | void |
public MixSmoothedGainFrom ( float sourceArray, int sourceIndex, int destinationIndex, int length, float fromGain, float toGain ) : void | ||
sourceArray | float | |
sourceIndex | int | |
destinationIndex | int | |
length | int | |
fromGain | float | |
toGain | float | |
Результат | void |
public MixSmoothedGainTo ( int sourceIndex, |
||
sourceIndex | int | |
destination | ||
destinationIndex | int | |
length | int | |
fromGain | float | |
toGain | float | |
Результат | void |
public MixTo ( |
||
destination | ||
destinationIndex | int | |
sourceIndex | int | |
length | int | |
Результат | void |
public MixTo ( float destinationArray, int destinationIndex, int sourceIndex, int length ) : void | ||
destinationArray | float | |
destinationIndex | int | |
sourceIndex | int | |
length | int | |
Результат | void |
public NextZeroCrossing ( int fromIndex, bool &positive ) : int | ||
fromIndex | int | |
positive | bool | /// true if the crossing /// is from a negative to a positive value. /// |
Результат | int |
public Normalize ( float normalizedMax ) : void | ||
normalizedMax | float | |
Результат | void |
public ResampleCopyFrom ( float sourceArray, double trueInterpolatedIndex, int targetLength, int targetOffset, double resamplingFactor ) : double | ||
sourceArray | float | |
trueInterpolatedIndex | double | |
targetLength | int | |
targetOffset | int | |
resamplingFactor | double | |
Результат | double |
public ResampleCopyTo ( double trueInterpolatedIndex, |
||
trueInterpolatedIndex | double | |
destinationSample | ||
targetLength | int | |
resamplingFactor | double | |
Результат | double |
public ResampleCopyTo ( int sourceIndex, |
||
sourceIndex | int | |
destinationSample | ||
targetLength | int | |
resamplingFactor | double | |
Результат | void |
public Reverse ( int offset, int length ) : void | ||
offset | int | |
length | int | |
Результат | void |
public SmoothedGain ( int fromIndex, int length, float fromGain, float toGain ) : void | ||
fromIndex | int | |
length | int | |
fromGain | float | |
toGain | float | |
Результат | void |
public SmoothedGainCopyToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelGain | ||
Результат | void |
public SmoothedGainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelGain | ||
Результат | void |
public SmoothedGainMixToInterlaced ( float destinationArray, int destinationOffset, int sourceIndex, int length, |
||
destinationArray | float | |
destinationOffset | int | |
sourceIndex | int | |
length | int | |
channelGain | ||
igain | float | |
Результат | void |