Class: Echowrap::Track
Instance Attribute Summary collapse
-
#album_date ⇒ Object
readonly
Returns the value of attribute album_date.
-
#album_name ⇒ Object
readonly
Returns the value of attribute album_name.
-
#album_type ⇒ Object
readonly
Returns the value of attribute album_type.
-
#analysis_channels ⇒ Object
readonly
Returns the value of attribute analysis_channels.
-
#analysis_sample_rate ⇒ Object
readonly
Returns the value of attribute analysis_sample_rate.
-
#analyzer_version ⇒ Object
readonly
Returns the value of attribute analyzer_version.
-
#artist ⇒ Object
readonly
Returns the value of attribute artist.
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#audio_md5 ⇒ Object
readonly
Returns the value of attribute audio_md5.
-
#bitrate ⇒ Object
readonly
Returns the value of attribute bitrate.
-
#catalog ⇒ Object
readonly
Returns the value of attribute catalog.
-
#code_version ⇒ Object
readonly
Returns the value of attribute code_version.
-
#codestring ⇒ Object
readonly
Returns the value of attribute codestring.
-
#decoder ⇒ Object
readonly
Returns the value of attribute decoder.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#echoprint_version ⇒ Object
readonly
Returns the value of attribute echoprint_version.
-
#echoprintstring ⇒ Object
readonly
Returns the value of attribute echoprintstring.
-
#end_of_fade_in ⇒ Object
readonly
Returns the value of attribute end_of_fade_in.
-
#foreign_id ⇒ Object
readonly
Returns the value of attribute foreign_id.
-
#foreign_release_id ⇒ Object
readonly
Returns the value of attribute foreign_release_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#key_confidence ⇒ Object
readonly
Returns the value of attribute key_confidence.
-
#loudness ⇒ Object
readonly
Returns the value of attribute loudness.
-
#md5 ⇒ Object
readonly
Returns the value of attribute md5.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#mode_confidence ⇒ Object
readonly
Returns the value of attribute mode_confidence.
-
#num_samples ⇒ Object
readonly
Returns the value of attribute num_samples.
-
#offset_seconds ⇒ Object
readonly
Returns the value of attribute offset_seconds.
-
#preview_url ⇒ Object
readonly
Returns the value of attribute preview_url.
-
#release ⇒ Object
readonly
Returns the value of attribute release.
-
#release_image ⇒ Object
readonly
Returns the value of attribute release_image.
-
#sample_md5 ⇒ Object
readonly
Returns the value of attribute sample_md5.
-
#samplerate ⇒ Object
readonly
Returns the value of attribute samplerate.
-
#song_id ⇒ Object
readonly
Returns the value of attribute song_id.
-
#start_of_fade_out ⇒ Object
readonly
Returns the value of attribute start_of_fade_out.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#synch_version ⇒ Object
readonly
Returns the value of attribute synch_version.
-
#synchstring ⇒ Object
readonly
Returns the value of attribute synchstring.
-
#tempo ⇒ Object
readonly
Returns the value of attribute tempo.
-
#tempo_confidence ⇒ Object
readonly
Returns the value of attribute tempo_confidence.
-
#time_signature ⇒ Object
readonly
Returns the value of attribute time_signature.
-
#time_signature_confidence ⇒ Object
readonly
Returns the value of attribute time_signature_confidence.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#window_seconds ⇒ Object
readonly
Returns the value of attribute window_seconds.
Instance Method Summary collapse
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Echowrap::Base
Instance Attribute Details
#album_date ⇒ Object (readonly)
Returns the value of attribute album_date.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def album_date @album_date end |
#album_name ⇒ Object (readonly)
Returns the value of attribute album_name.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def album_name @album_name end |
#album_type ⇒ Object (readonly)
Returns the value of attribute album_type.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def album_type @album_type end |
#analysis_channels ⇒ Object (readonly)
Returns the value of attribute analysis_channels.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def analysis_channels @analysis_channels end |
#analysis_sample_rate ⇒ Object (readonly)
Returns the value of attribute analysis_sample_rate.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def analysis_sample_rate @analysis_sample_rate end |
#analyzer_version ⇒ Object (readonly)
Returns the value of attribute analyzer_version.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def analyzer_version @analyzer_version end |
#artist ⇒ Object (readonly)
Returns the value of attribute artist.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def artist @artist end |
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def attributes @attributes end |
#audio_md5 ⇒ Object (readonly)
Returns the value of attribute audio_md5.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def audio_md5 @audio_md5 end |
#bitrate ⇒ Object (readonly)
Returns the value of attribute bitrate.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def bitrate @bitrate end |
#catalog ⇒ Object (readonly)
Returns the value of attribute catalog.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def catalog @catalog end |
#code_version ⇒ Object (readonly)
Returns the value of attribute code_version.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def code_version @code_version end |
#codestring ⇒ Object (readonly)
Returns the value of attribute codestring.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def codestring @codestring end |
#decoder ⇒ Object (readonly)
Returns the value of attribute decoder.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def decoder @decoder end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def duration @duration end |
#echoprint_version ⇒ Object (readonly)
Returns the value of attribute echoprint_version.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def echoprint_version @echoprint_version end |
#echoprintstring ⇒ Object (readonly)
Returns the value of attribute echoprintstring.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def echoprintstring @echoprintstring end |
#end_of_fade_in ⇒ Object (readonly)
Returns the value of attribute end_of_fade_in.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def end_of_fade_in @end_of_fade_in end |
#foreign_id ⇒ Object (readonly)
Returns the value of attribute foreign_id.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def foreign_id @foreign_id end |
#foreign_release_id ⇒ Object (readonly)
Returns the value of attribute foreign_release_id.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def foreign_release_id @foreign_release_id end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def id @id end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def key @key end |
#key_confidence ⇒ Object (readonly)
Returns the value of attribute key_confidence.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def key_confidence @key_confidence end |
#loudness ⇒ Object (readonly)
Returns the value of attribute loudness.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def loudness @loudness end |
#md5 ⇒ Object (readonly)
Returns the value of attribute md5.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def md5 @md5 end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def mode @mode end |
#mode_confidence ⇒ Object (readonly)
Returns the value of attribute mode_confidence.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def mode_confidence @mode_confidence end |
#num_samples ⇒ Object (readonly)
Returns the value of attribute num_samples.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def num_samples @num_samples end |
#offset_seconds ⇒ Object (readonly)
Returns the value of attribute offset_seconds.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def offset_seconds @offset_seconds end |
#preview_url ⇒ Object (readonly)
Returns the value of attribute preview_url.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def preview_url @preview_url end |
#release ⇒ Object (readonly)
Returns the value of attribute release.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def release @release end |
#release_image ⇒ Object (readonly)
Returns the value of attribute release_image.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def release_image @release_image end |
#sample_md5 ⇒ Object (readonly)
Returns the value of attribute sample_md5.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def sample_md5 @sample_md5 end |
#samplerate ⇒ Object (readonly)
Returns the value of attribute samplerate.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def samplerate @samplerate end |
#song_id ⇒ Object (readonly)
Returns the value of attribute song_id.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def song_id @song_id end |
#start_of_fade_out ⇒ Object (readonly)
Returns the value of attribute start_of_fade_out.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def start_of_fade_out @start_of_fade_out end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def status @status end |
#synch_version ⇒ Object (readonly)
Returns the value of attribute synch_version.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def synch_version @synch_version end |
#synchstring ⇒ Object (readonly)
Returns the value of attribute synchstring.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def synchstring @synchstring end |
#tempo ⇒ Object (readonly)
Returns the value of attribute tempo.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def tempo @tempo end |
#tempo_confidence ⇒ Object (readonly)
Returns the value of attribute tempo_confidence.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def tempo_confidence @tempo_confidence end |
#time_signature ⇒ Object (readonly)
Returns the value of attribute time_signature.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def time_signature @time_signature end |
#time_signature_confidence ⇒ Object (readonly)
Returns the value of attribute time_signature_confidence.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def time_signature_confidence @time_signature_confidence end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def title @title end |
#window_seconds ⇒ Object (readonly)
Returns the value of attribute window_seconds.
5 6 7 |
# File 'lib/echowrap/track.rb', line 5 def window_seconds @window_seconds end |
Instance Method Details
#audio_summary ⇒ Echowrap::AudioSummary
16 17 18 |
# File 'lib/echowrap/track.rb', line 16 def audio_summary @audio_summary ||= Echowrap::AudioSummary.new(@attrs[:audio_summary]) end |