public SPTKPitchReaderWriter(String lf0SPTKFile,float windowSizeInSeconds,float skipSizeInSeconds,int samplingRate){
  contour=null;
  header=new PitchFileHeader();
  header.windowSizeInSeconds=windowSizeInSeconds;
  header.skipSizeInSeconds=skipSizeInSeconds;
  header.fs=samplingRate;
  try {
    contour=readSPTKF0Data(lf0SPTKFile);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

public SPTKPitchReaderWriter ( String lf0SPTKFile , float windowSizeInSeconds , float skipSizeInSeconds , int samplingRate ) { contour = null ; header = new PitchFileHeader ( ) ; header . windowSizeInSeconds = windowSizeInSeconds ; header . skipSizeInSeconds = skipSizeInSeconds ; header . fs = samplingRate ; try { contour = readSPTKF0Data ( lf0SPTKFile ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
read a sptk lf0 file with external settings
