Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Thrupenny Bit on May 06, 2019, 07:52:42 PM

Title: merging abc files?
Post by: Thrupenny Bit on May 06, 2019, 07:52:42 PM
Hi Gang,
I have several abc files of tunes that I'd like to merge into one file set using abcexplorer ( or easyabc if that's a better tool ).
Rather than copy and paste each individual tune into the one opened file in the app, is there another way?
cheers
Q
Title: Re: merging abc files?
Post by: Lester on May 06, 2019, 08:02:52 PM
Open them in a text editor (notepad) and just copy and paste them into one of the originals. Make sure when you save the result that it gets saved as an .abc file not megafile.abc.txt for instance.
Title: Re: merging abc files?
Post by: Thrupenny Bit on May 06, 2019, 08:22:58 PM
Blimey, that was easy. Thank you kind sir, that's a brilliant method!
cheers
Q
Title: Re: merging abc files?
Post by: Stiamh on May 06, 2019, 09:05:21 PM
Once you've done that, you should probably renumber the X: fields in the merged file so that they remain unique. EasyABC has a menu option for doing this, no doubt ABCExplorer does too.
Title: Re: merging abc files?
Post by: Thrupenny Bit on May 06, 2019, 09:09:10 PM
Ok...thanks for the tip.
Q
Title: Re: merging abc files?
Post by: Pete Dunk on May 06, 2019, 10:24:29 PM
Easy ABC is far better at renumbering the X: fields, sorting the tunes into alphabetical order first is also a doddle. One of Explorer's failings this, and the reason why I use both bits of software on PC, horses for courses.
Title: Re: merging abc files?
Post by: malcolmbebb on May 06, 2019, 10:46:46 PM
Easy ABC is far better at renumbering the X: fields, sorting the tunes into alphabetical order first is also a doddle. One of Explorer's failings this, and the reason why I use both bits of software on PC, horses for courses.
ABC Explorer does do both of these very easily (1.6.1), although the context dependent menu can be confusing at first. Unles you mean Internet Explorer, of course  >:E >:E
Title: Re: merging abc files?
Post by: Thrupenny Bit on May 07, 2019, 07:36:39 AM
I normally used abcexplorer as my preferred choice.
I then close the file and open it in easyabc to re-order titles and sort x fields. I'll switch back to abcexplorer to generate a pdf of all the tunes in the file.

I've never looked properly in abcexplorer, will have a poke around later.
Cheers
Q
Title: Re: merging abc files?
Post by: Fred on May 07, 2019, 10:24:52 AM
-> Open new file in easyABC
-> click "File"
-> click "Import and Add"
-> select abc and txt and other music files you'd like to add
-> enjoy your new songbook.

No copy pasting by hand necessary.
Title: Re: merging abc files?
Post by: Thrupenny Bit on May 07, 2019, 10:28:23 AM
ok.... thanks Fred. Always good to have options!
ta
Q
Title: Re: merging abc files?
Post by: Thrupenny Bit on May 07, 2019, 10:33:51 AM
Have just dug around abcexplorer, following Malcolm's post.

Along the top menu bar: Tools > File tools
produces a menu box.
'Re-index' tab re-sorts the x fields.
'sort' tab allows you to sort by fields such as title.

thank you Malcolm, I never knew it was there!
Q
having learnt something else today!
Title: Re: merging abc files?
Post by: Rob Lands on May 07, 2019, 03:19:34 PM
Likewise, never explored tools
Title: Re: merging abc files?
Post by: ChrisP on May 13, 2019, 10:36:33 AM
Likewise, never explored tools
One of the reasons I still like ABCexplorer is the fact that it has all these surprising bits of functionality. It would be nice if it was brought up to date, but it hasn't particularly suffered through time.
Incidentally I've never regarded the X: field as anything other than an indication that an ABC tune is about to follow. The actual numbering is largely irrelevant and easily damaged, particularly by subsequent owners, so I regard it as transient.
Title: Re: merging abc files?
Post by: Thrupenny Bit on May 13, 2019, 10:49:51 AM
Yes, I prefer abcexplorer, though have used easyabc for a couple of things.
I find exporting tunes as pdf's easier in explorer. I'm certainly going to dig around it a bit more now.

Chris - my reason for asking the original question was to combine all my Buttrey transcriptions into one file.
I feel a strong ownership to the ones I've transcribed!
cheers
Q
Title: Re: merging abc files?
Post by: Roger Hare on May 13, 2019, 12:04:18 PM
I have several abc files of tunes that I'd like to merge into one file set using abcexplorer ( or easyabc if that's a better tool ).
Rather than copy and paste each individual tune into the one opened file in the app, is there another way?
It's just occurred to me that you can also do this from within the Command Prompt Window, using the COPY
command. Just open a Command Prompt Window(*), make sure you are in the right directory, and then:

copy <file1>.abc+<file2>.abc+<file3>.abc+... <mergedfile>.abc

(*)WINDOW-KEY+X, then select 'Command Prompt'. Type 'help copy' for help with the copy command.

Title: Re: merging abc files?
Post by: Thrupenny Bit on May 13, 2019, 12:43:21 PM
Oh ok. Thanks Roger, yet another way!
Cheers.
Q
SimplePortal 2.3.5 © 2008-2012, SimplePortal