Class: Spotted::Models::AudioAnalysisRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Spotted::Models::AudioAnalysisRetrieveResponse
- Defined in:
- lib/spotted/models/audio_analysis_retrieve_response.rb
Overview
Defined Under Namespace
Classes: Meta, Section, Segment, Track
Instance Attribute Summary collapse
-
#bars ⇒ Array<Spotted::Models::TimeIntervalObject>?
The time intervals of the bars throughout the track.
-
#beats ⇒ Array<Spotted::Models::TimeIntervalObject>?
The time intervals of beats throughout the track.
- #meta ⇒ Spotted::Models::AudioAnalysisRetrieveResponse::Meta?
-
#sections ⇒ Array<Spotted::Models::AudioAnalysisRetrieveResponse::Section>?
Sections are defined by large variations in rhythm or timbre, e.g.
-
#segments ⇒ Array<Spotted::Models::AudioAnalysisRetrieveResponse::Segment>?
Each segment contains a roughly conisistent sound throughout its duration.
-
#tatums ⇒ Array<Spotted::Models::TimeIntervalObject>?
A tatum represents the lowest regular pulse train that a listener intuitively infers from the timing of perceived musical events (segments).
- #track ⇒ Spotted::Models::AudioAnalysisRetrieveResponse::Track?
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(confidence: nil, duration: nil, loudness_end: nil, loudness_max: nil, loudness_max_time: nil, loudness_start: nil, pitches: nil, start: nil, timbre: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Segment for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(confidence: nil, duration: nil, loudness_end: nil, loudness_max: nil, loudness_max_time: nil, loudness_start: nil, pitches: nil, start: nil, timbre: nil) ⇒ Object
Some parameter documentations has been truncated, see Segment for more details.
|
|
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 55
|
Instance Attribute Details
#bars ⇒ Array<Spotted::Models::TimeIntervalObject>?
The time intervals of the bars throughout the track. A bar (or measure) is a segment of time defined as a given number of beats.
12 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 12 optional :bars, -> { Spotted::Internal::Type::ArrayOf[Spotted::TimeIntervalObject] } |
#beats ⇒ Array<Spotted::Models::TimeIntervalObject>?
The time intervals of beats throughout the track. A beat is the basic time unit of a piece of music; for example, each tick of a metronome. Beats are typically multiples of tatums.
20 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 20 optional :beats, -> { Spotted::Internal::Type::ArrayOf[Spotted::TimeIntervalObject] } |
#meta ⇒ Spotted::Models::AudioAnalysisRetrieveResponse::Meta?
25 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 25 optional :meta, -> { Spotted::Models::AudioAnalysisRetrieveResponse::Meta } |
#sections ⇒ Array<Spotted::Models::AudioAnalysisRetrieveResponse::Section>?
Sections are defined by large variations in rhythm or timbre, e.g. chorus, verse, bridge, guitar solo, etc. Each section contains its own descriptions of tempo, key, mode, time_signature, and loudness.
33 34 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 33 optional :sections, -> { Spotted::Internal::Type::ArrayOf[Spotted::Models::AudioAnalysisRetrieveResponse::Section] } |
#segments ⇒ Array<Spotted::Models::AudioAnalysisRetrieveResponse::Segment>?
Each segment contains a roughly conisistent sound throughout its duration.
40 41 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 40 optional :segments, -> { Spotted::Internal::Type::ArrayOf[Spotted::Models::AudioAnalysisRetrieveResponse::Segment] } |
#tatums ⇒ Array<Spotted::Models::TimeIntervalObject>?
A tatum represents the lowest regular pulse train that a listener intuitively infers from the timing of perceived musical events (segments).
48 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 48 optional :tatums, -> { Spotted::Internal::Type::ArrayOf[Spotted::TimeIntervalObject] } |
#track ⇒ Spotted::Models::AudioAnalysisRetrieveResponse::Track?
53 |
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 53 optional :track, -> { Spotted::Models::AudioAnalysisRetrieveResponse::Track } |
Class Method Details
.values ⇒ Array<Float>
|
|
# File 'lib/spotted/models/audio_analysis_retrieve_response.rb', line 269
|