Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Get the current duration for multi-note stems.

  • Loading branch information...
commit d0697183567ff31da4395522f5c40f49f4f092a3 1 parent 83d7ac7
colomon authored May 15, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  bin/abc2ly.pl
4  bin/abc2ly.pl
@@ -167,8 +167,8 @@ (ABC::Header $header, $out)
167 167
             
168 168
             when ABC::Stem {
169 169
                 " <" ~ $stem.notes.map({ $.context.get-Lilypond-pitch($_.pitch) }).join(' ') ~ ">"
170  
-                     ~ $.context.get-Lilypond-duration($stem.notes[0])
171  
-                     ~ ($stem.notes[0].is-tie ?? '~' !! '')
  170
+                     ~ $.context.get-Lilypond-duration($stem)
  171
+                     ~ ($stem.is-tie ?? '~' !! '')
172 172
                      ~ $suffix
173 173
                      ~ " ";
174 174
             }

0 notes on commit d069718

Please sign in to comment.
Something went wrong with that request. Please try again.