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: Ossia staves in ABC  (Read 2644 times)

0 Members and 1 Guest are viewing this topic.

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Ossia staves in ABC
« 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

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Ossia staves in ABC
« Reply #1 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 has some seriously knowledgeable members, perhaps you could point the OP in that direction?
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)

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Ossia staves in ABC
« Reply #2 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.

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: Ossia staves in ABC
« Reply #3 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.
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: Ossia staves in ABC
« Reply #4 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.
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne
Re: Ossia staves in ABC
« Reply #5 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.

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF
Re: Ossia staves in ABC
« Reply #6 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.
« Last Edit: June 07, 2019, 12:24:27 PM by Mike Hirst »
Logged
Semper idem, sed non eodem modo

Pete Dunk

  • Typo Expert
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3706
Re: Ossia staves in ABC
« Reply #7 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
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)

Theo

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 14475
  • Hohner Club Too
    • The Box Place
Re: Ossia staves in ABC
« Reply #8 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.
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

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF
Re: Ossia staves in ABC
« Reply #9 on: June 07, 2019, 03:32:41 PM »

abcpp (http://abcplus.sourceforge.net/#abcpp) is one of tools available through Guido Gonzato's ABC Plus project (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.
« Last Edit: June 07, 2019, 08:40:16 PM by Mike Hirst »
Logged
Semper idem, sed non eodem modo
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