mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix reading of skipped stanzas
This commit is contained in:
parent
3d072d53d5
commit
f2d286643b
|
@ -232,6 +232,9 @@ class MusicXMLListener
|
|||
when 'lyric'
|
||||
num = (attrs['number'] || "1").to_i-1
|
||||
@note['lyrics'] ||= []
|
||||
(0..num-1).each do |stanza|
|
||||
@note['lyrics'][stanza] ||= {}
|
||||
end
|
||||
@note['lyrics'][num] = @lyric = {}
|
||||
when 'chord'
|
||||
@chord = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user