lib/minim/src/ddf/minim/analysis/FourierTransform.java
/**
   * Performs a forward transform on values in <code>buffer</code>.
   * 
   * @param buffer
   *          float[]: the buffer to analyze, must be the same length as timeSize()
   * @param startAt
   *          int: the index to start at in the buffer. there must be at least timeSize() samples
   *          between the starting index and the end of the buffer. If there aren't, an
   *          error will be issued and the operation will not be performed.
   *          
   */
Performs a forward transform on values in buffer.

@param buffer
float[]: the buffer to analyze, must be the same length as timeSize()
@param startAt
int: the index to start at in the buffer. there must be at least timeSize() samples
between the starting index and the end of the buffer. If there aren't, an
error will be issued and the operation will not be performed.
Performs a forward transform on values in buffer . @param buffer float [] : the buffer to analyze must be the same length as timeSize () @param startAt int : the index to start at in the buffer . there must be at least timeSize () samples between the starting index and the end of the buffer . If there aren ' t an error will be issued and the operation will not be performed .
public void forward(float[] buffer, int startAt)
  {
    if ( buffer.length - startAt < timeSize )
    {
      Minim.error( "FourierTransform.forward: not enough samples in the buffer between " + 
                   startAt + " and " + buffer.length + " to perform a transform."
                 );
      return;
    }
    float[] section = new float[timeSize];
    System.arraycopy(buffer, startAt, section, 0, section.length);
    forward(section);
  }
public void forward ( float [ ] buffer , int startAt ) { if ( buffer . length - startAt < timeSize ) { Minim . error ( "FourierTransform.forward: not enough samples in the buffer between " + startAt + " and " + buffer . length + " to perform a transform." ) ; return ; } float [ ] section = new float [ timeSize ] ; System . arraycopy ( buffer , startAt , section , 0 , section . length ) ; forward ( section ) ; }
Performs a forward transform on values in <code>buffer</code>.
Performs a forward transform on values in <code > buffer< / code > .
// copy the section of samples we want to analyze