Sha256: a85e485a5a993e88fd153fc8b5c370ef538d17c2454813c8098ef8996baa73c5
Contents?: true
Size: 745 Bytes
Versions: 1
Compression:
Stored size: 745 Bytes
Contents
module Scissor module Echonest module Meta module Beat def self.init(obj, beat) obj.extend self obj.instance_eval { @confidence = beat.confidence @start = beat.start } end attr_reader :confidence, :start end module Segment def self.init(obj, segment) obj.extend self obj.instance_eval { @start = segment.start @loudness = segment.loudness @max_loudness = segment.max_loudness @pitches = segment.pitches @timbre = segment.timbre } end attr_reader :start, :loudness, :max_loudness, :pitches, :timbre end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
youpy-scissor-echonest-0.0.3 | lib/scissor/echonest/meta.rb |