Package | Description |
---|---|
be.tarsos.util |
Utility classes for string handling, logging, configuration, some DSP tasks.
|
be.tarsos.util.histogram |
Histogram and histogram correlation classes.
|
Modifier and Type | Method and Description |
---|---|
static TimeUnit |
TimeUnit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeUnit[] |
TimeUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
double |
TimeUnit.convert(double sourceDuration,
TimeUnit sourceUnit)
Convert the given time duration in the given unit to this
unit.
|
double |
AudioFile.getLengthIn(TimeUnit unit) |
double |
StopWatch.timePassed(TimeUnit unit)
Calculates and returns the time passed in the requested unit.
|
Modifier and Type | Method and Description |
---|---|
static PitchClassHistogram |
HistogramFactory.createMaxPitchClassHistogram(java.util.List<Annotation> annotations,
double duration,
TimeUnit unit)
Create a pitch class histogram by taking the maximum number of
annotations for a defined time window.
|