Android Open Source - audiopulse-androidclient D P O A E Results






From Project

Back to project page audiopulse-androidclient.

License

The source code is released under:

GNU General Public License

If you think the Android project audiopulse-androidclient listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.audiopulse.analysis;
/*  www.j  a  v  a 2s .c o  m*/
import java.io.Serializable;

import android.util.Log;

public class DPOAEResults implements Serializable{

  /**
   * 
   */
  private static final long serialVersionUID = -7151583590731408124L;
  private static final String TAG="DPOAEResults";
  //AudioPulseDataAnalyzer  interface
  final double respSPL;
  final double noiseSPL;
  final double stim1SPL;
  final double stim2SPL;
  
  final double respHz;
  final short stim1Hz;
  final short stim2Hz;
  
  protected double[] dataFFT;
  protected double[] dataWav;
  protected double[] noiseRangeHz;
  final String fileName;
  final String protocol;
  
  public DPOAEResults(double respSPL,double noiseSPL,double stim1SPL, double stim2SPL, double respHz, 
            short stim1Hz,short stim2Hz,double[] dataFFT,double[] dataWav,
            String fileName,String protocol){  
    this.respSPL=respSPL;
    this.noiseSPL=noiseSPL;
    this.stim1SPL=stim1SPL;
    this.stim2SPL=stim2SPL;  
    this.respHz=respHz;
    this.stim1Hz=stim1Hz;
    this.stim2Hz=stim2Hz;  
    this.dataFFT=dataFFT;
    this.fileName=fileName;
    this.protocol=protocol;
    this.dataWav=dataWav;
  }
  
  public double getRespSPL(){return respSPL;}
  public double getNoiseSPL(){return noiseSPL;}
  public double getStim1SPL(){return stim1SPL;}
  public double getStim2SPL(){return stim2SPL;}
  public double getRespHz(){return respHz;}
  public short getStim1Hz(){return stim1Hz;}
  public short getStim2Hz(){return stim2Hz;}
  public double[] getDataFFT(){return dataFFT;}
  public void setDataFFT(double[] FFT){dataFFT=FFT;}
  public String getFileName(){return fileName;}
  public String getProtocol(){return protocol;}
  public double[] getWave() { return dataWav;}
  public void setWave(double[] data) { dataWav=data;}
  public double[] getNoiseRangeHz() {return noiseRangeHz;  }
  public void setNoiseRangeHz(double [] x) {noiseRangeHz=x;}

}




Java Source Code List

org.audiopulse.activities.AudioPulseActivity.java
org.audiopulse.activities.MonitorHandler.java
org.audiopulse.activities.MonitorThread.java
org.audiopulse.activities.PlotSpectralActivity.java
org.audiopulse.activities.TestEarActivity.java
org.audiopulse.activities.UsbTestActivity.java
org.audiopulse.analysis.DPOAEAnalyzer.java
org.audiopulse.analysis.DPOAEResults.java
org.audiopulse.analysis.SignalProcessing.java
org.audiopulse.analysis.SpectralWindows.java
org.audiopulse.graphics.DemoView.java
org.audiopulse.graphics.PlotSpectralView.java
org.audiopulse.hardware.APulseIface.java
org.audiopulse.hardware.USBIface.java
org.audiopulse.io.AudioPulseFilePackager.java
org.audiopulse.io.AudioPulseFileWriter.java
org.audiopulse.io.UsbAudioEmulator.java
org.audiopulse.io.UsbAudioInterface.java