Interface SongPropertyAnalyzer<O>

    • Method Detail

      • getId

        default String getId()
        Unique id for this analyzer. By default the fully qualified classname is returned. Some scripting languages (e.g. Nashorn Javascript) may require you to explicitly override this method.
        Returns:
        id
      • getName

        String getName()
        Name of this analyzer in the format NAME 0.0.0, where NAME is the name and 0.0.0 its version.
        Returns:
        name
      • getRequiredClip

        AudioClip getRequiredClip​(AudioFileFormat audioFileFormat)
        Indicates which portion of the audio this analyzer needs to have available to do its job. E.g. the first 20s.
        Parameters:
        audioFileFormat - file format
        Returns:
        required audio clip or null, if we need the whole file
      • getPropertyName

        String getPropertyName()
        Name of the property that shall be set on an AudioSong object. This could be e.g. key, comments, grouping, ...
        Returns:
        property name