Music

Represents detailed information about a music resource.

public class Music {
  public long songCode;
  public String name;
  public String singer;
  public String poster;
  public String releaseTime;
  public int type;
  public int pitchType;
  public int durationS;
  public int[] lyricTypes;
  public MvProperty[] mvProperties;
  public ClimaxSegment[] climaxSegments;
}

Properties

songCode
The unique identifier of the music resource, used to identify a specific music resource.
name
The name of the music resource.
singer
The name of the singer.
poster
The download URL of the music resource poster.
releaseTime
The release time of the music resource.
type
The type of the music resource:
  • 1: Single-track audio, left channel is accompaniment, right channel is original vocal.
  • 2: Single-track audio, accompaniment only.
  • 3: Single-track audio, original vocal only.
  • 4: Multi-track audio.
pitchType
Whether the song supports scoring:
  • 1: Supports scoring.
  • 2: Does not support scoring.
durationS
The total duration of the music resource (in seconds).
lyricTypes
Supported lyric types:
  • 0: XML format.
  • 1: LRC format.
mvProperties
List of MV properties, representing MV information contained in the music resource.
climaxSegments
List of music climax segments. See ClimaxSegment.