IModelObjectpublic class AudioAnalysisSegment extends AbstractModelObject
| Modifier and Type | Class | Description |
|---|---|---|
static class |
AudioAnalysisSegment.Builder |
Builder class for building
AudioAnalysisSegment instances. |
static class |
AudioAnalysisSegment.JsonUtil |
JsonUtil class for building
AudioAnalysisSegment instances. |
IModelObject.IJsonUtil<T>| Modifier and Type | Method | Description |
|---|---|---|
AudioAnalysisSegment.Builder |
builder() |
Create a builder for building an instance of a model object.
|
Float |
getLoudnessEnd() |
Get the loudness level at the end of the segment.
|
Float |
getLoudnessMax() |
Get the peak loudness value within the segment.
|
Float |
getLoudnessMaxTime() |
Get the offset within the segment of the point of maximum loudness.
|
Float |
getLoudnessStart() |
Get the loudness level at the start of the segment.
|
AudioAnalysisMeasure |
getMeasure() |
Get the measure of the audio analysis segment object.
|
float[] |
getPitches() |
Get the pitches of the segment.
|
float[] |
getTimbre() |
Get the timbre of the segment.
|
public AudioAnalysisMeasure getMeasure()
public Float getLoudnessStart()
public Float getLoudnessMaxTime()
public Float getLoudnessMax()
public Float getLoudnessEnd()
public float[] getPitches()
Pitch content is given by a "chroma" vector, corresponding to the 12 pitch classes C, C#, D to B, with values ranging from 0 to 1 that describe the relative dominance of every pitch in the chromatic scale. For example a C Major chord would likely be represented by large values of C, E and G (i.e. classes 0, 4, and 7). Vectors are normalized to 1 by their strongest dimension, therefore noisy sounds are likely represented by values that are all close to 1, while pure tones are described by one value at 1 (the pitch) and others near
public float[] getTimbre()
The timbre is the quality of a musical note or sound that distinguishes different types of musical instruments, or voices. It is a complex notion also referred to as sound color, texture, or tone quality, and is derived from the shape of a segments spectro-temporal surface, independently of pitch and loudness.
public AudioAnalysisSegment.Builder builder()
IModelObjectCopyright © 2019. All rights reserved.