Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: Volta brackets and invisible bar lines  (Read 1307 times)

0 Members and 1 Guest are viewing this topic.

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Volta brackets and invisible bar lines
« on: July 30, 2019, 03:13:39 PM »

Browsing Guido Gonzato's guide looking for something else I found the answer to a question that has bothered me for some time, and which I asked about on the forum, before there was an ABC subforum (can't find the topic) without getting an answer. Many of you may know this already but perhaps it will help someone.

The problem was with the lines or brackets above 1st- and 2nd-time endings (I learned from Guido that they are called volta brackets, which makes sense, volta meaning time). In one tune I wanted to save space by using 1st- and 2nd-time endings that stretched over 9 bars, and I couldn't get these volta bracket thingos to extend over the entire section. They petered out after two bars (using abcm2ps and gs, or in EasyABC).

The fix turns out to be the %%rbmax formatting command discussed in section 4.1.12 of the the Guido guide (there is a companion command %%rbmin). Including %%rbmax 9 in the code below fixes the problem nicely: volta brackets going the full 9 yards, or rather bars.

Code: [Select]
X:245
T:THE TRIP WE TOOK OVER THE MOUNTAIN
R:Waltz (for Waltz Cotillion)
Z:Steve Jones
M:3/4
L:1/8
K:G
%%rbmax 9
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|D2 GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AF |G4-G2|]


Here's another problem that my browsing allowed me to solve. In the example below (taken from the greatly delayed Identitairs ABC project - which is moving along, lads, never fear), the 2nd-time ending extends over three bars, but the 1st-time ending has only one. With the code below, the volta bracket over the 2nd-time ending extends over only one bar.

Code: [Select]
P:D
M:3/2
A2dc BABc ecec|defe dBAF A2A2|A2dc BABc ecec|
[1 d2ef gfec d2cB :|[2 d2ef gfec d2ef|[M:C|]gagf edcB |AGFD E4|]

Apparently the default value for %%rbmax is 4, so setting a different value here would not solve the problem.

I found the answer in section 2.2.3 of the guide - something I had noticed but not immediately seen the use of. [|] is an "invisible bar" - Guido says it can be used as a placeholder for a decoration. I wondered whether it could solve my problem with the above section, and it did! See below - adding two invisible bar lines to the 1st-time ending (making it technically three bars long) resulted in the volta bracket extending over all three bars of the 2nd-time ending.

Happy camper  (:)  :|glug

Code: [Select]
P:D
M:3/2
A2dc BABc ecec|defe dBAF A2A2|A2dc BABc ecec|
% Invisible bars [|] added to make 2nd volta bracket extend to 3 bars
[1 d2ef gfec d2cB [|] [|] :|[2 d2ef gfec d2ef|[M:C|]gagf edcB |AGFD E4|]

Edited to make the title more explicit
« Last Edit: July 31, 2019, 12:46:21 PM by Stiamh »
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Latest discoveries
« Reply #1 on: July 30, 2019, 04:52:56 PM »

(1) ...they are called volta brackets, which makes sense, volta meaning time)...

(2) ....Here's another problem that my browsing allowed me to solve. In the example below...the 2nd-time ending extends over
three bars, but the 1st-time ending has only one. With the code below, the volta bracket over the 2nd-time ending extends
over only one bar...

...[|] is an "invisible bar" - Guido says it can be used as a placeholder for a decoration. I wondered whether it could solve
my problem with the above section, and it did! See below - adding two invisible bar lines to the 1st-time ending (making it
technically three bars long) resulted in the volta bracket extending over all three bars of the 2nd-time ending...

(1) and here was me, wondering why these brackets were named after Volta (after whom the Volt is named).

(2) co-incidentally, I came across this for the first time only yesterday afternoon. In my case it was two and
three bars respectively. I was thinking "is this a mistake in the ABC, is there a bar missing"? Thank you for the
fix.
« Last Edit: July 30, 2019, 05:10:05 PM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal