Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Stiamh on June 06, 2019, 01:44:38 PM

Title: Ossia staves in ABC
Post by: Stiamh on June 06, 2019, 01:44:38 PM
There is an interesting discussion on the above topic at thesession.org.

If any of our resident experts could add to the discussion, improving on the ABC syntax proposed, and possibly resolving one of the difficulties the OP there is encountering with positioning an ossia staff at the end of a system, he would no doubt be grateful, and I certainly would.

https://thesession.org/discussions/43650
Title: Re: Ossia staves in ABC
Post by: Pete Dunk on June 06, 2019, 05:49:12 PM
When I got to the post where someone forced a line break with an exclamation point I quietly left the room.

John Chambers' ABC works perfectly well but doesn't render properly on the ABC Notation website, bizarre! The OP is using the Mandolin Cafe online converter which surprised me, anyone serious about abc would be using proper software if they want to go into anything complicated. The online stuff is great for rendering a simple tune (which is what most of us do, most of the time) but the last time I used one not all of the %% or ! ! commands were recognised.

The ABC Notation User's Group on Facebook (https://www.facebook.com/groups/498671610282070/?ref=bookmarks) has some seriously knowledgeable members, perhaps you could point the OP in that direction?
Title: Re: Ossia staves in ABC
Post by: Stiamh on June 06, 2019, 06:17:43 PM
When I got to the post where someone forced a line break with an exclamation point I quietly left the room.

Yes I know, that was a most unhelpful post. But if you persist a little further, the OP came up with examples that work pretty well (in EasyABC for example, and it would appear that the mandolin café converter did the job well too). With my attempts at using %%score instead of %%staves, only one problem remained, in the last example.

The OP makes the valid point that the coding required makes it very difficult to see what is going on by gazing at the ABCs, but it is a technique that I could see myself using, if a 100% reliable solution can be found.

Facebook is a room that I have quietly left myself, but I suppose I could suggest the group there to the OP, thanks.

Title: Re: Ossia staves in ABC
Post by: Anahata on June 06, 2019, 08:36:34 PM
The OP makes the valid point that the coding required makes it very difficult to see what is going on by gazing at the ABCs,

Yes, and for that reason I think it's debatable whether ABC is the right tool for the job.
If I had to produce much music like that, I think I'd switch to Musescore. I'm a big fan of ABC, but when it becomes that unreadable, there seems less point in using it.

Perhaps an extension to ABC for this purpose could be designed, then it would make more sense.
Title: Re: Ossia staves in ABC
Post by: Steve_freereeder on June 07, 2019, 12:27:21 AM
Yes, and for that reason I think it's debatable whether ABC is the right tool for the job.
If I had to produce much music like that, I think I'd switch to Musescore. I'm a big fan of ABC, but when it becomes that unreadable, there seems less point in using it.
Completely in agreement with Anahata here. I use both ABC and MuseScore, but when the former becomes so convoluted in its coding, I would use MuseScore. It does the ossia job easily and effectively. Both ABC and MuseScore are free.

I may have posted a similar attachment previously, but here's an example from one of my one-row workshops showing the sort of floating, ossia-type staves which can be easily created using MuseScore.
Title: Re: Ossia staves in ABC
Post by: Stiamh on June 07, 2019, 12:56:28 AM
I think the person enquiring understands that music software programmes can handle the job. He just wanted to know whether it was possible to produce ossia staves in ABC.
Title: Re: Ossia staves in ABC
Post by: Mike Hirst on June 07, 2019, 12:05:40 PM
This to me feels like a job for preprocessing. I would use either the dedicated ABC tool i.e. abcpp, or a general preprocessor e.g. gpp.
In this way the complexities required in tricking ABC display software to produce the desired layout can be inserted at time of compiling rather than cluttering tune notation.
Title: Re: Ossia staves in ABC
Post by: Pete Dunk on June 07, 2019, 01:54:50 PM
I would use either the dedicated ABC tool i.e. abcpp, or a general preprocessor e.g. gpp.

I can never find my Martian/English dictionary when I need it.  :D
Title: Re: Ossia staves in ABC
Post by: Theo on June 07, 2019, 02:18:41 PM
I think what Mike means is that abc and the editors that work with it are not the best tools for creating duly featured scores.

ABC does a great job of recording a melody,  and there are also score editors (some of which can import ABC) and they do a different job, of handling more complex’s full-featured scores.
Title: Re: Ossia staves in ABC
Post by: Mike Hirst on June 07, 2019, 03:32:41 PM
abcpp (http://abcplus.sourceforge.net/#abcpp (http://abcplus.sourceforge.net/#abcpp)) is one of tools available through Guido Gonzato's ABC Plus project (http://abcplus.sourceforge.net/ (http://abcplus.sourceforge.net/)).

As any abc user will acknowledge the primary advantage of using abc notation is it's simplicity. We only struggle when we try to achieve more complex outcomes. Often files, which look perfectly reasonable when printed, produce errors when converted to MIDI. Often tunes need rewriting to produce the desired playback. Playback my require different chords, or repeats. Print versions may require transposition or otherwise altering for different instruments. Alternative page size may be required for differing print or display devices. Preprocessing enables the same basic notation to be output in many different formats.

This programmatic approach enables separation of melodic content from MIDI or print instructions. Although slightly more verbose files remain human readable even when complex notation is included. This makes file maintenance and editing much easier and reduces the need for extensive error checking.

This is probably not going to work for everyone. It certainly requires at least a basic understanding of coding practices. That said, it is probably not the casual user, or beginner who is going to want to include ossia.
SimplePortal 2.3.5 © 2008-2012, SimplePortal