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] 2   Go Down

Author Topic: Tune Copyright in ABC?  (Read 8560 times)

0 Members and 1 Guest are viewing this topic.

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard
Tune Copyright in ABC?
« on: December 12, 2012, 03:45:20 PM »

Is there a standard way to acknowledge a composer's copyright in an ABC notation, perhaps the Z: field?

http://abcnotation.com/wiki/abc:standard:v2.1#description_of_information_fields says, "Note that there is no formal syntax for the contents of this field, although users are strongly encouraged to be consistent, but, by convention, Z:abc-copyright refers to the copyright of the abc transcription rather than the tune."

Would

Z: © 2012 Phil Jones All rights reserved.

be appropriate for explicit inclusion of copyright for a tune that I wrote?
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Tune Copyright in ABC?
« Reply #1 on: December 12, 2012, 04:25:59 PM »

Is there a standard way to acknowledge a composer's copyright in an ABC notation, perhaps the Z: field?

http://abcnotation.com/wiki/abc:standard:v2.1#description_of_information_fields says, "Note that there is no formal syntax for the contents of this field, although users are strongly encouraged to be consistent, but, by convention, Z:abc-copyright refers to the copyright of the abc transcription rather than the tune."

Would

Z: © 2012 Phil Jones All rights reserved.

be appropriate for explicit inclusion of copyright for a tune that I wrote?
Yes - you can use the Z:  N: or S: fields for similar acknowledgement purposes. However, additionally, I use a series of W: fields at the end of the tune coding proper. The advantage of the W: field is that it allows you to input any text which will then be printed out if and when you convert the ABC to PDF or similar. You may need to add several W: fields to force line breaks. Otherwise the text just gets output as a single long line. Also a blank W: field at the end of the tune code produces a blank line for spacing purposes.

Here is an example which illustrates the way I use W: fields.
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard
Re: Tune Copyright in ABC?
« Reply #2 on: December 12, 2012, 08:18:05 PM »

W: for me too, then. Thanks for the tip.
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

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: Tune Copyright in ABC?
« Reply #3 on: December 12, 2012, 10:39:20 PM »

The C: header is for composer, so I'd have thought that would the place for a composer's copyright statement, vs. Z: for ABC transcription copyright (if different).

When you print ABC, by default you often get the contents of the C:field printed on the right between title and music, so you might have to think about whether you want a copyright assertion printed there.
Logged
Слава Україні !
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: Tune Copyright in ABC?
« Reply #4 on: December 13, 2012, 06:59:57 AM »

When you print ABC, by default you often get the contents of the C:field printed on the right between title and music, so you might have to think about whether you want a copyright assertion printed there.
Depending on the ABC software/conversion program used, the contents of the C: field can get truncated when printed, so if there are a lot of characters, they might not all get printed.
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard
Re: Tune Copyright in ABC?
« Reply #5 on: December 16, 2012, 11:50:54 AM »


W: should be moved the the end of the file as it is not a header field and the text will appear after the music if it's not incorporated into the tune body anyway. This should really be an N: (notes field) as W: indicates song lyrics. This last bit is all about abc niceties of course . . .  >:E

Sincere thanks to tallship for making that interesting point about the use of W: and N: and diplomatically avoiding giving me what we call a dope slap, by explaining that it is a matter of niceties rather than syntax.

It motivated my delving into  http://abcnotation.com/wiki/abc:standard:v2.1, to understand whether I prefer N: or W: for Tune Copyright. (I believe you call what follows an anorak alert -- interesting new term, that.)

The abc:standardv2.1 says,
  • 3.1.11 N: - notes "Contains general annotations, such as references to other tunes which are similar, details on how the original notation of the tune was converted to abc, etc."
  • 3. Information fields: Order of information fields: "Words (W) may be included in the tune header but are usually placed at the end of the tune body."
  • "5. Lyrics The W: "information field (uppercase W) can be used for lyrics to be printed separately below the tune."
  • 6.1.3 Typesetting information fields: "to typeset additional information fields such as notes (N), history (H), rhythm (R), book (B), discography (D), file (F), source (S) or transcription (Z), use the %%writefields directive"
  • 11.0 Introduction to directives: 11.0.1: "Disclaimer: . . . the whole of section 11 and all stylesheet directives should regarded as VOLATILE."[\li]
If abc:standard:v2.1 is the relevant standard, then for tune copyright I prefer W: because printing via N: requires that volatile %%writefields directive. Who knows where those slippery directives will end up in version 2.3?

Although W: "can be used for lyrics" I interpret that "can" as being less proscriptive than "must" and whisper, "and can be used for other words that I want typeset too, for now".

As for where to place that W: (tune header or at the end of tune body) I think I will put it in the tune header when it is being stretched to include copyright words and at the bottom of the tune body when it contains lyric words.

However, I'm hoping to hear why my conclusion is naïf. As a programmer I abhor sloppy use of defined fields and using W: for tune copyright is not as tidy as I might prefer, being in my mind a near occasion to sin.

Oddly, inclusion and reproduction of copyright notice (tune or abc transcription or arrangement copyright) seems important enough to be granted its own field in ABC notation. Perhaps all the good alpha's (C: for example) were already used?
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Tune Copyright in ABC?
« Reply #6 on: December 16, 2012, 02:13:34 PM »

One of the problems with abc notation is the number of 'standards' that are still in common use both by transcribers and software writers. The software may take the form of an individual utility such as abc2mps of a full blown GUI package like ABC Explorer. Among the packages there some that rarely if ever update so new implementations are ignored. In most cases software is required to be backwardly compatible with earlier standards than its own although some aspects of syntax are abandoned entirely (but may well still be supported).

As far as I'm aware most information fields may be used many times in a file so if the number of characters is a problem:
C:Fred Bloggs
C:©Fred Bloggs 1987
Should be valid and will print on separate lines. I have the greatest of respect for the other transcribers contributing here and would like to point out that these are my personal observations and are not intended to correct or criticise the methods of others.

The new 2.1 standard for repeated header fields:
C:Fred Bloggs
+:©Fred Bloggs 1987
Doesn't work at all in my software so I'm waiting for the next release to see what happens.  ???

A copyright field would be a very good idea! How about:

©:

Simples!  :|glug
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard
Re: Tune Copyright in ABC?
« Reply #7 on: December 16, 2012, 02:32:35 PM »

©:
Simples!  :|glug
Way too obvious and stunningly easy to remember. I fear it will never catch on. :'(
Thanks for elaborating on the standards reality. It appears that, as with any evolving language, the docs and apps tend to lag a bit, unless they are bleeding edge; and who wants to go there?
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Tune Copyright in ABC?
« Reply #8 on: December 16, 2012, 02:33:10 PM »

C:Fred Bloggs
C:©Fred Bloggs 1987
Should be valid and will print on separate lines.
It does indeed! I've learned something new today, thanks Pete!
(mind you, I can't get the copyright symbol to print in or from Barfly, but that's another issue)
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Tune Copyright in ABC?
« Reply #9 on: December 16, 2012, 03:21:25 PM »

(mind you, I can't get the copyright symbol to print in or from Barfly, but that's another issue)

How do you get the copyright symbol? I hold down the 'alt' key, type 0169 then release the key. That's a direct call to the ASCII code table and should be upheld by any computer system/software I would have thought. How odd! (0198 works too if you want to write Æola properly).

Get yerself a PC so you can run proper software mate!  >:E
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama
Re: Tune Copyright in ABC?
« Reply #10 on: December 16, 2012, 03:44:41 PM »

Get yerself a PC so you can run proper software mate!  >:E

 (:)

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: Tune Copyright in ABC?
« Reply #11 on: December 16, 2012, 05:36:19 PM »

How do you get the copyright symbol? I hold down the 'alt' key, type 0169 then release the key. That's a direct call to the ASCII code table

(Can of worms alert)
The copyright symbol is not an ASCII character. That's not just pedantic nitpicking: the problem is that while ASCII codes (from 0 to 127) are universally respected as an unvarying standard, the codes from 128 to 255 can mean different things on different systems or in Windows depending on which codepage you have selected, especially in different countries, and historically, quite different on DOS and older Mac systems.

For most users in Western Europe, GB and America the set known as ISO 8859-1 or more informally as "Latin-1" contains most accented characters and a copyright symbol at position 169.

ISO 8859-1 is also the same as the first 256 codes of Unicode, which is what we should really be using as it's a single table of thousands of codes including every typographical symbol known to man.

Unicode (or UTF-8, which is a clever way of encoding Unicode so that ASCII characters are still a single byte) is being increasingly adopted so the problem is slowly going away. Melnet's forum software uses UTF-8, which means all characters are accepted and usually get displayed properly. So in practice you can enter a © symbol here and we should all see it properly. For a counterexample, look at mudcat.org, where this doesn't always happen right and is discussed endlessly, often by users who don't understand the problem, and Mudcat now has the intractable problem of a legacy of threads with mixed encodings.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Tune Copyright in ABC?
« Reply #12 on: December 16, 2012, 05:49:36 PM »

(Can of worms alert)
Blimey, just goes to show that when you take the GUI away there'll be a geek behind it with a big grin on his face!  :D  I suppose I'll have to go away now and read up on Unicode (or at least get the general idea) just for my own peace of mind. UTF-8 sounds like something you add to your engine oil.  8)
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

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: Tune Copyright in ABC?
« Reply #13 on: December 16, 2012, 05:51:30 PM »

PS. in ABC, at least if it is going to be interpreted by abcm2ps or any of the Windows frontends that use abcm2ps, the correct way to encode non-ASCII characters is a backslash followed by the ISO 8859-1 code in Octal. That makes copyright encoded as \251 which in decimal is 169.

Anything outside the limited character set of Latin-1/ISO 8859-1 can't be done using that method. I ran into this when trying to put is a Welsh song title that had a W with a circumflex over it. Not in Latin-1 (surprisingly), can't be done in ABC (not easily anyway)

Let's try them here: Ŵŵ - OK if you've got a decent Unicode font installed.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

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: Tune Copyright in ABC?
« Reply #14 on: December 16, 2012, 06:05:20 PM »

UTF-8 sounds like something you add to your engine oil.  8)

Gurarantees smoother and quieter running of your internetz  ;)
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Tune Copyright in ABC?
« Reply #15 on: December 16, 2012, 06:09:29 PM »

Let's try them here: Ŵŵ - OK if you've got a decent Unicode font installed.

Try this alternative which is supposed to avoid problems with older text editor that don't support UTF-8:
\^W
\^w
And see what you get, there's a full table of accents and ligatures in 2.1 (page 33/49 in the spec) possibly used in ABC Plus too, all riveting stuff!  :-\
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

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: Tune Copyright in ABC?
« Reply #16 on: December 16, 2012, 06:32:51 PM »

Try this alternative which is supposed to avoid problems with older text editor that don't support UTF-8:
\^W
\^w
And see what you get, there's a full table of accents and ligatures in 2.1

Good call about the backslash-accent notation, where it works...
It only works, though, for characters in the available set, which is still Latin-1.

If you look at the list of stuff you can encode, it doesn't include Ŵ or ŵ because the characters aren't available and typing \^W won't make it do the impossible.

I'm not sure why this limitation exists, but I think it has something to do with Postscript, which I don't know much about.
« Last Edit: December 16, 2012, 06:38:11 PM by Anahata »
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Tune Copyright in ABC?
« Reply #17 on: December 16, 2012, 06:58:25 PM »

It only works, though, for characters in the available set, which is still Latin-1.

I didn't try all possible permutations of course, certainly didn't make it as far as W with a circumflex! But this works well enough:
T:Scottish \!a Virmoux

How misleading!  :o
Logged
Squeezing on the Isle of Oxney, UK
Primo (Serenellini) D/G
Isis D/G
Hohner B/E, G/C, C/F, Bb/Eb G/C/F
Liliputs D/G (G scale), C/F, Bb/Eb, Albrecht Custom D/G (G scale)

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard
Re: Tune Copyright in ABC?
« Reply #18 on: December 17, 2012, 09:13:35 AM »


(Can of worms alert)

Unicode (or UTF-8, which is a clever way of encoding Unicode so that ASCII characters are still a single byte) is being increasingly adopted so the problem is slowly going away. Melnet's forum software uses UTF-8, which means all characters are accepted and usually get displayed properly. So in practice you can enter a © symbol here and we should all see it properly. For a counterexample, look at mudcat.org, where this doesn't always happen right and is discussed endlessly, often by users who don't understand the problem, and Mudcat now has the intractable problem of a legacy of threads with mixed encodings.

What a lucid explanation! I've bumped against Unicode now and then and wondered how it differed from my first friend: ASCII. One never knows what interesting tidbits will be scattered around here.
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Tune Copyright in ABC?
« Reply #19 on: December 17, 2012, 09:17:56 AM »

Get yerself a PC so you can run proper software mate!  >:E

 (:)
Glad to see you are feeling better, Lester  (:)
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk
Pages: [1] 2   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