| Modifier and Type | Class and Description | 
|---|---|
| static class  | PraatPitchTier.PitchTarget | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static String | FIRSTLINE | 
| protected int | numTargets | 
| protected static String | SECONDLINE | 
| protected PraatPitchTier.PitchTarget[] | targets | 
| protected double | xmax | 
| protected double | xmin | 
| Constructor and Description | 
|---|
| PraatPitchTier(Document acoustparams) | 
| PraatPitchTier(double xmin,
              double[] frames,
              double step) | 
| PraatPitchTier(PraatPitchTier.PitchTarget[] targets) | 
| PraatPitchTier(Reader input) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object otherObj) | 
| double | getFrequency(double time) | 
| String | getName() | 
| int | getNumTargets() | 
| PraatPitchTier.PitchTarget[] | getPitchTargets() | 
| double | getXmax() | 
| double | getXmin() | 
| int | hashCode() | 
| protected void | importFrames(double[] frames,
            double step)For every frame that is not NaN, create a pitch-time target. | 
| void | setXmax(double value) | 
| void | setXmin(double value) | 
| double[] | toFrames(double step)Convert this sequence of pitch targets into an array of frame values. | 
| void | writeTo(Writer out) | 
protected static final String FIRSTLINE
protected static final String SECONDLINE
protected double xmin
protected double xmax
protected int numTargets
protected PraatPitchTier.PitchTarget[] targets
public PraatPitchTier(Reader input) throws IOException
IOExceptionpublic PraatPitchTier(double xmin,
              double[] frames,
              double step)
public PraatPitchTier(Document acoustparams)
public PraatPitchTier(PraatPitchTier.PitchTarget[] targets)
public void setXmax(double value)
public void setXmin(double value)
public int getNumTargets()
public PraatPitchTier.PitchTarget[] getPitchTargets()
public void writeTo(Writer out)
public double[] toFrames(double step)
step - the constant time distance between two frames, in seconds.public double getFrequency(double time)
protected void importFrames(double[] frames,
                double step)
frames - framesstep - stepCopyright © 2000–2016 DFKI GmbH. All rights reserved.