Module: Spotted::Models::AudioAnalysisRetrieveResponse::Section::Mode

Extended by:
Internal::Type::Enum
Defined in:
lib/spotted/models/audio_analysis_retrieve_response.rb

Overview

Indicates the modality (major or minor) of a section, the type of scale from which its melodic content is derived. This field will contain a 0 for “minor”, a 1 for “major”, or a -1 for no result. Note that the major key (e.g. C major) could more likely be confused with the minor key at 3 semitones lower (e.g. A minor) as both keys carry the same pitches.

See Also:

Constant Summary collapse

MINUS_1 =
-1
MODE_0 =
0
MODE_1 =
1

Method Summary

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info