Class AudioAnalysisMeta

java.lang.Object
se.michaelthelin.spotify.model_objects.AbstractModelObject
se.michaelthelin.spotify.model_objects.miscellaneous.AudioAnalysisMeta
All Implemented Interfaces:
Serializable, IModelObject

public class AudioAnalysisMeta extends AbstractModelObject
Retrieve information about Audio Analysis Metadata objects by creating instances from this class.
These objects only contain metadata created by the Analyzer software.
See Also:
  • Method Details

    • getAnalyzerVersion

      public String getAnalyzerVersion()
      Get the version of the Analyzer software, which is used to create audio analysis data.
      Returns:
      Analyzer software version.
    • getPlatform

      public String getPlatform()
      Get the platform, on which the audio analysis was created.
      Returns:
      The platform name.
    • getDetailedStatus

      public String getDetailedStatus()
      Get the detailed status of the Analyzer software after creating the audio analysis.
      Returns:
      The detailed status of the Analyzer software.
    • getStatusCode

      public Integer getStatusCode()
      Get the exit status code of the Analyzer software.
      Returns:
      The exit status code. (Should be 0)
    • getTimestamp

      public Long getTimestamp()
      Get the timestamp when the audio analysis object has been created by the Analyzer software.
      Returns:
      Timestamp of audio analysis.
    • getAnalysisTime

      public Float getAnalysisTime()
      Get the duration of the audio analysis, eg. in how many seconds the audio analysis has been created by the software.
      Returns:
      Duration of the audio analysis.
    • getInputProcess

      public String getInputProcess()
      Get the input process of the audio analysis. The input process is most times the command libvorbisfile L+R 44100->22050, which lowers the sample rate of the track. (probably to reduce the duration of the audio analysis)
      Returns:
      The input process of the audio analysis.
    • toString

      public String toString()
      Description copied from class: AbstractModelObject
      Returns a String representation of this model object in the style:

      ModelObject(attr1=value1, attr2=value2, ...)

      Specified by:
      toString in class AbstractModelObject
    • builder

      public AudioAnalysisMeta.Builder builder()
      Description copied from interface: IModelObject
      Create a builder for building an instance of a model object.
      The type of the builder and its methods depend on its corresponding implementation.
      Returns:
      A builder object.