y0n3l / abc4j

Automatically exported from code.google.com/p/abc4j
2 stars 0 forks source link

Issue with notes tied across multiple bars #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using abc4j v0.5's abc.midi.TunePlayer, the following two lines sound 
differently:
D4DDD2-|D2E2F4|
D4DDD2|-D2E2F4|

These lines are identical except for the location of the tie symbol "-".  
However, when playing them the tie symbol is ignored in the bottom line.  The 
tie should be recognized regardless of whether the tie symbol occurs before or 
after the bar line.
I'm not sure if this is an issue with the score display as well, as I only use 
the MIDI functions of the library.

Original issue reported on code.google.com by JonMarkH...@gmail.com on 3 Jul 2010 at 1:58

GoogleCodeExporter commented 9 years ago
The same goes for graphical rendition. The second line has no tie.

According to the standards (here ABC v2.1 draft 
http://abcnotation.com/wiki/abc:standard:v2.1#ties_and_slurs)

You can tie two notes of the same pitch together, within or between bars, with 
a - symbol, e.g. abc-|cba or c4-c4. The tie symbol must always be adjacent to 
the first note of the pair, but does not need to be adjacent to the second, 
e.g. c4 -c4 and abc|-cba are not legal

Original comment by iubito@gmail.com on 8 Jan 2015 at 8:11