Sha256: 5c5dde187a6c6372e1a0b78146e3d808df8125a3fd075838eb1c515f812e4df1

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

class HeadMusic::Measure
  attr_reader :composition

  delegate :key_signature, :meter, to: :composition

  def initialize(composition)
    @composition = composition
  end

  # TODO: encapsulate key changes and meter changes
  # Assume the key and meter of the previous measure
  # all the way back to the first measure,
  # which defaults to the key and meter of the composition
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
head_music-0.8.0 lib/head_music/measure.rb
head_music-0.7.0 lib/head_music/measure.rb