Package | Description |
---|---|
be.tarsos.sampled.pitch |
Contains internal and external pitch trackers.
|
be.tarsos.util |
Utility classes for string handling, logging, configuration, some DSP tasks.
|
Modifier and Type | Method and Description |
---|---|
static PitchUnit |
PitchUnit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PitchUnit[] |
PitchUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
PitchUnit.convert(double value,
PitchUnit valueUnit)
Convert the given pitch in the given unit to this unit.
|
static java.util.List<java.lang.Double> |
PitchFunctions.convertHertzTo(PitchUnit unit,
java.util.List<java.lang.Double> pitchValuesInHertz)
Converts pitches in Hertz to the requested unit.
|
static Pitch |
Pitch.getInstance(PitchUnit unit,
double value)
Return a new pitch object using value in a certain unit.
|
double |
Pitch.getPitch(PitchUnit unit)
Get the pitch value in a given unit.
|
double |
Annotation.getPitch(PitchUnit unit)
Return the pitch in the requested unit.
|
Constructor and Description |
---|
AnnotationTree(PitchUnit pitchUnit)
Create a new annotation tree.
|
Modifier and Type | Method and Description |
---|---|
void |
AudioFile.playCents(PitchDetectionMode detectionMode,
double from,
double to,
PitchUnit unit)
Detects pitch and plays plays the samples that are in the interval from,
to in the given pitch unit.
|