diff --git a/SpotifyAPI.Web/Models/Response/TrackAudio.cs b/SpotifyAPI.Web/Models/Response/TrackAudio.cs new file mode 100644 index 00000000..74ae348e --- /dev/null +++ b/SpotifyAPI.Web/Models/Response/TrackAudio.cs @@ -0,0 +1,31 @@ +namespace SpotifyAPI.Web +{ + public class TrackAudio + { + public float Duration { get; set; } + public string SampleMd5 { get; set; } = default!; + public int OffsetSeconds { get; set; } + public int WindowSeconds { get; set; } + public int AnalysisSampleRate { get; set; } + public int AnalysisChannels { get; set; } + public float EndOfFadeIn { get; set; } + public float StartOfFadeOut { get; set; } + public float Loudness { get; set; } + public float Tempo { get; set; } + public float TempConfidence { get; set; } + public int TimeSignature { get; set; } + public float TimeSignatureConfidence { get; set; } + public int Key { get; set; } + public float KeyConfidence { get; set; } + public int Mode { get; set; } + public float ModeConfidence { get; set; } + public string Codestring { get; set; } = default!; + public float CodeVersion { get; set; } + public string Echoprintstring { get; set; } = default!; + public float EchoprintVersion { get; set; } + public string Synchstring { get; set; } = default!; + public float SynchVersion { get; set; } + public string Rhythmstring { get; set; } = default!; + public float RhythmVersion { get; set; } + } +} diff --git a/SpotifyAPI.Web/Models/Response/TrackAudioAnalysis.cs b/SpotifyAPI.Web/Models/Response/TrackAudioAnalysis.cs index e62fef4d..feeecd03 100644 --- a/SpotifyAPI.Web/Models/Response/TrackAudioAnalysis.cs +++ b/SpotifyAPI.Web/Models/Response/TrackAudioAnalysis.cs @@ -9,6 +9,8 @@ namespace SpotifyAPI.Web public List
Sections { get; set; } = default!; public List Segments { get; set; } = default!; public List Tatums { get; set; } = default!; + public TrackAudio Track { get; set; } = default!; + public TrackMeta Meta { get; set; } = default!; } } diff --git a/SpotifyAPI.Web/Models/Response/TrackMeta.cs b/SpotifyAPI.Web/Models/Response/TrackMeta.cs new file mode 100644 index 00000000..5b29e53d --- /dev/null +++ b/SpotifyAPI.Web/Models/Response/TrackMeta.cs @@ -0,0 +1,15 @@ +using System; + +namespace SpotifyAPI.Web +{ + public class TrackMeta + { + public float AnalysisTime { get; set; } + public string AnalyzerVersion { get; set; } = default!; + public string DetailedStatus { get; set; } = default!; + public string InputProcess { get; set; } = default!; + public string Platform { get; set; } = default!; + public int StatusCode { get; set; } = default!; + public long Timestamp { get; set; } + } +}