class Echowrap::Analysis

Public Instance Methods

bars() click to toggle source
# File lib/echowrap/analysis.rb, line 6
def bars
 @bars ||= map_collection(Echowrap::Bar, :bars)
end
beats() click to toggle source
# File lib/echowrap/analysis.rb, line 10
def beats
  @beats ||= map_collection(Echowrap::Beat, :beats)
end
id() click to toggle source
# File lib/echowrap/analysis.rb, line 14
def id
  @attrs[:meta][:timestamp]
end
meta() click to toggle source
# File lib/echowrap/analysis.rb, line 18
def meta
  @meta ||= Echowrap::Meta.new(@attrs[:meta])
end
sections() click to toggle source
# File lib/echowrap/analysis.rb, line 22
def sections
  @sections ||= map_collection(Echowrap::Section, :sections)
end
segments() click to toggle source
# File lib/echowrap/analysis.rb, line 26
def segments
  @segments ||= map_collection(Echowrap::Segment, :segments)
end
tatums() click to toggle source
# File lib/echowrap/analysis.rb, line 30
def tatums
  @tatums ||= map_collection(Echowrap::Tatum, :tatums)
end
track() click to toggle source
# File lib/echowrap/analysis.rb, line 34
def track
  @track ||= Echowrap::Track.new(@attrs[:track])
end