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: Direction of slur line  (Read 1166 times)

0 Members and 1 Guest are viewing this topic.

Gary Arrington

  • Member
  • *
  • Offline Offline
  • Posts: 4
Direction of slur line
« on: January 10, 2023, 06:38:07 PM »

Below is a snippet of abc code.  In the first measure there is a slur between a note and then a lower note.  On my computer, in the EasyABC display window, the slur line is ascending. In my mind, the slur line should be descending, not ascending.  Any ideas of how to fix this?

X:1
T:Untitled1
C:Unknown composer
M:4/4
L:1/4
K:G
B2 (BA) | G2 G |"D" A3- | A3

« Last Edit: January 10, 2023, 06:54:28 PM by Gary Arrington »
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: Direction of slur line
« Reply #1 on: January 10, 2023, 11:53:39 PM »

I don't think there's anything you can put in the ABC code to change this.
It's even possible that different ABC rendering engines would choose to do that line differently. It looks like a minor bug to me.

Slightly off topic: I've seen the YT video about the changes in Musescore 4.0 and it seems to handle this kind of typographical finesse much better than the previous version, and doubtless far better than ABC.
I'm not a regular Musescore user (yet...) but was impressed at what they've done.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Direction of slur line
« Reply #2 on: January 11, 2023, 12:12:27 AM »

Is there an EasyABC support group (or individual) who might be able to address this. I think I've heard mention of such in the past.

Having said that, I tried the code in MCMusic editor and it looked the same (slur starts on top of first note head and finishes on top bar line. I'm not convinced it's not normal. It's not something I've ever noticed before.

From memory, I think you can drag the start and end points around in score editors, such as musescore, but I rarely use them these days.
« Last Edit: January 11, 2023, 09:43:20 AM by Tone Dumb Greg »
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203
Re: Direction of slur line
« Reply #3 on: January 11, 2023, 09:36:33 AM »

It's similar with ABCExplorer

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203
Re: Direction of slur line
« Reply #4 on: January 11, 2023, 09:41:54 AM »

I think what makes it look slightly odd is that the note stems are in opposite directions. In all the images of slurs I've seen in a very quick look online, they all have stems in the same direction. Otherwise there doesn't seem to be any great consistency in how slurs are drawn. In this example the meaning is clear and I'm not sure it matters much.

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: Direction of slur line
« Reply #5 on: January 11, 2023, 10:49:26 AM »

I think what makes it look slightly odd is that the note stems are in opposite directions. ...

To state the obvious, the default, for all notes of 1/4 or longer duration (which corresponds to notes that are not barred together), is that notes written on the middle line, or higher have stems going down

I nearly mentioned stems... 
I always thought the stem direction was optional for the middle line, and you could match the stem direction of notes before or after. I've just tested with abcm2ps (the rendering engine behind many ABC editors) and the stem on a middle line note will match the direction of the note before. Try changing the first note to an A in your example, and the first three stems all go up, and the slur looks much better.
Similarly a run of quavers beamed together and crossing the middle line can have all stems going the same way (with some heuristic to decide which way for compact results.)

None of that solves the original problem, though.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Gary Arrington

  • Member
  • *
  • Offline Offline
  • Posts: 4
Re: Direction of slur line
« Reply #6 on: January 11, 2023, 03:12:11 PM »

I think what makes it look slightly odd is that the note stems are in opposite directions. In all the images of slurs I've seen in a very quick look online, they all have stems in the same direction. Otherwise there doesn't seem to be any great consistency in how slurs are drawn. In this example the meaning is clear and I'm not sure it matters much.

Yes, I think the stem direction is causing the confusion.  If I export the snippet to Musescore 4.0, the slur is corrected, but when I export it back to EasyABC, the ascending slur returns.
Logged

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: Direction of slur line
« Reply #7 on: January 11, 2023, 04:23:24 PM »

Reading through version 2.2 of the abc standard, control of stem direction is pretty limited and does not cover the situation here. Maybe it has to be written off as one of the penalties paid for the advantages of the standard, which are considerable.
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce
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