From 3129131eebc7444d9826f6605b67a84800b3a91b Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Mon, 3 Sep 2007 14:22:57 +0000 Subject: [PATCH] Read tempo from sound attribute --- Filters/VLMusicXMLType.reader | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Filters/VLMusicXMLType.reader b/Filters/VLMusicXMLType.reader index faaef8c..0787c39 100755 --- a/Filters/VLMusicXMLType.reader +++ b/Filters/VLMusicXMLType.reader @@ -176,6 +176,9 @@ class MusicXMLListener elsif attrs['coda'] @meas['coda'] = true end + if attrs['tempo'] + OUTPUT['tempo'] = attrs['tempo'].to_i + end when 'divisions' then @kind = 'prop' @key = 'divisions'