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: auto-processing of ABC in forums  (Read 7042 times)

0 Members and 1 Guest are viewing this topic.

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
auto-processing of ABC in forums
« on: June 12, 2015, 01:36:53 AM »

It seems quite easy to fit a typesetting plugin to a forum which will automatically display entered ABC as staff notation.  I subscribe to two forums that do it.  Sample attached.  All I uploaded was the ABC: the forum's plugin generated the dots.

(There have been problems with both the sites where I've done that - I suspect the latest version of the plugin has a bug, but until two weeks ago it worked fine).

This seems to work quite well at reassuring the technophobic that they don't have to do anything scary like copying and pasting ABC source to use it.

Could a plugin like that be installed here?
« Last Edit: June 12, 2015, 01:42:39 AM by Jack Campin »
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.

Theo

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 14475
  • Hohner Club Too
    • The Box Place
Re: auto-processing of ABC in forums
« Reply #1 on: June 12, 2015, 07:19:24 AM »

That is an interesting idea.  I don't know if such a plugin is available for our forum software.  Clive?
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

vof

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 221
Re: auto-processing of ABC in forums
« Reply #2 on: June 12, 2015, 11:45:58 AM »

Yes, very interesting. Without intending to step on Clive's toes, a quick search threw up only one ABC notation plugin by Paul Rosen which is for Wordpress based sites. That and the spoiler references in Jack's image - WP has a popular spoiler plugin - makes me think that the forum Jack was using is WP-based so not immediately promising.

@Jack Campin: can you post more information, e.g. a link, to the forum from where your posted screenshot was taken?

vof
Logged
Vince O'Farrell
Dino BPII; Hohners: red Erica G/C; couple of 1040s in C and G project boxes.

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: auto-processing of ABC in forums
« Reply #3 on: June 12, 2015, 12:10:18 PM »

That screenshot was from The Ocarina Network, which is on Zetaboards.  Another one that does a similar thing is littlegeese.com (another ocarina forum) which uses phpBB.  Both work better than TheSession, which requires the sysadmin to hand-edit ABC before processing it.

Spoilers are helpful with this - threads get rather long if they're bloated with explicit staff notation, and you don't really need to see all the ABC all the time.
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.

Chris Brimley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2038
Re: auto-processing of ABC in forums
« Reply #4 on: June 12, 2015, 12:57:46 PM »

Erm, can I make the quiet plea that if you're looking at such display technology, it would be even more useful if it also allowed other input formats than ABC?
Logged

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: auto-processing of ABC in forums
« Reply #5 on: June 12, 2015, 01:30:35 PM »

ABC is terse, and there is some point in having it on-screen so you can read it; my code for that Hungarian tune took up less vertical space than the staff notation while encoding more information, and the discrepancy gets greater as tunes get bigger.  You don't want to have to read a chunk of Lilypond source or Sibelius binary in the middle of a discussion thread.  Binary or verbose-text formats only make sense as attachments that won't be directly displayed in raw form - so long as the forum allows the format to be uploaded, that can already be done.

It's asking a bit much for the forum engine to process a whole range of sometimes-proprietary formats.  Sibelius Scorch is sometimes supported in the way you want, but do we really have any users who own the means of generating it?  I can't (and having seen what the main transcriber for our klezmer group produces with it, I'd rather play off the output of abcm2ps any day - I sometimes retranscribe his stuff into ABC simply so I can print it readably for my none-too-great vision).
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.

Chris Brimley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2038
Re: auto-processing of ABC in forums
« Reply #6 on: June 12, 2015, 02:02:03 PM »

Jack, I'm obviously not an expert in IT, but the problem I was foreseeing was that many stave-notation packages don't support translation back to ABC (not surprisingly since for them it would lose features), so that all the users of these various packages would be denied the opportunity to display their scores.  You and others have convincingly demonstrated that ABC can do a lot of things that so far few people on this forum have actually done, but I think you'd still agree that multi-platform input would still have advantages?  One possibility might perhaps be to use for melnet the output produced by a good stave package which accepted various inputs, ABC included?  I don't know, but I'm guessing the relatively advanced development of many of these stave packages would probably already have covered that possible use - do you know?  There is still the issue of allowing the data files of different formats as attachments into the forum in the first place, but I'm hoping that's not too difficult for melnet to crack - the forum would presumably not have to process them if the installed stave software in question could already do so.
Logged

vof

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 221
Re: auto-processing of ABC in forums
« Reply #7 on: June 12, 2015, 04:22:01 PM »

Errm, I don't want to appear as a killjoy here but I sense this thread is veering off-topic in the way the earlier 'opposers' thread went, and so was promptly locked.

By the weekend this may well be the shortest lived sub-forum melodeon.net has ever seen, quite right too!

I think we need to wait for Clive's opinion on the feasibility of auto-processing ABC before arguing the pros and cons of, for example, the support for any non-ABC notations in what is still only a proposed feature.

vof
Logged
Vince O'Farrell
Dino BPII; Hohners: red Erica G/C; couple of 1040s in C and G project boxes.

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: auto-processing of ABC in forums
« Reply #8 on: June 12, 2015, 06:01:17 PM »

Jack, I'm obviously not an expert in IT, but the problem I was foreseeing was that many stave-notation packages don't support translation back to ABC (not surprisingly since for them it would lose features), so that all the users of these various packages would be denied the opportunity to display their scores.
I'd be interested to know how many other melnetters both
(a) use a music scoring package that's not ABC based and
(b) aren't familiar with ABC.

As for displaying music files automatically with forum software, many music score formats are proprietary and the software isn't free, and usually runs on Windows only, so it couldn't practically be used on a web site (most web servers are Linux).  It probably can't be used in batch mode either as these programs are essentially interactive in normal use.

The open music formats I know of are ABC, LilyPond, MusicXML and Musescore.
The tools obviously exist for ABC to be rendered on a web site.
Musescore is multi-platform, free, can do file conversions in batch mode (I just looked that up) and can import several formats including ABC, so it's looking promising as a second option.

But really the answer is to export to PDF and upload that. We can all print and read PDFs, and even if you have some software that can't export to PDF, there are lots of free software tools that install a pseudo-printer that makes PDFs.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Theo

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 14475
  • Hohner Club Too
    • The Box Place
Re: auto-processing of ABC in forums
« Reply #9 on: June 12, 2015, 06:33:21 PM »

Let's not try to run before we before we even know if we might be able to walk.  It may not be possible at all.  I don't think there are any existing plugins so if Clive was just able to make his ABC converter tool available as a preview of text in a post that would be a major step forward.  If I understand correctly what he is doing is taking some existing code designed to interpret ABC,  so adding any other input might might be a bigger task than the whole of the abc project.
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

TomBom

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 471
Re: auto-processing of ABC in forums
« Reply #10 on: June 12, 2015, 06:59:25 PM »

MuseScore is capable of creating pdf files, at least on my machine. Just choose 'Save As' PDF.
Logged

Chris Brimley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2038
Re: auto-processing of ABC in forums
« Reply #11 on: June 12, 2015, 07:00:49 PM »

Yes - see other thread for an update.
Logged

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203
Re: auto-processing of ABC in forums
« Reply #12 on: June 12, 2015, 08:15:52 PM »

We can all print and read PDFs,

Not all of us can, at least not read it in the sense of being able to get much meaningful information from it.  As I've just posted on another thread, if you give me a tune as a pdf I'll have to write it out in ABC in order to hear how it goes.  I can read music only well enough to remind myself of a tune I already know, otherwise it's not much good to me.  This is why I only began to use notation when computer programs came along which could read it for me.

I'm far from being alone on here.  If we're sharing tunes they have to be in a format which can be played back as well as displaying notation.  If it can be made to display the notation automatically, that's great, but I'm afraid it's still Greek to me.

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: auto-processing of ABC in forums
« Reply #13 on: June 12, 2015, 09:23:52 PM »

Quote
But really the answer is to export to PDF and upload that. We can all print and read PDFs

And transpose them, and re-chord them, and fill in missing data like the composer, and assemble them into sets of tunes to suit what you want to do with them?  (I've got a PDF editor on the shelf above this computer - I've never installed it).

I don't think I've ever taken even the simplest tune off Melnet without editing it in some way.

Since I have no hardware that can process Musescore source (except v1.1, which I think may run, though I doubt anybody writes stuff fitting that standard any more), that isn't an alternative for me as a way of editing contributed tunes.
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.

TomBom

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 471
Re: auto-processing of ABC in forums
« Reply #14 on: June 12, 2015, 09:54:55 PM »

What Jack said: there is so much to be said in favour of ABC. Why change a running system?
Giving it up would make sharing music more complicated, not to mention the quality of type setting.
I really appreciate having a working standard because there is none in my native folk music.
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: auto-processing of ABC in forums
« Reply #15 on: June 12, 2015, 10:02:00 PM »

Well, if you want to post files that others can edit, that's a different requirement.
It has to be a widely supported non-proprietary music file format, and ABC is about the only one.

What Jack said: there is so much to be said in favour of ABC. Why change a running system?

I don't think we should drop ABC at all, whatever else we might use in addition.
Hypothetical: how are you going to stop people posting ABC anyway, when it's only text  (:)
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Lyra

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 558
Re: auto-processing of ABC in forums
« Reply #16 on: June 13, 2015, 10:01:26 AM »

I don't see the original post proposing to drop ABC. Just to make it easier for those of us for whom the raw abc resembles alphabetti spaghetti to see what the dots look like.

Also as an aside, there's software out there (and on my mac) that can play music from pdfs providing they have been generated from a music editing programme. (Ie not from scans).
Logged

Jack Campin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 764
    • Jack Campin's Home Page
Re: auto-processing of ABC in forums
« Reply #17 on: June 14, 2015, 12:39:10 PM »

Here is how littlegeese.com does it.  (I hope you can see that without being logged in as a forum member - if not I'll take screenshots).

http://www.littlegeese.com/viewtopic.php?p=2949#p2949

The idea is that you can either post the ABC within BBcode "code" tags or else within special "abc" tags.  In a "code" tag you see the source (monospaced but also in bold, which throws the spacing out a bit), in an "abc" tag the forum auto-generates staff notation.  This seems clunky at first, but it means you can choose which form you want the reader to see, and you can also post slightly different versions of your ABC in the two places - one optimized for source readability and the other optimized for staff notation readability (I have gone back and changed my original post to do exactly that).  They use a different plugin from The Ocarina Network's, but the score rendering looks the same.
« Last Edit: June 14, 2015, 04:28:37 PM by Jack Campin »
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.

Theo

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 14475
  • Hohner Club Too
    • The Box Place
Re: auto-processing of ABC in forums
« Reply #18 on: June 14, 2015, 07:30:23 PM »

That looks interesting and very neat!
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

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: auto-processing of ABC in forums
« Reply #19 on: June 14, 2015, 07:34:55 PM »

I didn't get it at first, then realised I needed to click a button to expand the box. Very neat indeed!
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)
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