Sha256: 4b2112443de92f19506ad8d13c85d6eba2560e46fddb062e938c03cc8160e184

Contents?: true

Size: 322 Bytes

Versions: 8

Compression:

Stored size: 322 Bytes

Contents

class Segment < Section
  attr_reader :loudness, :max_loudness, :pitches, :timbre

  def initialize(start, duration, confidence, loudness, max_loudness, pitches, timbre)
    super(start, duration, confidence)

    @loudness = loudness
    @max_loudness = max_loudness
    @pitches = pitches
    @timbre = timbre
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ruby-echonest-0.5.0 lib/echonest/element/segment.rb
ruby-echonest-0.4.0 lib/echonest/element/segment.rb
bassnode-ruby-echonest-0.1.3 lib/echonest/element/segment.rb
ruby-echonest-0.3.0 lib/echonest/element/segment.rb
ruby-echonest-0.2.0 lib/echonest/element/segment.rb
ruby-echonest-0.1.2 lib/echonest/element/segment.rb
bassnode-ruby-echonest-0.1.2 lib/echonest/element/segment.rb
ruby-echonest-0.1.1 lib/echonest/element/segment.rb