mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-26 07:56:26 +00:00
17639a9b54
* Add Audio Track Analysis models and API endpoint * Update docs * Add link to EchoNest archived docs for AudioAnalysis model
36 lines
915 B
C#
36 lines
915 B
C#
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SpotifyAPI.Web.Models
|
|
{
|
|
public class AnalysisSegment
|
|
{
|
|
[JsonProperty("start")]
|
|
public double Start { get; set; }
|
|
|
|
[JsonProperty("duration")]
|
|
public double Duration { get; set; }
|
|
|
|
[JsonProperty("confidence")]
|
|
public double Confidence { get; set; }
|
|
|
|
[JsonProperty("loudness_start")]
|
|
public double LoudnessStart { get; set; }
|
|
|
|
[JsonProperty("loudness_max_time")]
|
|
public double LoudnessMaxTime { get; set; }
|
|
|
|
[JsonProperty("loudness_max")]
|
|
public double LoudnessMax { get; set; }
|
|
|
|
[JsonProperty("loudness_end")]
|
|
public double LoudnessEnd { get; set; }
|
|
|
|
[JsonProperty("pitches")]
|
|
public List<double> Pitches { get; set; }
|
|
|
|
[JsonProperty("timbre")]
|
|
public List<double> Timbre { get; set; }
|
|
}
|
|
}
|