Skip to content

Commit

Permalink
Get the current duration for multi-note stems.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed May 15, 2012
1 parent 83d7ac7 commit d069718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/abc2ly.pl
Expand Up @@ -167,8 +167,8 @@ (ABC::Header $header, $out)


when ABC::Stem { when ABC::Stem {
" <" ~ $stem.notes.map({ $.context.get-Lilypond-pitch($_.pitch) }).join(' ') ~ ">" " <" ~ $stem.notes.map({ $.context.get-Lilypond-pitch($_.pitch) }).join(' ') ~ ">"
~ $.context.get-Lilypond-duration($stem.notes[0]) ~ $.context.get-Lilypond-duration($stem)
~ ($stem.notes[0].is-tie ?? '~' !! '') ~ ($stem.is-tie ?? '~' !! '')
~ $suffix ~ $suffix
~ " "; ~ " ";
} }
Expand Down

0 comments on commit d069718

Please sign in to comment.