Read tempo from sound attribute

This commit is contained in:
Matthias Neeracher 2007-09-03 14:22:57 +00:00
parent df591b87c9
commit 3129131eeb

View File

@ -176,6 +176,9 @@ class MusicXMLListener
elsif attrs['coda'] elsif attrs['coda']
@meas['coda'] = true @meas['coda'] = true
end end
if attrs['tempo']
OUTPUT['tempo'] = attrs['tempo'].to_i
end
when 'divisions' then when 'divisions' then
@kind = 'prop' @kind = 'prop'
@key = 'divisions' @key = 'divisions'