Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ch.laoe.operation
Class AOResample  view AOResample download AOResample.java

java.lang.Object
  extended bych.laoe.clip.AObject
      extended bych.laoe.operation.AOperation
          extended bych.laoe.operation.AOResample

public class AOResample
extends AOperation

This file is part of LAoE. LAoE is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. LAoE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with LAoE; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Class: AOResample Autor: olivier gäumann, neuchâtel (switzerland) JDK: 1.3 Desctription: resamples the whole channels which are (partly) selected. To do: resample with interpolation History: Date: Description: Autor: 26.07.00 erster Entwurf oli4 04.08.00 neuer Stil oli4 26.10.00 neuer Stil oli4 19.12.00 float audio samples oli4 21.04.01 useage of toolkit oli4 19.09.01 index-calculation double-precision oli4


Field Summary
private  int order
           
private  double sampleRateFactor
           
 
Fields inherited from class ch.laoe.clip.AObject
name
 
Constructor Summary
AOResample()
           
AOResample(float sampleRateFactor, int order)
           
AOResample(int order)
           
 
Method Summary
 void operate(ch.laoe.clip.AChannelSelection ch1)
          performs constant resampling
 void operate(ch.laoe.clip.AChannelSelection ch1, ch.laoe.clip.AChannelSelection ch2)
          performs variable resampling
 
Methods inherited from class ch.laoe.operation.AOperation
endOperation, operate, setDefaultName, startOperation
 
Methods inherited from class ch.laoe.clip.AObject
getName, setDefaultName, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sampleRateFactor

private double sampleRateFactor

order

private int order
Constructor Detail

AOResample

public AOResample()

AOResample

public AOResample(float sampleRateFactor,
                  int order)

AOResample

public AOResample(int order)
Method Detail

operate

public void operate(ch.laoe.clip.AChannelSelection ch1)
performs constant resampling

Overrides:
operate in class AOperation

operate

public void operate(ch.laoe.clip.AChannelSelection ch1,
                    ch.laoe.clip.AChannelSelection ch2)
performs variable resampling

Overrides:
operate in class AOperation