Spotify.NET/SpotifyAPI/Web/Models/AnalysisSegment.cs
Will Graham 17639a9b54 Add Audio Track Analysis models and API endpoint (#161)
* Add Audio Track Analysis models and API endpoint

* Update docs

* Add link to EchoNest archived docs for AudioAnalysis model
2017-07-02 19:37:11 +02:00

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; }
}
}