From: Dominique F. <fo...@gr...> - 2016-09-13 16:00:39
|
> Le 13 sept. 2016 à 17:35, Arshia Cont <ars...@an...> a écrit : > > Thanks again Dominique. > > I fixed this through libmusicxml. Though I insist that Articulation on a chord in Guido should result into a single graphical markup but we can live with it! :) > > The difficulty with your position is to “find” the right “dy” for the articulation while converting. > > In MusicXML there are “relative-y” position and “placement” for each articulation. Is there any magic formula for converting these to Guido “dy”? By doing tests I realise that the “xml2guidovisitor::addPosition” in libmusicxml does NOT take into account the “placement” attribute which is apparently important for articulations. Right and placement is poorly supported in guido… The \marcato tag has an optional ‘position’ parameter that can take ‘above’ or ‘below’ as values, I have to check for other articulations but I’m afraid it’s the only one. In addition, rendering is affected by the position specification even when the default computed position is the same :-( Try the following code as an example: [ \marcato(a2 g f e d c) \space<2cm> \marcato<position="above">(a2 g f e d c) ] To me it looks like a bug... I’ll look at this issue (including generalizing the position to all articulations) and see also if I can change the behavior for chords. But a bit patience will be required… — Dom > > Thanks again. > > > > > >> On 12 Sep 2016, at 15:14, Dominique Fober <fo...@gr...> wrote: >> >> >>> Le 12 sept. 2016 à 14:22, Arshia Cont <ars...@an...> a écrit : >>> >>> Hello list, >>> >>> Doing some tests, I realised that articulations on CHORDS are repeated for every note in the chord. This results to not-very-beautiful graphical repetition of articulations (check for example \stacc({c,e,g} or \ten({c,e,g}). Ideally, for a chord we should have once graphical instance of the articulation. Is that correct?! or am I missing sth? >> >> you could write {c,e, \stacc(g)} >> or {\stacc<dy=-5>(c) ,e, g} >> does it solves your problem? >> — >> Dom >> >>> >>> Thanks in advance, >>> >>> >>> Arshia Cont >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Guidolib-devel mailing list >>> Gui...@li... >>> https://lists.sourceforge.net/lists/listinfo/guidolib-devel >> > |