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: Mass transposition in ABC  (Read 1198 times)

0 Members and 1 Guest are viewing this topic.

Phil Howard

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 134
    • Red Cuthbert Morris
Mass transposition in ABC
« on: February 27, 2023, 08:24:51 AM »

I would like to transpose a tune book of 144 tunes up two semitones.

I usually use EasyABC, which will let me do them one at a time... can anyone direct me to a freely available product that will let me do them all at once?

I'm on a Mac, which may affect the range of options available.

Thanks in advance for any pointers :-)
Logged

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: Mass transposition in ABC
« Reply #1 on: February 27, 2023, 08:31:17 AM »

Michael Eskin's On Line ABC Tools can do that very thing. Paste all your ABC into the window, press Show Controls, and transpose up or down to your hearts content, then Select All and copy the result.

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: Mass transposition in ABC
« Reply #2 on: February 27, 2023, 03:48:07 PM »

...can anyone direct me to a freely available product that will let me do them all at once...
LB beat me to it, but I tried this on a 50-tune file just now.

Michael Eskin's tool handled it all perfectly as far as I could see...
______
abc2abc is an underlying program in EasyABC (at least, it is on a Windows machine), so you may be able to
run abc2abc explicitly on your Macintosh? The incantation would be:

abc2abc input.abc -t 2 -e > output.abc

this is fast but abc2abc did mangle some of my input file when transposing. Specifically, it transposed code like:
'E/G/F/E/' as 'F/2A/2G/2F/2' which is correct, but more verbose and not acceptable (to me, at least). It also got
confused about some (admittedly incorrectly formatted) accompaniment chords. EasyABC mis-behaved in just
the same way(s) (as might be expected, I suppose).
« Last Edit: February 27, 2023, 04:09:24 PM 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.

Phil Howard

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 134
    • Red Cuthbert Morris
Re: Mass transposition in ABC
« Reply #3 on: February 27, 2023, 04:29:01 PM »

Thanks both

I used Michael's tool and though I couldn't get it to go with the whole 144 tune book, it was fine with chunks of 30 tunes until near then end when it wouldn't even do a dozen. Some of them are longer than a lot of folk, and/or have many notes or chords so that may have something to do with it I guess.

Still much quicker than doing them all one at a time though :-)
Logged

Michael Eskin

  • Hero Member
  • *****
  • Online Online
  • Posts: 547
    • AppCordions
Re: Mass transposition in ABC
« Reply #4 on: February 27, 2023, 08:54:57 PM »

My ABC Tool should be able to easily tranpose the whole tune book in one go, just might be slow.

Might you send me the file and let me know how many semitones you'd like to transpose it?

My email is:

seisiuneer@gmail.com
Logged

Phil Howard

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 134
    • Red Cuthbert Morris
Re: Mass transposition in ABC
« Reply #5 on: February 27, 2023, 09:40:20 PM »

My ABC Tool should be able to easily tranpose the whole tune book in one go, just might be slow.

Might you send me the file and let me know how many semitones you'd like to transpose it?

Thanks, I was looking at the CamFrench tunebook at https://www.cambridgefolk.org.uk/cam-french/ and going up two semitones

I may well just not have been being patient enough!
Logged
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