Method: Musicality::ScoreConverter.convert_changes

Defined in:
lib/musicality/notation/conversion/score_converter.rb

.convert_changes(changes, offset_map) ⇒ Object



6
7
8
9
10
# File 'lib/musicality/notation/conversion/score_converter.rb', line 6

def self.convert_changes changes, offset_map
  Hash[ changes.map do |off,change|
    [ offset_map[off], change.remap(off,offset_map) ]
  end ]    
end