Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Handle inline_fields properly on abcoctave too!
  • Loading branch information
colomon committed Mar 25, 2014
1 parent 08048d2 commit 57214a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/abcoctave
Expand Up @@ -16,11 +16,11 @@ sub print-header($out, $header) {

sub print-music($out, @music, &shifter) {
for @music -> $element {
if $element.key eq 'endline' {
say "";
next;
given $element.key {
when 'endline' { say ""; }
when 'inline_field' { print "[{$element.value.key}:{$element.value.value}]"; }
print $element.value ~~ ABC::Pitched ?? ~$element.value.transpose(&shifter) !! $element.value;
}
print $element.value ~~ ABC::Pitched ?? ~$element.value.transpose(&shifter) !! $element.value;
}
}

Expand Down

0 comments on commit 57214a1

Please sign in to comment.