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: Mangled ABC Layout - Heeelpp!  (Read 5299 times)

0 Members and 1 Guest are viewing this topic.

LJC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 527
Mangled ABC Layout - Heeelpp!
« on: March 10, 2010, 11:02:12 AM »

I've been quite happily using 'Five Line Skink' as my ABC reader/writer on my mac, but I've been trying to typeset The Sloe for one of my pupils, with the button numbers on top of the stave. Normally this works quite well, but now the button numbers are overlapping with the triplet sign and it all looks a mess. I've attached the output and the ABC so you can see what is going on.

X:1
T:The Sloe
M:4/4
L:1/8
K:D
|:"D5"A2|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B"D6'"c"D6"d"D5'"B|"D5"A2"D4"F2"D3'"E2"D3"D2|
|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B2"D6'"c2|"D6"d4d2:|
|:"D5"A2| "D5' D6' D5'"(3BcB A2F2A2| (3BcB A2F2dd|d2cc c2BB|B2A2A2dd|
d2c2c2ee|e2d2d2f2|f2e2B2c2|d4d2:|
T: Trad ar. Luca Celano. http://bellowsandstrings.blogspot.com/

The questions are: is there an ABC formatting command which skink will understand to space out the writing/note tails and is there a better free ABC editor out there?

I've looked at lily pond but abc2ly just baffles me and I don't really have the time to learn a whole different set of input commands. Melody Assistant looks like it would do as I need, but I would prefer to input via ABC than point and click notes. Writing to ABC then importing could be an option, but there must be something better!.

Give me your opinions!
Logged

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6359
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Mangled ABC Layout - Heeelpp!
« Reply #1 on: March 10, 2010, 11:57:41 AM »

It looks OK with abcm2ps, which has put the triple 3's under the stave so they don't interfere with the button numbers above.

On a Mac, isn't Barfly the standard ABC package to use?

On Windows, ABC Navigator should render it properly as it uses the same underlying programs as I do (abcm2ps and ps2pdf or Ghostview on Linux, with a general text editor (vim) for editing the ABC itself).

If you use ABC Navigator, look at the ABC2 Plus standard, which it complies with. There's a documentation link there, and I printed and bound the PDF of Guido Gonzato's guide. It's my ABC Bible!

I mention this because ABC Plus does have some controls for specifying sizes and spacings, whether certain text annotation goes above or below the stave etc. I have found abcm2ps pretty good at avoiding collisions like those you describe, and it produces very nice output.

Lilypond gives you much more precise control over exact position of individual features and is claimed to be typographically superior but I've never found it necessary to learn it. It's far more complicated than ABC.
Logged
I'm a melodeon player. What's your excuse?
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Mangled ABC Layout - Heeelpp!
« Reply #2 on: March 10, 2010, 12:14:50 PM »

It looks OK with abcm2ps, which has put the triple 3's under the stave so they don't interfere with the button numbers above.

On a Mac, isn't Barfly the standard ABC package to use?
I concur with Anahata - your code looks OK to me when using abcm2ps (via Barfly).
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

LJC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 527
Re: Mangled ABC Layout - Heeelpp!
« Reply #3 on: March 10, 2010, 12:23:53 PM »

Thanks Anahata - I was using barfly until a few weeks ago, skink produces nicer looking scores, and barfly also has a hissy fit with certain layouts. Even on barfly with the Sloe triplets it still overlaps them! I think it might be a case of running ABC navigator under windows emulation for the odd time I need to annotate tunes with triplets.

Edit: Steve, I've just re-installed Barfly and it doesn't display correctly here, how are you doing it?
Logged

Bill the Farmer

  • Not quite so
  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 497
  • Hohner Club, Liliput...
    • Bill Farmer
Re: Mangled ABC Layout - Heeelpp!
« Reply #4 on: March 10, 2010, 12:58:21 PM »

I agree, abctops puts the stems down. Is it possible to use lyrics instead of chords, or to put the chords underneath? I did a hack to abctops to use lyrics for tablature some while ago, but I had to stop it putting a reverse offset on numbers, it thought they were verse numbers.
Logged
Bill of Old Shoreham Town

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Mangled ABC Layout - Heeelpp!
« Reply #5 on: March 10, 2010, 12:59:51 PM »

Edit: Steve, I've just re-installed Barfly and it doesn't display correctly here, how are you doing it?
1. Load the abc into Barfly
2. From the dropdown menu, choose File > Export > abc2mps
3. You should get a dialogue box which allows you change parameters such as scale factor, etc. The default settings are usually good, but you can change them and see what effects they have on the final output.
4. Click OK and it should convert the abc to a postscript file which (on my Mac) automatically opens in Mac Preview as a PDF file. Otherwise you could save the file somewhere and view/print it from Preview.

I have a registered copy of Barfly, but I think this should still work on a free unregistered version.
« Last Edit: March 10, 2010, 01:04:05 PM by Steve_freereeder »
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: Mangled ABC Layout - Heeelpp!
« Reply #6 on: March 10, 2010, 01:00:22 PM »

You can put the chords underneath with "gchord=down" as a "voice" parameter, as in ...

X:1
T:The Sloe
M:4/4
L:1/8
K:D
V:1 gchord=down
|:"D5"A2|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B"D6'"c"D6"d"D5'"B|"D5"A2"D4"F2"D3'"E2"D3"D2|
|"D6"d2"D5"A2"D6"d2"D7'"e2|"D7"f3"D7'"e "D6"d2"D6'"c2|"G4"B2"D5"A2"D5'"B2"D6'"c2|"D6"d4d2:|
|:"D5"A2| "D5' D6' D5'"(3BcB A2F2A2| (3BcB A2F2dd|d2cc c2BB|B2A2A2dd|
d2c2c2ee|e2d2d2f2|f2e2B2c2|d4d2:|
V:2

Logged
Tony S

LJC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 527
Re: Mangled ABC Layout - Heeelpp!
« Reply #7 on: March 10, 2010, 01:17:19 PM »

Steve: doing that produces

/Users/Luca/bfly.command ; exit;
luca-celanos-computer:~ Luca$ /Users/Luca/bfly.command ; exit;
/Users/Luca/bfly.command: line 1: infile.abc: command not found
logout

I seem to understand I need abcm2ps installed, but it's really above my head on how to do that. I've got the file from the developers website, but when I follow the instructions I get told that there is no C compiler in $PATH.  ??? ??? ???

Edit: Barfly freaks out with a change in V field  >:(

« Last Edit: March 10, 2010, 01:24:08 PM by LJC »
Logged

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Mangled ABC Layout - Heeelpp!
« Reply #8 on: March 10, 2010, 01:23:28 PM »

Steve: doing that produces

/Users/Luca/bfly.command ; exit;
luca-celanos-computer:~ Luca$ /Users/Luca/bfly.command ; exit;
/Users/Luca/bfly.command: line 1: infile.abc: command not found
logout

I seem to understand I need abcm2ps installed, but it's really above my head on how to do that. I've got the file from the developers website, but when I follow the instructions I get told that there is no C compiler in $PATH.  ??? ??? ???
It sounds as though you have some component corrupted or missing - either from Barfly or from abcm2ps or both.
I would delete all the barfly and abcm2ps files, components and preferences from your Mac. Restart your Mac and then start afresh by downloading new files from the relevant websites and reinstalling the software on your hard drive.

Once abcm2ps is installed anew on your Mac, Barfly should automatically find it when you run a conversion. You may need to specify in Barfly preferences where abcm2ps is located.
« Last Edit: March 10, 2010, 01:27:43 PM by Steve_freereeder »
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6359
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Mangled ABC Layout - Heeelpp!
« Reply #9 on: March 10, 2010, 03:57:45 PM »

I seem to understand I need abcm2ps installed, but it's really above my head on how to do that. I've got the file from the developers website, but when I follow the instructions I get told that there is no C compiler in $PATH.

You downloaded the source code, as you might expect from a developers site!
Go back to the web site and look for a MacOS (or OSX or whatever it's called) binary, if they's got one
Logged
I'm a melodeon player. What's your excuse?
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Bill the Farmer

  • Not quite so
  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 497
  • Hohner Club, Liliput...
    • Bill Farmer
Re: Mangled ABC Layout - Heeelpp!
« Reply #10 on: March 10, 2010, 04:01:51 PM »

There doesn't appear to be an abcm2ps Mac binary easily available on the web. I couldn't find one anyway. Compiling the sources and installing it on a Mac isn't easy, for a start you have to install Xcode.  :o
Logged
Bill of Old Shoreham Town

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Mangled ABC Layout - Heeelpp!
« Reply #11 on: March 10, 2010, 04:45:30 PM »

There doesn't appear to be an abcm2ps Mac binary easily available on the web. I couldn't find one anyway. Compiling the sources and installing it on a Mac isn't easy, for a start you have to install Xcode.  :o
It seems to be a lot harder than it used to be.  :(
But you can get it here:
http://moinejf.free.fr/?ref=darwinports.com

I agree that the installation is no longer easy unless you are comfortable in Mac Terminal mode and can understand a bit of UNIX.
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

LJC

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 527
Re: Mangled ABC Layout - Heeelpp!
« Reply #12 on: March 10, 2010, 08:21:52 PM »

Well I did actually download Xcode and did some poking around. Tried a few things, moved a few files, wasted about 6 hours. But it works! This seems to be crying out for someone to put together a pleb user friendly version. I've got to figure out how to get the formatting and fonts to my liking now, but I think I've managed the hard part. Phew. :||:
Logged

Gandy

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 407
Re: Mangled ABC Layout - Heeelpp!
« Reply #13 on: March 11, 2010, 08:13:50 AM »

This must be one of the rare occasions where a PC wins on ease of use over a Mac.   Just install ABC Explorer and it does it all for you.
Logged
Tony S
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