Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Stiamh on October 26, 2015, 01:03:08 PM

Title: Problem with first- and second-time boxes
Post by: Stiamh on October 26, 2015, 01:03:08 PM
Can somebody tell me what I am doing wrong? When I run the abc tune below through abcm2ps and then ghostscript, I cannot get the very long (nine bars each) first- and second-time boxes to display correctly. The lines peter out after a couple of bars - see attached pdf.

This version (arrived at after much tinkering) displays correctly in Clive's viewer at http://www.clivew.com/abc.php and other similar viewers. But I want it to work using abcm2ps & ghostscript because I use them to spit out an entire lengthy tunebook. Am I using incorrect syntax?

I could of course write out the entire second part but I'd like to be able to save a line so that I can get another tune on the same page. And I'd like to know whether this is a bug in abcm2ps.

Another option might be to use a dal segno al fine instruction, which would save a line: the "segno" would go at the beginning of the second line of the A part, but I don't know how "fine" would work with the first- and second-time boxes at the end of that part. (And this instruction would probably confuse the average traddie!)

Thanks in advance for all comments*

Code: [Select]
X:222
T:THE TRIP WE TOOK OVER THE MOUNTAIN
R:Waltz (for Waltz Cotillion)
Z:Steve Jones
M:3/4
L:1/8
K:G
D2 GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AG|F3 A GF|
D2 GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AF |[1G4 GE:|[2G4 Bd|]
|:g2 d2 d2|g2 a2 g2|f2 d2 e2|=f3 g a^f|g2 d2 de|d2 c2 A2|G3 B AG|
[1 F4 Bd|g2 d2 d2|g2 a2 g2|f2 d2 e2|=f3 g a^f|g2 d2 de|d2 c2 A2|G3 B AF|G2 B2d2:|
[2 F3 A GF| GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AF |G4-G2|]

* except rude ones from Sebastian  :P
Title: Re: Problem with first- and second-time boxes
Post by: Anahata on October 26, 2015, 02:59:51 PM
The PDF looks like a perfectly good rendition of the ABC. What were you expecting?
Title: Re: Problem with first- and second-time boxes
Post by: Stiamh on October 26, 2015, 03:10:06 PM
I was expecting the [1 and [2 lines not to "peter out after a couple of bars". They don't if you paste the ABC code into Clive's viewer.
Title: Re: Problem with first- and second-time boxes
Post by: Anahata on October 26, 2015, 03:17:17 PM
That's normal. The lines don't have to go all the way to the repeat mark and any musician would be able to read it without any trouble. You could extend the line all the way,but that would be a purely typographical decision, and in any case could interfere with other markings or notes, or make the music harder to read.
Title: Re: Problem with first- and second-time boxes
Post by: Stiamh on October 26, 2015, 03:22:50 PM
I'm glad to know that, thank you. I was puzzled as to why only on that tune the lines did not extend, when they do in a couple of other examples I have of long first- and second-time repeats. Perhaps acbm2ps "draws the line" at 8 bars? Where abcjs apparently doesn't.
Title: Re: Problem with first- and second-time boxes
Post by: Chris Ryall on October 26, 2015, 06:37:22 PM
Anyone else hate the way dots written music rolls as a continuum rather than reflects the structure of the tune?

I can see why it makes sense in classical, but in 24, 32 bar folk stuff I tend (rare excursions) to block it in 4's or 8's. Yes, I know that's wrong, but then no one has ever shown me not to do it ;)
Title: Re: Problem with first- and second-time boxes
Post by: Steve_freereeder on October 27, 2015, 01:02:48 AM
Anyone else hate the way dots written music rolls as a continuum rather than reflects the structure of the tune?

I can see why it makes sense in classical, but in 24, 32 bar folk stuff I tend (rare excursions) to block it in 4's or 8's. Yes, I know that's wrong, but then no one has ever shown me not to do it ;)

I don't think it's wrong at all. On the contrary. Written music notation is all about communicating to the musician the way the music is to be played, whether it is composed 'classical' music or traditional 'anon' music. Any method which enables the player to understand the structure of the music better is going to result in a more musical performance. Carry on laying your music out in logical 4 or 8 bar sections, Chris; - I do it all the time.  :D
Title: Re: Problem with first- and second-time boxes
Post by: Jack Campin on October 27, 2015, 01:22:08 AM
I use power-of-2-bar staff lines whenever possible, and go a bit further by putting upbeats at the start of a line so that phrases are never broken across line breaks.  Layout like that is often done for Highland pipe music, is sometimes used in ethnomusicological transcription, and has frequently been used for songs when you want the text lines to be primary and the music aligned to reflect poetic structure.  It's not a new idea, it's a very old and persistent minority practice.

Try to do it with a free-form Mozart operatic aria and you rapidly get stuck.  It doesn't work for everything.
Title: Re: Problem with first- and second-time boxes
Post by: Jack Campin on October 28, 2015, 01:15:09 PM
In this example, the way you originally posted the tune does block it the way Chris had in mind.  When the alternate endings take up complete staff lines, you don't need a line over each one to cue you into their structural role.

It's very common in Highland pipe music for first- and second-time repeats to be presented on a complete line.  This can lead to considerable economy, since a multi-part march may often use a structure like having a four-bar closing unit at the end of the first part, repeated exactly, which recurs as the second-time ending for the last part.  If you've got these chunks on separate lines it's easy enough to follow a notation which says that verbally - put all the notation in a continuous "paragraph" optimized for note spacing (the norm in mainstream music typesetting) and it would be much harder to see where to go.

ABC's part construct allows for extreme compression along those lines, though it's unconventional and takes a bit of getting used to.

Code: [Select]
X:1
T:The Heights of Dargai
M:9/8
L:1/8
P:ABAC DBDC
K:Hp
[P:A] e|A>Bc e3 c2e |f>df e3 c3||[P:B] a>gf e3 A>ce|f>ec B3-B2||
[P:D] B|A>Be f3 f>df|a>gf e3 c3||[P:C] a>gf e3 B2e |c>Bc A3-A2|]
SimplePortal 2.3.5 © 2008-2012, SimplePortal