Package wavFiles.xwav
Class HarpCycle
java.lang.Object
wavFiles.xwav.HarpCycle
- All Implemented Interfaces:
 Cloneable
information from one point in a harp header.
- Author:
 - dg50
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionclone()booleancompatible(HarpCycle other) True if same sample rate and gain, false otherwiselonglonglonglongEnd time of this cycle info in millis.intgetGain()longlonglonglongbooleanisConsecutive(HarpCycle other) Start of other cycle is at end of this cycle ? Within 500ms anyway.voidAdd another cycle to this one, extending its byte length and durariontoString() 
- 
Field Details
- 
durationMillis
public long durationMillis 
 - 
 - 
Constructor Details
- 
HarpCycle
public HarpCycle() 
 - 
 - 
Method Details
- 
getEndMillis
public long getEndMillis()End time of this cycle info in millis.- Returns:
 
 - 
isConsecutive
Start of other cycle is at end of this cycle ? Within 500ms anyway.- Parameters:
 other-- Returns:
 
 - 
compatible
True if same sample rate and gain, false otherwise- Parameters:
 other-- Returns:
 
 - 
merge
Add another cycle to this one, extending its byte length and durarion- Parameters:
 other-
 - 
clone
 - 
toString
 - 
gettMillis
public long gettMillis()- Returns:
 - the tMillis
 
 - 
getByteLoc
public long getByteLoc()- Returns:
 - the byteLoc
 
 - 
getByteLength
public long getByteLength()- Returns:
 - the byteLength
 
 - 
getWriteLength
public long getWriteLength()- Returns:
 - the writeLength
 
 - 
getSampleRate
public long getSampleRate()- Returns:
 - the sampleRate
 
 - 
getGain
public int getGain()- Returns:
 - the gain
 
 - 
getDurationMillis
public long getDurationMillis()- Returns:
 - the durationMillis
 
 - 
getSamplesSkipped
public long getSamplesSkipped()- Returns:
 - the samplesSkipped
 
 
 -