Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Thrupenny Bit on April 01, 2022, 10:10:45 AM

Title: Chords up or down?
Post by: Thrupenny Bit on April 01, 2022, 10:10:45 AM
Morning.
I'm going through my personal tunebook and find a tune with chords below the stave, i.e. "G_".
My personal choice is chords above the stave.
Without going through each chord and removing the '_ ' how can I change it to chords up?

( I know Pete Dunk has advised me before, but I didn't make a note, and have forgotten  :-[ )
cheers
Q
Title: Re: Chords up or down?
Post by: Anahata on April 01, 2022, 10:44:32 AM
Won't an editor global find and replace do it? replace [_"] with ["].
Title: Re: Chords up or down?
Post by: Tone Dumb Greg on April 01, 2022, 11:05:21 AM
Try this


%%pos gchord below

[found the original thread here

http://forum.melodeon.net/index.php?topic=27519.msg331417#msg331417]
Title: Re: Chords up or down?
Post by: Thrupenny Bit on April 01, 2022, 01:31:30 PM
Thanks guys... sorted!
Q
Title: Re: Chords up or down?
Post by: Tone Dumb Greg on April 01, 2022, 01:47:09 PM
You could save it to your template,  if you wanted.
Title: Re: Chords up or down?
Post by: Thrupenny Bit on April 01, 2022, 03:59:27 PM
Yes... if I had a template  ;D
...but take the point.
Cheers
Q
Title: Re: Chords up or down?
Post by: Roger Hare on April 01, 2022, 05:31:03 PM
Try this

%%pos gchord below

[found the original thread here

http://forum.melodeon.net/index.php?topic=27519.msg331417#msg331417]

Oh, I see that link points to one of my 'contributions' to this august gathering.

I'll add that it's a bit of a rat's nest. According to my understanding, "G_" isn't a 'legal' accompaniment
chord specification. If G-flat is intended, I think it must be specified as "Gb"? I guess it's OK to do it that
way if you just want the printed score, but I'm not sure that it plays back correctly (though I know that
many folks don't  really use the playback feature  of ABC).

It gets even more confusing if folks use the accompaniment chord syntax to specify a text annotation
(eg: "text annotation"), or text annotation syntax to specify an accompaniment chord (eg: "_chord").

I've also seen accompaniment chord syntax used to specify start-of-line bar numbers and part names
(eg: "5" and "A"). The second one is particularly evil because A is often used as a  part name, but it's
also a legal chord name. All a bit confusing really...
Title: Re: Chords up or down?
Post by: Tone Dumb Greg on April 01, 2022, 05:50:03 PM

 According to my understanding, "G_" isn't a 'legal' accompaniment
chord specification. If G-flat is intended, I think it must be specified as "Gb"? I guess it's OK to do it that
way if you just want the printed score, but I'm not sure that it plays back correctly (though I know that
many folks don't  really use the playback feature  of ABC).[/font]).
.

Said cautiously (I haven't double checked), "_G" plays back as a G major chord on my preferred software (mcmusic editor). "_Gb" works as Gb and both of them  preview and  print below the score. The %%pos gchord below is a global positioning command (or something of the kind, I think)

I am not a fan of learning how tunes go from the sort of midi playback you get from a abc, but plenty of others seem to be. Personally, I get more from just looking at the score.
Title: Re: Chords up or down?
Post by: Thrupenny Bit on April 01, 2022, 06:08:00 PM
"_G" does play back as G major.

I do wonder if the underscore confused the abc.
I went to the thread and tried the old and new %% command but whatever it tried didn't seem to work to make chords appear on the top.
I ended up flipping through the tune and taking out the '_' as I was needed elsewhere and didn't have too much time to play with it.

Later I'll go back to another tune and test which works for me to change chords up or down.
Title: Re: Chords up or down?
Post by: Roger Hare on April 01, 2022, 06:09:25 PM
Said cautiously (I haven't double checked), "_G" plays back as a G major chord on my preferred software (mcmusic editor). "_Gb" works as Gb and both of them  preview and  print below the score. The %%pos gchord below is a global positioning command (or something of the kind, I think)

I am not a fan of learning how tunes go from the sort of midi playback you get from a abc, but plenty of others seem to be. Personally, I get more from just looking at the score.
I think mcmusic editor is possibly performing above and beyond the call of duty here?

I'm not familiar with the mcmusic program (I'm an EasyABC-er), but that seems to be a possible area of
confusion because different programs do different stuff. Is it "_G" (a legal text annotation which puts a G
below the staff), or "G_" (an accompaniment chord of doubtful legality)? Being a pedantic bastard helps
me here - I just stick to the rules as I understand 'em - so far, using EasyABC,  I haven't had any problems
(there's a hostage to fortune, if you like... 8)).

It's a nightmare...
Title: Re: Chords up or down?
Post by: Tone Dumb Greg on April 01, 2022, 06:17:07 PM
Ah. I didn't realise they already had an underscore and you wanted them up.  :-\ :-\ :-\  I don't think "G_" is anything apart from a text command that will print G_ above the score and yes, delete the redundant underscores and they should default to up..
Title: Re: Chords up or down?
Post by: Roger Hare on April 01, 2022, 06:21:42 PM
"_G" does play back as G major.

I do wonder if the underscore confused the abc.
I went to the thread and tried the old and new %% command but whatever it tried didn't seem to work to make chords appear on the top.
I ended up flipping through the tune and taking out the '_' as I was needed elsewhere and didn't have too much time to play with it.

Later I'll go back to another tune and test which works for me to change chords up or down.
I just checked this (you got me running scared... 8)).

If you are indeed using "_G", using the %%pos gchord above/below or %%gchord above/below directives
will not work because that "_G" is a text annotation not an accompaniment chord. Removing the _ as you
have done should work. FWIW, above is the default position for accompaniment chords. Text annotations
above the staff have the form "^text", text annotations below the staff have the form "_text"...
Title: Re: Chords up or down?
Post by: Tone Dumb Greg on April 01, 2022, 06:26:53 PM
"_G" does play back as G major.

I do wonder if the underscore confused the abc.
I went to the thread and tried the old and new %% command but whatever it tried didn't seem to work to make chords appear on the top.
I ended up flipping through the tune and taking out the '_' as I was needed elsewhere and didn't have too much time to play with it.

Later I'll go back to another tune and test which works for me to change chords up or down.
I just checked this (you got me running scared... 8)).

If you are indeed using "_G", using the %%pos gchord above/below or %%gchord above/below directives
will not work because that "_G" is a text annotation not an accompaniment chord. Removing the _ as you
have done should work. FWIW, above is the default position for accompaniment chords...

I'm not using both at the same time. There is no need.
Title: Re: Chords up or down?
Post by: Thrupenny Bit on April 01, 2022, 06:37:11 PM
Ah thanks both,.
Yes, the underscore was before the chord, as in "_G".
Removing the underscore has made the chords go up as normal.
As said, when I have a moment I'll experiment with the proper commands so I know for another time.

Sorry to cause ' a moment ' for you Roger, a good excuse for...  :|glug.
Medicinal of course  ::)
Title: Re: Chords up or down?
Post by: Roger Hare on April 01, 2022, 06:59:26 PM
Ah thanks both,.
Yes, the underscore was before the chord, as in "_G".
Removing the underscore has made the chords go up as normal.
As said, when I have a moment I'll experiment with the proper commands so I know for another time.

Sorry to cause ' a moment ' for you Roger, a good excuse for...  :|glug.
Medicinal of course  ::)
Good - glad you got it sorted! I'm about to open a bottle of 'Lymm Dark' from Lymm
Brewery, one of our local pub-based breweries - I deserve it... 8)
_______
Seriously, I do think it's worth spending a little time getting this stuff 'right', even if (say) one doesn't
use playback. It stops one getting hernias ulcers further down the road. When I started this lark, I
wasted many hours of time sorting out quite a lot of rather 'odd' ABC in 'public' files. I'm still finding
new 'oddnesses' - came across one which I hadn't seen before only the other day...
Title: Re: Chords up or down?
Post by: Roger Hare on April 01, 2022, 07:21:04 PM
I'm not using both at the same time. There is no need.
Fair enough, but I am using both at the same time, so for me, there is a need.
Title: Re: Chords up or down?
Post by: Thrupenny Bit on April 01, 2022, 08:03:06 PM
Roger, yes carry on that man, well deserved!
SimplePortal 2.3.5 © 2008-2012, SimplePortal