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: Grouping Tune Sets in a Tune Book  (Read 4171 times)

0 Members and 1 Guest are viewing this topic.

dave t

  • Good talker
  • **
  • Offline Offline
  • Posts: 92
  • DB Oakwood Super III/Pastourelle II
Grouping Tune Sets in a Tune Book
« on: September 03, 2016, 10:02:26 AM »

I'm trying to put our local session's tune book into abc format. We have a lot of sets in the current book as well as individual tunes. Can anyone give me some guidance as to the best way to group sets of tunes?

I guess that there are two approaches:

Keep all tunes separate, i.e.have a unique reference number (X) at the start of each individual tune and then group them together when I create a pdf.
Group the set under a single reference number.

If anyone has any experience about this and can give me some pros and cons of each approach, I would be grateful.

Thanks, Dave
Logged

dave t

  • Good talker
  • **
  • Offline Offline
  • Posts: 92
  • DB Oakwood Super III/Pastourelle II
Dos and Don'ts When Creating a Tune Book
« Reply #1 on: September 03, 2016, 10:06:32 AM »

I've already posted a specific question about this, but this is a request for some general advice on the creation of a brand new tune book so that I can avoid newbie mistakes. I'm particular interested in useful header formatting commands but any thoughts about different approaches would be appreciated.

Thanks, Dave
Logged

Theo

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 14475
  • Hohner Club Too
    • The Box Place
Re: Grouping Tune Sets in a Tune Book
« Reply #2 on: September 03, 2016, 10:15:38 AM »

[[ADMIN]]

The answers to both these questions will be covering the same ground. Topics merged to keep discussions together and avoid unnecessary repetition.
Logged
Theo Gibb - Gateshead UK

Proprietor of The Box Place for melodeon and concertina sales and service.
See my YouTube channel  for videos on repair and tuning

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: Grouping Tune Sets in a Tune Book
« Reply #3 on: September 03, 2016, 10:20:46 AM »

You will often want to reorganize the book, and that's much easier if you keep the tunes separate and indicate the groups by titles within the file.
Logged
http://www.campin.me.uk/

I can't figure out how to quit but I will no longer check this group and have deleted all shortcuts to it.

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Grouping Tune Sets in a Tune Book
« Reply #4 on: September 03, 2016, 12:49:34 PM »

I've already posted a specific question about this, but this is a request for some general advice on the creation of a brand new tune book so that I can avoid newbie mistakes. I'm particular interested in useful header formatting commands but any thoughts about different approaches would be appreciated.

Thanks, Dave

I maintain a dance-band tunebook containing about 250 tunes mostly grouped into sets. I convert to pdf in a two-stage process using abc2mps and then ghostscript, both from the Windows command line. Attached are the first few pages showing formatting commands including page breaks and page footers - might give you some ideas. (Comments and suggestions for improvements welcome.)

dave t

  • Good talker
  • **
  • Offline Offline
  • Posts: 92
  • DB Oakwood Super III/Pastourelle II
Re: Grouping Tune Sets in a Tune Book
« Reply #5 on: September 03, 2016, 06:13:06 PM »

You will often want to reorganize the book, and that's much easier if you keep the tunes separate and indicate the groups by titles within the file.

Sorry, I'm not sure what you mean by that. Can you elaborate please?
Logged

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: Grouping Tune Sets in a Tune Book
« Reply #6 on: September 03, 2016, 07:08:27 PM »

One way to do medleys is to use the "part" construct and put all the tunes in one medley together under one header.  Typographically neat and portable but you then have to do extra editing if you want to move a tune from one medley to another.  And even if you don't want to do that, anybody who picks up your ABC file to reuse it certainly will.
Logged
http://www.campin.me.uk/

I can't figure out how to quit but I will no longer check this group and have deleted all shortcuts to it.

dave t

  • Good talker
  • **
  • Offline Offline
  • Posts: 92
  • DB Oakwood Super III/Pastourelle II
Re: Grouping Tune Sets in a Tune Book
« Reply #7 on: September 03, 2016, 08:04:04 PM »

Got it. I'll give that a try.

I've also seen sets that use

%%sep

Is that common in your experience?
Logged

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: Grouping Tune Sets in a Tune Book
« Reply #8 on: September 03, 2016, 09:31:15 PM »

I was suggesting that you don't give it a try because it makes for more work in the future - I've done it in the past but try to avoid it now.

I don't know what %%sep means.  It's an abcm2ps-ism and should be harmless to other software if you use it.
Logged
http://www.campin.me.uk/

I can't figure out how to quit but I will no longer check this group and have deleted all shortcuts to it.

dave t

  • Good talker
  • **
  • Offline Offline
  • Posts: 92
  • DB Oakwood Super III/Pastourelle II
Re: Grouping Tune Sets in a Tune Book
« Reply #9 on: September 03, 2016, 10:11:52 PM »

Sorry, I read it that it wasn't too hard to extract tunes that were separated using "part". But I see your point that you want to make things as easy as possible for anyone else who edits the file.
Logged

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: Grouping Tune Sets in a Tune Book
« Reply #10 on: September 03, 2016, 10:13:59 PM »

I don't know what %%sep means.  It's an abcm2ps-ism and should be harmless to other software if you use it.

%%sep draws a horizontal separator, i.e. a line (ABC 2.1 standard)
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

smiley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1021
  • Folk music: it's not as bad as it sounds
    • a few sound clips
Re: Grouping Tune Sets in a Tune Book
« Reply #11 on: September 04, 2016, 05:28:28 AM »


Attached are the first few pages showing formatting commands including page breaks and page footers - might give you some ideas.


Many thanks Stiamh, the PDF output looks very speccy. I'll save your formatting commands and try them out on my next tunebook.

BTW whenever I paste a .txt file into EasyABC blank lines get inserted, then I have to laboriously delete each blank line before the data is read as abc format. What should I do to avoid this?

thanks, Ian
Logged

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: Grouping Tune Sets in a Tune Book
« Reply #12 on: September 04, 2016, 10:39:38 AM »

I don't use Windows, but maybe if you change the file extension from .abc.txt to just .abc the blank line problem might go away.

An issue which is more about content than technical stuff: try to get a complete tune set on one page, or at least one two-page opening; you don't want page turns.  (The Montreal example gets that right with one abcm2ps version I have access to, fails with the other one).  This may mean using some ingenuity to abbreviate tunes so they go on three rather than four lines, or two rather than three, and reducing vertical space.  Get used to seeing where you can introduce a repeat construct and eliminate a chunk of repeated notation, or save space by notating anacruses to match the tune's phrasing.  The less vertical space your tunes need, the easier it is to fit them in a book.
Logged
http://www.campin.me.uk/

I can't figure out how to quit but I will no longer check this group and have deleted all shortcuts to it.

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: Grouping Tune Sets in a Tune Book
« Reply #13 on: September 04, 2016, 06:10:00 PM »

The double line problem is usually related to the ways different operating systems do line endings.
In Windows it's CR LF (carriage return, line feed in mechanical printer terms)
On UNIX like systems, which includes Mac OSX, it's LF (line feed) only.
Programs vary in how they cope with text done in a different way from their native OS, and double line endings are one symptom. I'd guess Smiley is running EasyABC on a Mac, and importing an ABC file created on a Windows system, and it's treating CR as a newline and then LF as another newline.

There are utilities for converting between the two conventions, but they're not often needed as most text editors handle both forms sensibly. (not Windows notepad, though...)

As for fitting tunes on a page, I do this by a mixture of scaling and reducing the staff separation if something won't quite fit, with these codes in the ABC. It works with amcm2ps, haven't checked which ABC standard (if any) it complies with:

% reduce size slightly
%%systaffsep 1.1cm
%%staffsep 1.5cm
%%scale 0.7

%restore default sizing
%%systaffsep 1.2cm
%%staffsep 1.62cm
%%scale 0.75

As for original question...
I keep lots of tunes as one tune per ABC file, and have a little home made shell script called tunebook, which takes a text file containing of  a list of ABC file names and processes them with abcm2ps. I have two files called shrink1.abc and shrink0.abc which contain the above codes, and others like head.abc and pagebreak.abc - their names are inserted into the file list where needed. Works well enough for me, and obviously I can add other little utility ABC snippets to switch fonts, add headers or whatever when needed.

Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk
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