2020-03-09 19:47:39 +00:00
|
|
|
using Newtonsoft.Json;
|
2017-07-02 18:37:11 +01:00
|
|
|
|
|
|
|
namespace SpotifyAPI.Web.Models
|
|
|
|
{
|
2020-03-09 19:47:39 +00:00
|
|
|
public class AnalysisTrack
|
|
|
|
{
|
|
|
|
[JsonProperty("num_samples")]
|
|
|
|
public int NumSamples { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("duration")]
|
|
|
|
public double Duration { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("sample_md5")]
|
|
|
|
public string SampleMD5 { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("offset_seconds")]
|
|
|
|
public double OffsetSeconds { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("window_seconds")]
|
|
|
|
public double WindowSeconds { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("analysis_sample_rate")]
|
2020-04-29 11:12:06 +01:00
|
|
|
public float AnalysisSampleRate { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("analysis_channels")]
|
|
|
|
public int AnalysisChannels { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("end_of_fade_in")]
|
|
|
|
public double EndOfFadeIn { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("start_of_fade_out")]
|
|
|
|
public double StartOfFadeOut { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("loudness")]
|
|
|
|
public double Loudness { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("tempo")]
|
|
|
|
public double Tempo { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("tempo_confidence")]
|
|
|
|
public double TempoConfidence { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("time_signature")]
|
|
|
|
public double TimeSignature { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("time_signature_confidence")]
|
|
|
|
public double TimeSignatureConfidence { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("key")]
|
|
|
|
public int Key { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("key_confidence")]
|
|
|
|
public double KeyConfidence { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("mode")]
|
|
|
|
public int Mode { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("mode_confidence")]
|
|
|
|
public double ModeConfidence { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("codestring")]
|
|
|
|
public string Codestring { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("code_version")]
|
|
|
|
public double CodeVersion { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("echoprintstring")]
|
|
|
|
public string Echoprintstring { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("echoprint_version")]
|
|
|
|
public double EchoprintVersion { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("synchstring")]
|
|
|
|
public string Synchstring { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("synch_version")]
|
|
|
|
public double SynchVersion { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("rhythmstring")]
|
|
|
|
public string Rhythmstring { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
[JsonProperty("rhythm_version")]
|
|
|
|
public double RhythmVersion { get; set; }
|
2017-07-02 18:37:11 +01:00
|
|
|
|
2020-03-09 19:47:39 +00:00
|
|
|
}
|
|
|
|
}
|