class Segment < Section attr_reader :loudness, :max_loudness, :pitches, :timbre def initialize(start, duration, loudness, max_loudness, pitches, timbre) super(start, duration) @loudness = loudness @max_loudness = max_loudness @pitches = pitches @timbre = timbre end end