rasmus.interpreter.sampled.util
Class PitchShift

java.lang.Object
  extended by rasmus.interpreter.sampled.util.PitchShift

public class PitchShift
extends java.lang.Object


Field Summary
static double M_PI
           
static int MAX_FRAME_LENGTH
           
 
Constructor Summary
PitchShift(int fftFrameSize, int osamp, double sampleRate)
           
 
Method Summary
 void processFFT(double pitchShift, double[] gFFTworksp)
           
 void processFormatScan(double[] magnmap, double[] outdata)
           
 void smbPitchShift(double formatpitchShift, double[] formatpitchtable, double pitchShift, double[] pitchtable, int p_start, int start, int end, int interlace, double[] indata, double[] outdata)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

M_PI

public static final double M_PI
See Also:
Constant Field Values

MAX_FRAME_LENGTH

public static final int MAX_FRAME_LENGTH
See Also:
Constant Field Values
Constructor Detail

PitchShift

public PitchShift(int fftFrameSize,
                  int osamp,
                  double sampleRate)
Method Detail

processFormatScan

public void processFormatScan(double[] magnmap,
                              double[] outdata)

smbPitchShift

public void smbPitchShift(double formatpitchShift,
                          double[] formatpitchtable,
                          double pitchShift,
                          double[] pitchtable,
                          int p_start,
                          int start,
                          int end,
                          int interlace,
                          double[] indata,
                          double[] outdata)

processFFT

public final void processFFT(double pitchShift,
                             double[] gFFTworksp)