CopySmoothedGainFrom() public méthode

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
Résultat void
Exemple #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);
 }
Exemple #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 );
 }