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: 'Bogus' ties in old ABC files  (Read 1949 times)

0 Members and 1 Guest are viewing this topic.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
'Bogus' ties in old ABC files
« on: July 20, 2023, 10:25:17 AM »

I may have asked this question before. If so, I have 'lost' the question (and the answers!), so my apologies
for asking it again.

I sometimes come across the construct A-B (say) in older ABC files. Puzzling as it seems to be  an attempt
to connect two notes of differing frequency with a tie. It has no effect on the score (as rendered by EasyABC),
but it does  cause havoc in some software on playback (eg: TradMusician).

I call them 'bogus' ties.

So far I've simply been deleting the 'rogue '-'.

However, I recently came across two almost exactly similar transcriptions of the same tune. In one version
I saw A-B and in the other (AB) - that is a correctly structured slur.

My question is: are these A-Bs intended to represent a slur - possibly in some long defunct piece of ABC
software?

Any advice appreciated.

Thank you.
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.

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203
Re: 'Bogus' ties in old ABC files
« Reply #1 on: July 20, 2023, 12:54:11 PM »

More likely the person writing it didn't understand the difference between a tie and a slur. That's my excuse. A tie is quicker to write in ABC and produces the same effect when converted to notation. They both do the same thing, which is to join two notes together, and whether or not they are the same pitch is obvious.  Why bother to distinguish them  >:E

I haven't noticed any problems with playback, but I don't use Tradmusician much.

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: 'Bogus' ties in old ABC files
« Reply #2 on: July 20, 2023, 01:09:19 PM »

... A tie is quicker to write in ABC and produces the same effect when converted to notation. They both do the same thing, which is to join two notes together, and whether or not they are the same pitch is obvious.  Why bother to distinguish them  >:E


Adding a tie beteen two notes has no visible effect on scoring two notes of different pitch (unless they are also slurred by bracketing, in whick case the slur displays a bit higher).
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

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203
Re: 'Bogus' ties in old ABC files
« Reply #3 on: July 20, 2023, 01:32:06 PM »

I hadn't realised that. Similarly, slurring two notes of the same pitch looks OK in notation but plays back as two distinct notes.

I don't really understand why written music makes a distinction when it is obvious on the page.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: 'Bogus' ties in old ABC files
« Reply #4 on: July 20, 2023, 02:46:31 PM »

Thanks folks!

Summarising those points:

So it's possible they are intended to be slurs. Maybe I should convert them to slurs when I encounter them? But they don't
appear  in the score (as anything), and the original transcriber (apparently) didn't notice, so they can't have been all that
'important' (TDG's point about different pitch is the vital one here, I think). I think I'm going to continue to delete them,
and hang the consequences...

I don't use Tradmusician at all these days, but back when I did use it (3-4 year ago now), it was this program which alerted
me to the problem, when the playback died 'orribly. I finally spotted these 'bogus' ties, and fixed it by replacing them with
what I thought was the correct code ie: by deleting the '-'.

Thanks for the input. Very helpful...
___________
As far as I can see, the only difference between a tie and a slur in the score is that there is a slight difference in the point where the ends of the curve
between the notes actually 'collides' with the note-head. This varies from score to score according to the 'style' used by the compositor - so it's not of
any great significance...
« Last Edit: November 13, 2023, 09:13:47 AM 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.

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: 'Bogus' ties in old ABC files
« Reply #5 on: October 17, 2023, 02:45:19 PM »

I hadn't realised that. Similarly, slurring two notes of the same pitch looks OK in notation but plays back as two distinct notes.

I don't really understand why written music makes a distinction when it is obvious on the page.


I’m a bit late to the party here, sorry. If by ‘written’ music you are referring to the abc coding making the distinction between a tie - and a slur () and giving them different meanings, it is simply that a machine is unable to make a judgement call. You say the distinction is obvious on the page but that is because you are using your human intelligence to interpret the same symbol in more than one way.


As you say using either a dash or a pair of brackets results in the music being displayed in exactly the same way which is fine as long as all you want to do is produce printed sheet music. The problem is that a completely different software tool is used to read the abc file and translate it into a sound file and it is this tool that requires more information to translate it correctly. That additional information is not programmed into the abc2midi interpreter so we have to add it to the abc coding ourselves if we want the playback to be correct.


A similar thing happens if you write repeat signs in your notation in the traditional but musically incorrect way adopted by folk musicians and publishers, ie two, three or more musical parts each ending with :| but with no opening repeat signs. Looks great, any musician will immediately understand what is intended. MIDI playback will be incorrect though, try it. Again if your goal is to produce a printed piece of music and nothing else it doesn’t matter, but if you want your transcription to work in all instances across multiple platforms then these points should be considered. Please note that mobile apps are another matter, they tend to have a very basic interpreter that is easily confused and ignore many standard  directives.
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)

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: 'Bogus' ties in old ABC files
« Reply #6 on: October 17, 2023, 11:48:34 PM »

In my ABC software (abcm2ps) a construct like A-B is flagged as an error "bad tie". Though staff notation uses similar looking symbols for a tie and a slur, they are not the same thing.

I think what has happened is some ABC interpreters "helpfully" show a slur in the printed output, assuming that's what the author intended. The result, of course, is propagation of incorrect ABC code and confusion.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: 'Bogus' ties in old ABC files
« Reply #7 on: October 18, 2023, 05:40:03 AM »

In my ABC software (abcm2ps) a construct like A-B is flagged as an error "bad tie". Though staff notation uses similar looking symbols for a tie and a slur, they are not the same thing.

I think what has happened is some ABC interpreters "helpfully" show a slur in the printed output, assuming that's what the author intended. The result, of course, is propagation of incorrect ABC code and confusion. (my emphasis)
Thanks. That is/was my interpretation of what was probably happening, but my software (EasyABC) simply did nothing.

As I said in my original post, I'd come across a couple of instances of transcriptions of the same tune, in one of which, the offending ABC code is given as x-y, while in the other it is shown as (xy) - 'proof', if you like that the intention was to generate a slur in the printed output. At the time, I decided to leave well enough alone, and simply deleted the offending -. I've now come across several more instances where I can see both genuine slurs and bogus ties in different transcriptions - and had a re-think...

Accordingly, I've modified my own software so that whenever it encounters x-y in an old ABC file, it replaces it with (xy). A genuine tie x-x is left alone.

It's a departure from what I was originally doing, but in light of the new 'evidence', it seems a not unreasonable way of treating such 'artefacts'?

I might add that it's exactly the playback misbehaviour mentioned by Pete Dunk which has prompted me to 'get to the bottom' of this. These bogus ties certainly did affect playback - now fixed. I also explicitly insert an opening |: when necessary to avoid erratic repeat behaviour on playback...
« Last Edit: October 30, 2023, 05:34:04 AM 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.

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: 'Bogus' ties in old ABC files
« Reply #8 on: November 12, 2023, 03:29:21 PM »

In my experience, abcjs based tools will just ignore a - between two different notes in playback and show a slur curve in the rendered notation.
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: 'Bogus' ties in old ABC files
« Reply #9 on: November 13, 2023, 05:21:22 AM »

In my experience, abcjs based tools will just ignore a - between two different notes in playback and show a slur curve in the rendered notation.

Ooh! I never thought about checking a piece of 'suspect' ABC code with your program. I just did - a bogus tie x-y and a genuine slur (xy) both produced the 'correct' result in the generated score - a slur. I do still prefer to check, and 'correct' the ABC code - though that's probably just me - Mr. Picky... (:)
« Last Edit: November 13, 2023, 09:15:19 AM 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