CopySmoothedGainFrom() public method

Copies data from a float[] to a GATData instance and applies interpolated gain.
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
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Copies data from a GATData instance to another and
 /// applies interpolated gain.
 /// </summary>
 public void CopySmoothedGainTo(int sourceIndex, GATData destination, int destinationIndex, int length, float fromGain, float toGain)
 {
     sourceIndex += _offset;
     destination.CopySmoothedGainFrom(_parentArray, sourceIndex, destinationIndex, length, fromGain, toGain);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copies data from a GATData instance to another and 
 /// applies interpolated gain.
 /// </summary>
 public void CopySmoothedGainTo( int sourceIndex, GATData destination, int destinationIndex, int length, float fromGain, float toGain )
 {
     sourceIndex += _offset;
     destination.CopySmoothedGainFrom( _parentArray, sourceIndex, destinationIndex, length, fromGain, toGain );
 }