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: ABC conversion problem  (Read 2091 times)

0 Members and 1 Guest are viewing this topic.

Disparate Dan

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 329
ABC conversion problem
« on: June 23, 2024, 07:35:06 PM »

I'm trying to convert the ABC of "Jack's Waltz" as performed here https://www.youtube.com/watch?v=kCpWqagEpHU&ab_channel=romanchi47 by using Michael Eskins' ABC tools so I can produce both the printed dots and a reference soundfile.  What I have is:-

X:1

T:Jack's Waltz [G]

C:Australia (Newport Bush Orchestra)

Q:1/4=110

M:3/4

L:1/4

K:Gmaj

"G"B3|ded|"D"c3|A2B|c2d|efe|"G"d3|B2d|g3|"D"fgf|

"C"e3|"G"d3|B3|1 BAG|"D"Afe|dcA:|2 "D"A3|"G"G3-|G3||

"G"bg z/2 e/2|d3|bg z/2 e/2|d3|"D"f e/2f/2e/2f/2|c3|fed|"G"B3|bgz/2e/2|d3|bgz/2e/2|d3|

"D"f e/2f/2e/2f/2|c2A|"G"G3-|G3||"G"B>AB|GAB|"D"c>Bc|A3|c>AB|ABc|"G"d>ed|B3|

d>ed|Bcd|"C"e>fe|"D"A2G|Ffe|dcA|"G"G3-|G3||

but it's not working.  ABC tools don't seem to recognise that, so can any ABC wizard please tell me if something's obviously wrong with it or missing?
Logged
We're all doomed ...

penn

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 574
Re: ABC conversion problem
« Reply #1 on: June 23, 2024, 07:45:46 PM »

I think you need to remove all the carriage return. It fails for me in Tunebook until I delete them.
Logged
Hohners, Dino Baffetti, Lilly, Benny + a lot of junk.

Disparate Dan

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 329
Re: ABC conversion problem
« Reply #2 on: June 23, 2024, 07:59:30 PM »

I think you need to remove all the carriage return. It fails for me in Tunebook until I delete them.

Thanks, but having no grandkid handy of whom I can enquire, I have to ask ... what are the carriage returns?
Logged
We're all doomed ...

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: ABC conversion problem
« Reply #3 on: June 23, 2024, 08:06:37 PM »

X:1
T:Jack's Waltz [G]
C:Australia (Newport Bush Orchestra)
Q:1/4=110
M:3/4
L:1/4
K:Gmaj
"G"B3|ded|"D"c3|A2B|c2d|efe|"G"d3|B2d|g3|"D"fgf|
"C"e3|"G"d3|B3|1 BAG|"D"Afe|dcA:|2 "D"A3|"G"G3-|G3||
"G"bg z/2 e/2|d3|bg z/2 e/2|d3|"D"f e/2f/2e/2f/2|c3|fed|"G"B3|bgz/2e/2|d3|bgz/2e/2|d3|
"D"f e/2f/2e/2f/2|c2A|"G"G3-|G3||"G"B>AB|GAB|"D"c>Bc|A3|c>AB|ABc|"G"d>ed|B3|
d>ed|Bcd|"C"e>fe|"D"A2G|Ffe|dcA|"G"G3-|G3||

That should work

Disparate Dan

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 329
Re: ABC conversion problem
« Reply #4 on: June 23, 2024, 08:20:27 PM »

... That should work

And indeed it does.  Thank you, Lester.  I am once again much obliged for your assistance.
Logged
We're all doomed ...

penn

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 574
Re: ABC conversion problem
« Reply #5 on: June 23, 2024, 08:28:31 PM »

I think you need to remove all the carriage return. It fails for me in Tunebook until I delete them.

Thanks, but having no grandkid handy of whom I can enquire, I have to ask ... what are the carriage returns?
It might be your grandmother you’d need to ask? Carriage return is an archaic term from typewriters. I meant the extra enter / returns  (presumably you’re using a computer or phone? ) after every line. Youre only allowed one for each line.
Logged
Hohners, Dino Baffetti, Lilly, Benny + a lot of junk.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: ABC conversion problem
« Reply #7 on: June 24, 2024, 05:41:55 AM »

...It fails for me in Tunebook until I delete them.
Ditto EasyABC and ABCExplorer. Blank lines within a tune are best avoided, I think...
« Last Edit: June 24, 2024, 05:56:56 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.

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: ABC conversion problem
« Reply #8 on: June 24, 2024, 07:21:47 AM »

Blank lines within a tune are best avoided, I think...

Indeed so - I'm pretty sure it's part of the definition of ABC that a blank line marks the end of the tune...

It's quite likely in this case, with double newlines all the way though, that this was the result of an inaccurate conversion between computer systems that represent newlines differently. Windows, Unix/Linux and older Mac systems, for example.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Disparate Dan

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 329
Re: ABC conversion problem
« Reply #9 on: June 24, 2024, 07:50:14 AM »

It might be your grandmother you’d need to ask? Carriage return is an archaic term from typewriters. I meant the extra enter / returns  (presumably you’re using a computer or phone? ) after every line. Youre only allowed one for each line.

I'm actually old enough to have grown up with typewriters, so I do know about carriage return (and indeed why at one time some girls' left breasts were bigger than their right, but I digress).  What threw me is that I don't recognise anything in that ABC as a "return" symbol. 
Logged
We're all doomed ...

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: ABC conversion problem
« Reply #10 on: June 24, 2024, 08:07:57 AM »

Indeed so - I'm pretty sure it's part of the definition of ABC that a blank line marks the end of the tune...
Yup! I did check 1) Guido Gonzato's manual; 2) The ABC language specification (v2.1) before making my earlier post.

They are both a little 'ambiguous' in that while they don't explicitly forbid the use of blank lines, they sort of imply that it's probably not
a good idea to use them...
« Last Edit: June 24, 2024, 08:11:34 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.

nigelr

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 526
Re: ABC conversion problem
« Reply #11 on: June 24, 2024, 11:30:56 AM »

Indeed so - I'm pretty sure it's part of the definition of ABC that a blank line marks the end of the tune...
Yup! I did check 1) Guido Gonzato's manual; 2) The ABC language specification (v2.1) before making my earlier post.

They are both a little 'ambiguous' in that while they don't explicitly forbid the use of blank lines, they sort of imply that it's probably not
a good idea to use them...
From the ABC spec:

2.2.1
An abc tune itself consists of a tune header and a tune body, terminated by an empty line or the end of the file.

2.2.4
Empty lines (also known as blank lines) are used to separate abc tunes, free text and the file header. They also aid the readability of abc files.
Lines that consist entirely of white-space (space and tab characters) are also regarded as empty lines.

Logged
DB Oakwood Super 2 (D/G), Club II (D/G Will Allen layout), Erika (Bb/Eb) and an HA114 in C
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