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: Moving trills in ABC  (Read 1815 times)

0 Members and 1 Guest are viewing this topic.

Bob Ellis

  • Hero?....Where's my medal, then?
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2878
  • Ain't I cute?
Moving trills in ABC
« on: February 24, 2021, 06:38:12 PM »

I am probably being very slow-witted (nothing new there, then  ::)) but I have just added some trills to the tune below and they clash with the bass line (see Bars 11 and 15). How does one move them so that they do not interfere with the basses?

X:1
T:Ad\`ele Blanc-Sec
M:2/4
L:1/8
C:Frédéric Paris
O:Auvergne
R:Schottische
Z:Bob Ellis, 2021
K:Dm
"Dm"F1/2E1/2F1/2A1/2 "G"G1/2F1/2G1/2B1/2|"Dm"A"G"E2F1/2G1/2|"F"A3/2A1/2 "Bb"B1/2A1/2B1/2c1/2|"Dm"A3/2G1/2 "Am"A1/2B1/2A1/2G1/2|
"Dm"F1/2E1/2F1/2A1/2 "G"G1/2F1/2G1/2B1/2|"Dm"A"G"E2F1/2G1/2|"d"A"G"G1/2F1/2 "C"E1/2F1/2G1/2A1/2|[1"Dm"D2-DE:|[2"Dm"D3F1/2A1/2|:
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2 "F"A2|"g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|"d"A1/2G1/2"G"E1/2G1/2 "Dm"FD1/2A1/2| 
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2"F"A2|"g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|[1"d"A1/2G1/2"G"E1/2F1/2 "Dm"D3/2A1/2 :|[2"d"G1/2G1/2"G"E1/2F1/2 "Dm"D3/2E1/2 |]
Logged
Bob in beautiful Wensleydale, Les Panards Dansants, Crook Morris and the Loose Knit Band.
Clément Guais 3-row D/G/acc.; Castagnari 1914 D/G; Karntnerland Steirische 3-row G/C/F; Ellis Pariselle 2.6-row D/G/acc.; Gabbanelli Compact 2-row D/G with lots of bling, pre-war Hohner Bb/F; Acadian one-row in D.

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF
Re: Moving trills in ABC
« Reply #1 on: February 24, 2021, 07:43:14 PM »

Bob,

I love abc. I was an early adopter. Most days I write at least one abc file - transcriptions, experiments, work in progress, et. al..

There are some things that are difficult to control and there are some things that are difficult to explain or justify. It is akin to the early days of html when heinous crimes were allowable.

It is the lax nature of abc that allows sharing. Proliferated files can contain errors and/or consistencies - this is what makes it work - and also what makes it not work.

I am making no criticism here. I have long since embraced this awkwardness. If you want more control over layout I would suggest lilypond.

FWIW I have attached a pdf realisation of you abc code made using abcm2ps on my creaking 32bit linux box. I note no difficulties.
« Last Edit: February 24, 2021, 07:47:01 PM by Mike Hirst »
Logged
Semper idem, sed non eodem modo

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Moving trills in ABC
« Reply #2 on: February 24, 2021, 08:06:19 PM »

If I use !trill! it looks fine in my editor. The basses sit above the trill.
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF
Re: Moving trills in ABC
« Reply #3 on: February 24, 2021, 08:11:02 PM »

Bob,
I must apologies for the rather pompous tone in my previous message. Looking back it feels like I am suggesting that you don't know jack sh*t about abc. Of course this is not true. I know you to be both agile and erudite in all things. I just meant to say that no matter how clever one is with abc, you will always come across the odd stumbling block.  :-[
Logged
Semper idem, sed non eodem modo

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Moving trills in ABC
« Reply #4 on: February 24, 2021, 08:20:18 PM »

If I use !trill! it looks fine in my editor. The basses sit above the trill.

I normally use MC music editor. I just tried it Easyabc. It definitely looked a bit cramped. The PDFs generated by the different programs look a bit different as well. Looks like the default layouts are a bit different. Chris P is good at that stuff [as are others, Pete Dunk comes to mind].
« Last Edit: February 24, 2021, 08:23:25 PM by Tone Dumb Greg »
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Online Online
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Moving trills in ABC
« Reply #5 on: February 24, 2021, 08:58:15 PM »

Works OK here, on Linux like Mike but 64 bit and using abcm2ps-8.14.2. The "tr" and bass letter are a bit closer together on mine than they are on Mike's example. Some of my default spacing settings may be non standard.

Bob, if your software has settings for vertical spacing of guitar chords and music symbols there might be something you can tweak.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Calum

  • Good talker
  • **
  • Offline Offline
  • Posts: 97
Re: Moving trills in ABC
« Reply #6 on: February 24, 2021, 09:10:57 PM »

If I were to make a criticism of the abcm2ps codebase, it's not very good at dealing with vertical issues in general.

The trill marking is shoving the chords up a bit, just not quite enough.  I thought I'd be clever and try moving the one colliding chord with "@0,50g" but that causes the whole chord row to fail to recognise that it collides, and hence it becomes even worse! 
Logged

Alan Pittwood

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 211
Re: Moving trills in ABC
« Reply #7 on: February 24, 2021, 10:44:23 PM »

I am probably being very slow-witted (nothing new there, then  ::)) but I have just added some trills to the tune below and they clash with the bass line (see Bars 11 and 15). How does one move them so that they do not interfere with the basses?

You can move the position of the chord symbols to below the stave by:-
V:1 gchord=down

and you can change the font and the font size of the chord symbols by:-
%%gchordfont Arial, 16          [here the font is set to Arial and the font size to 16]

You could put these into the header of the tune, say, immediately above the line K:Dm

Z:Bob Ellis, 2021
%%gchordfont Arial, 16
V:1 gchord=down
K:Dm
« Last Edit: February 24, 2021, 10:51:43 PM by Alan Pittwood »
Logged
The "sound of Hohner" D/G for Morris and C#/D for everything else.

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Moving trills in ABC
« Reply #8 on: February 24, 2021, 10:51:09 PM »

The layout may not suit you Greg but if you print the chords below the stave you avoid the clash with the 'trill' symbol above the stave. It looks better in a PDF than it does in my ABC editor (Explorer). I agree with Mike Hurst that ABC is simply not very good at some things, I still love it though.  ;D   Oh, Alan beat me to it!



X:1
T:Adèle Blanc-Sec
M:2/4
L:1/8
C:Frédéric Paris
O:Auvergne
R:Schottische
V:1 gchord=down
V:2
Z:Bob Ellis, 2021
K:Dm
V:1
"Dm"F1/2E1/2F1/2A1/2 "G"G1/2F1/2G1/2B1/2|"Dm"A"G"E2F1/2G1/2|"F"A3/2A1/2 "Bb"B1/2A1/2B1/2c1/2|"Dm"A3/2G1/2 "Am"A1/2B1/2A1/2G1/2|
"Dm"F1/2E1/2F1/2A1/2 "G"G1/2F1/2G1/2B1/2|"Dm"A"G"E2F1/2G1/2|"d"A"G"G1/2F1/2 "C"E1/2F1/2G1/2A1/2|[1"Dm"D2-DE:|[2"Dm"D3F1/2A1/2|:
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2 "F"A2|"g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|"d"A1/2G1/2"G"E1/2G1/2 "Dm"FD1/2A1/2|
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2"F"A2|"g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|[1"d"A1/2G1/2"G"E1/2F1/2 "Dm"D3/2A1/2 :|[2"d"G1/2G1/2"G"E1/2F1/2 "Dm"D3/2E1/2 |]
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Moving trills in ABC
« Reply #9 on: February 25, 2021, 01:24:39 AM »

Bob,

If you don't like the idea of having all the bass/chords symbols below the stave by using the global V:1 gchord=down instruction, you could simply put just the bass symbols below the stave in the two places where clash occurs. Use an underscore _ in front of the chord symbol to force it below the stave. The trill symbol remains unaffected. Like this:

|"_g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|

It's not ideal, but as others have pointed out, this seems to be an example of a shortcoming of ABC.
Of course, you could always use Musescore (which I know you use) and adjust the vertical separation manually, if it doesn't do it automatically (later versions of Musescore do it automatically). 
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Moving trills in ABC
« Reply #10 on: February 25, 2021, 08:55:29 AM »

The layout may not suit you Greg ...

It's not my problem Pete. I just thought you might have a solution  ;D
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Bob Ellis

  • Hero?....Where's my medal, then?
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2878
  • Ain't I cute?
Re: Moving trills in ABC
« Reply #11 on: February 25, 2021, 10:02:23 AM »

Thanks for all the suggestions, folks. It is disappointing to learn that this problem is due to a limitation of ABC rather than my own incompetence!

The score is for inclusion in the Panards Tunebook, Volume 2, which is currently in production, on which I am collaborating with Petra Ruelecke and Yannick Minvielle-Debat. Consequently, I have to conform to an agreed common ABC-based format that is consistent with Volume 1, which was published some years ago. This places the bass line above the stave. I tried following Steve's suggestion of placing individual basses below the stave where they interfere with trills, but this left the trill almost indistinguishable from the basses either side of it. I will try this morning to alter the font of the trills or to put them into italics and/or bold to see whether that helps.
Logged
Bob in beautiful Wensleydale, Les Panards Dansants, Crook Morris and the Loose Knit Band.
Clément Guais 3-row D/G/acc.; Castagnari 1914 D/G; Karntnerland Steirische 3-row G/C/F; Ellis Pariselle 2.6-row D/G/acc.; Gabbanelli Compact 2-row D/G with lots of bling, pre-war Hohner Bb/F; Acadian one-row in D.

Bob Ellis

  • Hero?....Where's my medal, then?
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2878
  • Ain't I cute?
Re: Moving trills in ABC
« Reply #12 on: February 25, 2021, 10:14:32 AM »

I have used "_tr" to move the trills below the stave, which is the best solution i have found so far. It would be even better if I could put the tr in bold and/or italics. Is there a way of doing this?
Logged
Bob in beautiful Wensleydale, Les Panards Dansants, Crook Morris and the Loose Knit Band.
Clément Guais 3-row D/G/acc.; Castagnari 1914 D/G; Karntnerland Steirische 3-row G/C/F; Ellis Pariselle 2.6-row D/G/acc.; Gabbanelli Compact 2-row D/G with lots of bling, pre-war Hohner Bb/F; Acadian one-row in D.

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Moving trills in ABC
« Reply #13 on: February 25, 2021, 11:24:19 AM »

Thanks for all the suggestions, folks. It is disappointing to learn that this problem is due to a limitation of ABC rather than my own incompetence!

The score is for inclusion in the Panards Tunebook, Volume 2, which is currently in production, on which I am collaborating with Petra Ruelecke and Yannick Minvielle-Debat. ...

Just a thought, Bob. Do your collaborators have a take on this? Have they encountered the same issue?
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Bob Ellis

  • Hero?....Where's my medal, then?
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2878
  • Ain't I cute?
Re: Moving trills in ABC
« Reply #14 on: February 25, 2021, 12:02:15 PM »

Their view was to leave out the trills, but I'm reluctant to do that since they were included in Frédéric Paris' original notation of the tune.
Logged
Bob in beautiful Wensleydale, Les Panards Dansants, Crook Morris and the Loose Knit Band.
Clément Guais 3-row D/G/acc.; Castagnari 1914 D/G; Karntnerland Steirische 3-row G/C/F; Ellis Pariselle 2.6-row D/G/acc.; Gabbanelli Compact 2-row D/G with lots of bling, pre-war Hohner Bb/F; Acadian one-row in D.

Alan Pittwood

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 211
Re: Moving trills in ABC
« Reply #15 on: February 25, 2021, 12:57:27 PM »

I have used "_tr" to move the trills below the stave, which is the best solution i have found so far. It would be even better if I could put the tr in bold and/or italics. Is there a way of doing this?

In this setting: (1) bass/chords are above the stave and (2) the tr for trill is above the stave

X:222
T:Adèle Blanc-Sec 2
M:2/4
L:1/8
C:Frédéric Paris
O:Auvergne
R:Schottische
Z:Bob Ellis, 2021
K:Dm
"Dm"F1/2E1/2F1/2A1/2 "G"G1/2F1/2G1/2B1/2|"Dm"A"G"E2F1/2G1/2|"F"A3/2A1/2 "Bb"B1/2A1/2B1/2c1/2|"Dm"A3/2G1/2 "Am"A1/2B1/2A1/2G1/2|
"Dm"F1/2E1/2F1/2A1/2 "G"G1/2F1/2G1/2B1/2|"Dm"A"G"E2F1/2G1/2|"d"A"G"G1/2F1/2 "C"E1/2F1/2G1/2A1/2|[1"Dm"D2-DE:|[2"Dm"D3F1/2A1/2|:
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2 "F"A2|"g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|"d"A1/2G1/2"G"E1/2G1/2 "Dm"FD1/2A1/2|
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2"F"A2|"g"TB"Dm"A1/2G1/2 "Am"E3/2B1/2|[1"d"A1/2G1/2"G"E1/2F1/2 "Dm"D3/2A1/2 :|[2"d"G1/2G1/2"G"E1/2F1/2 "Dm"D3/2E1/2 |]


When run in ABC Explorer the bass/chord symbols default to a san serif font
and                                    the tr defaults to a serif font bold


« Last Edit: February 25, 2021, 01:01:18 PM by Alan Pittwood »
Logged
The "sound of Hohner" D/G for Morris and C#/D for everything else.

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Moving trills in ABC
« Reply #16 on: February 25, 2021, 01:17:40 PM »

Their view was to leave out the trills, but I'm reluctant to do that since they were included in Frédéric Paris' original notation of the tune.

OK. How about instead of using the trill code, use something like a footnote indication appearing below the stave, so like this:

either ex.1
|"g" "_*" B"Dm"A1/2G1/2 "Am"E3/2B1/2|

or ex.2
|"g" "_(1)" B"Dm"A1/2G1/2 "Am"E3/2B1/2|

Example 1 should put an asterisk below the stave; example 2 should put '(1)' below the stave.
You could then add a text comment below the tune to the effect that:
* Frédéric Paris notated a trill on these notes,
or
(1) Frédéric Paris notated a trill on these notes.
« Last Edit: February 25, 2021, 01:22:24 PM by Steve_freereeder »
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Moving trills in ABC
« Reply #17 on: February 25, 2021, 02:07:31 PM »

Their view was to leave out the trills, but I'm reluctant to do that since they were included in Frédéric Paris' original notation of the tune.

I suppose it depends on who is leading the project. If it's you, you can change the rules to what you think works. If the project leader is one, or both, of them, do what they want. If it's an informal project, do your own thing, but let your collaborators know what you've done.
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Moving trills in ABC
« Reply #18 on: February 25, 2021, 02:26:33 PM »

I tried putting putting a dummy blank chord in before the other chord and trill statements (i.e., " "). Seemed to help.

X:1
T:Ad\`ele Blanc-Sec
M:2/4
L:1/8
C:Frédéric Paris
O:Auvergne
R:Schottische
Z:Bob Ellis, 2021
K:Dm
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2 "F"A2|" ""g""Dm"TBA1/2G1/2 "Am"E3/2B1/2|"d"A1/2G1/2"G"E1/2G1/2 "Dm"FD1/2A1/2|
"Dm"dc1/2B1/2 "C"A1/2B1/2c1/2d1/2|"Bb"G1/2A1/2B1/2c1/2"F"A2|" ""g""Dm"TBA1/2G1/2 "Am"E3/2B1/2|[1"d"A1/2G1/2"G"E1/2F1/2 "Dm"D3/2A1/2 :|[2"d"G1/2G1/2"G"E1/2F1/2 "Dm"D3/2E1/2 |]
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce
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