duration and pitch in a function

2011-12-07 Thread Paolo Prete
Hi, I need to create a function that accepts some_pitch and some_duration as arguments and prints the following three notes: 1) some_pitch with some_duration 2) some_pitch with some_duration*2 3) some_pitch with some_duration*3 Should I use ly:duration as type of the argument two? I can't

Re: duration and pitch in a function

2011-12-08 Thread Paolo Prete
n and pitch in a function > A: lilypond-user@gnu.org > Data: Giovedì 8 dicembre 2011, 07:59 > Paolo Prete > writes: > > > I need to create a function that > > > > accepts some_pitch and some_duration as arguments and > prints the > > following t

Slashed beam

2011-12-24 Thread Paolo Prete
Hi, is there a way to have a slash on the beam of a _sequence_ of notes? Something like a slash for an acciaccatura with multiple notes, but intended for normal (not acciaccatura) notes. This piece of code wuold be very useful, but it doesn't compile on 2.15.21 http://lists.gnu.org/archive/ht

Re: Slashed beam

2011-12-24 Thread Paolo Prete
ed beam > A: "Paolo Prete" > Cc: lilypond-user@gnu.org > Data: Domenica 25 dicembre 2011, 00:51 > Hello, > > On 24 December 2011 23:46, Paolo Prete > wrote: > > Hi, > > > > is there a way to have a slash on the beam of a > _sequence_ of notes? &

Re: Slashed beam

2011-12-25 Thread Paolo Prete
thanks Thomas, it works greatly and imho it should be added to the snippets repo --- Dom 25/12/11, Thomas Morley ha scritto: > Da: Thomas Morley > Oggetto: Re: Slashed beam > A: "Paolo Prete" > Cc: lilypond-user@gnu.org > Data: Domenica 25 dicembre 2011, 01:41 &g

angle of a tuplet bracket

2012-01-05 Thread Paolo Prete
... is there a way to specify the angle of a tuplet bracket? In addition, how can I force the bracket of the following tuplet: \times 2/3 {c' c'' c'''} so to be horizontal? (0 °) thanks! ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: angle of a tuplet bracket

2012-01-09 Thread Paolo Prete
--- Gio 5/1/12, Thomas Morley ha scritto: > Da: Thomas Morley > Oggetto: Re: angle of a tuplet bracket > A: "Paolo Prete" > Cc: "lilypond-user" > Data: Giovedì 5 gennaio 2012, 14:40 > Hi Paolo, > > 2012/1/5 Paolo Prete : > > ... is ther

Re: angle of a tuplet bracket

2012-01-09 Thread Paolo Prete
gt; A: "m...@apollinemike.com" > Cc: "Paolo Prete" , "lilypond-user" > > Data: Giovedì 5 gennaio 2012, 16:20 > Hi Paolo, > > 2012/1/5 m...@apollinemike.com > : > > > > On Jan 5, 2012, at 2:31 PM, Paolo Prete wrote: > > > > ... is

rest centered between staves

2012-01-11 Thread Paolo Prete
Hi all, is it possible to have a rest centered between two staves? I could use something like some_pitch\rest but it changes depending on the case: for example, when there is an ottava bracket or if the clef changes. thanks! Paolo ___ lilypond-user m

Re: rest centered between staves

2012-01-11 Thread Paolo Prete
> beside the dynamics example shown in precious mails, you > might use > >   \override Rest #'staff-position = #-12 > > to have rests under the staff. This solution doesn't depend > on ottavas or clefs, but on spacing between staves. Hi Jan, This solution could work well if I can force default-

Breathing sign at a specified staff position

2012-01-13 Thread Paolo Prete
Hi all, is it possible to place a breathing sign at a specified position? I can do that for a rest, in this way: \override Rest #'staff-position = #-12 thanks! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinf

midi glissando for a piano score

2012-01-18 Thread Paolo Prete
Hello, is it possible to produce a glissando in the midi output of a piano score? I looked at articulate script, but it doesn't seem to do that job thanks Paolo ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listi

distance between sustain pedal and staff

2012-01-19 Thread Paolo Prete
Hello, 1) how can I set the distance between sustain pedal and staff on lily 2.15.22 ? I tried (see the attached example): \override Score.SustainPedalLineSpanner #'padding = #'20 (as well as Y-offset and some other options) but it doesn't seem to work... 2) is it possible to change th

multi line glissando

2012-01-26 Thread Paolo Prete
Hello, how can I obtain a glissando similar to that in the attached file? Thanks! Paolo <>___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: multi line glissando

2012-01-26 Thread Paolo Prete
mike.com ha scritto: > Da: m...@apollinemike.com > Oggetto: Re: multi line glissando > A: lilypond-user@gnu.org > Data: Giovedì 26 gennaio 2012, 13:30 > On Thu, 26 Jan 2012 12:11:47 + > (GMT), Paolo Prete wrote: > > Hello, > > > > how can I obtain a glissando simila

Modifying a slur by offsetting the positions property

2012-02-01 Thread Paolo Prete
Hi all, How can I modify this snippet so to compile on Lilypond 2.15 ? http://lsr.dsi.unimi.it/LSR/Item?id=748 It would be very useful Otherwise, are there easy alternatives for obtaining the same function? thanks! Paolo ___ lilypond-user maili

Horizontal shifting

2012-02-01 Thread Paolo Prete
Hi, is there an easy way to shift notes in a way similar to the png example attached to this mail? A way to do that could be using NoteColumn #'force-hshift with an invisible additional voice... but I wonder if is there an easier solution. Thanks all! Cheers, Paolo<>___

Re: Horizontal shifting

2012-02-02 Thread Paolo Prete
Oggetto: Re: Horizontal shifting > A: lilypond-user@gnu.org > Data: Mercoledì 1 febbraio 2012, 22:02 > On 02/02/12 05:21, Paolo Prete > wrote: > > Hi, > > > > is there an easy way to shift notes in a way similar to > the png example attached to this mail? > &g

change the size of the arpeggio arrows

2012-04-03 Thread Paolo Prete
Hello, how can I change the size of the arpeggio (up and down) arrows? The default size is really small thanks! Paolo ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

flageolets near noteheads

2012-04-10 Thread Paolo Prete
Hi all, is there a way to place the flageolet symbol always NEAR (above or below) the notehead? I can see that if the notehead is within the staff, the flageolet is placed far from the notehead, above or below the staff. thanks Paolo ___ lilypond-

Re: flageolets near noteheads

2012-04-10 Thread Paolo Prete
thanks very much --- Mer 11/4/12, Nick Payne ha scritto: > Da: Nick Payne > Oggetto: Re: flageolets near noteheads > A: lilypond-user@gnu.org > Data: Mercoledì 11 Aprile 2012, 00:05 > On 11/04/12 07:50, Paolo Prete > wrote: > > Hi all, > > > > is there

ottava text and offset

2012-04-15 Thread Paolo Prete
Hi all, How can I make the "ottava" text similar to that: http://i44.tinypic.com/14vpgud.png (note the "big fat 8 " and the smaller "va") In addition, how can I move the ottava text+bracket so that the X position of the note head is exactly placed where the number 8 finishes? (note the red se

parenthesize a dotted note

2012-04-15 Thread Paolo Prete
Hello, has this bug been fixed in lilypond 2.15.xx ? http://old.nabble.com/Fix-155%3A-parentheses-include-accidentals-and-dots.-(issue-5047048)-td32485933.html If so, which Lilypond version could I use? Artenatively, how can I fix that without patching and recompiling the source code? thanks

Request for a cross-staff easy function

2019-12-14 Thread Paolo Prete
Hi all, I think this function would be very useful for solving the limitations of the current cross-staff interface: crossStaffExpr = #(define-music-function (parser location staffUpMusic staffDownMusic beamPosition) (ly:music? ly:music? number?) . Example: \crossStaffExpr = { c '[ d'

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-14 Thread Paolo Prete
Thanks Aaron, it did the trick. However, how can I make it work for multiple pages output? On Sat, Dec 14, 2019 at 4:26 AM Aaron Hill wrote: > On 2019-12-13 5:59 pm, Paolo Pr wrote: > > First of all, I need to add with Lilypond a tag to the svg > > file > > just before the ending tag

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-14 Thread Paolo Prete
\paper { > oddFooterMarkup = \script-for-every-page > evenFooterMarkup = \script-for-every-page > } > > { g'4 a' \tweak Accidental.output-attributes #'((id . "flat")) bes'2 > \pageBreak > g'4 a' \tweak Accidental.output-attrib

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-14 Thread Paolo Prete
spin(flat, 5), 100);" > > \paper { > oddFooterMarkup = \script-for-every-page > evenFooterMarkup = \script-for-every-page > } > > { g'4 a' \tweak Accidental.output-attributes #'((id . "flat")) bes'2 > \pageBreak > g'4 a' \twea

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-14 Thread Paolo Prete
think? On Sun, Dec 15, 2019 at 12:38 AM Aaron Hill wrote: > On 2019-12-14 6:16 am, Paolo Prete wrote: > > However, how can I make it work for multiple pages output? > > Another approach would be to modify how LilyPond generates SVG output, > so that the script in question is insert

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-14 Thread Paolo Prete
paste every one. I have no > clue on how to achieve that honestly, but that'd be incredible. > > HTH, > Stéfano > > El sáb., 14 dic. 2019 a las 20:08, Paolo Prete () > escribió: > >> Hi Stefano, >> >> your suggestion produces the script for every page, bu

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-14 Thread Paolo Prete
At this point, here's the complete all-in-one .ly template. Much cleaner and without risks to mess the code, for the user. In addition, it has not to be patched: just open and use the generated .svg file. Hope it could be included in the snippets repo. Thanks all for your collaboration! %

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-15 Thread Paolo Prete
Attached to this post there's the improved version (fixed indentation and lines' max length). Note too that this version includes a function that prevents opening the default menu with the right mouse button. Can someone fix the scheme code indentation? After that, can we add this on the snippets

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-15 Thread Paolo Prete
Hello Thomas, this is a bit discouraging for me, TBH. Hope someone could write a proper Scheme procedure, then, and port the snippet on 2.18.2. Best, P On Mon, Dec 16, 2019 at 12:24 AM Thomas Morley wrote: > Am Mo., 16. Dez. 2019 um 00:06 Uhr schrieb Paolo Prete < > paolopr...@

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-15 Thread Paolo Prete
Ok, let's move the discussion on the dev ml, then. Cheers, P On Mon, Dec 16, 2019 at 2:07 AM Thomas Morley wrote: > Am Mo., 16. Dez. 2019 um 01:50 Uhr schrieb Paolo Prete < > paolopr...@gmail.com>: > > > > Hello Thomas, > > > > this is a bit discour

Re: A Javascript test code for modifying ties and slurs with mouse

2019-12-15 Thread Paolo Prete
Good idea Kieren, if they approve it, I'll suggest the nomenclature you proposed. Best, P On Mon, Dec 16, 2019 at 2:03 AM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > After that, can we add this on the snippets repository? > > Might I suggest a nomenclature improve

A snippet for editing Beams using the mouse

2019-12-16 Thread Paolo Prete
Hello everybody, here is another snippet that uses the system that I previously implemented. This time for the tuning of the beams. This is too a very tedious operation to do with just the code and for this I believe that this tool is also useful. As you can see, the code is not only shorter than

Re: A snippet for editing Beams using the mouse

2019-12-16 Thread Paolo Prete
I'm just noting that there's a bug with more than one Beam. I'm fixing it. Have a bit of patience please ;-) On Mon, Dec 16, 2019 at 11:55 PM Paolo Prete wrote: > Hello everybody, > > here is another snippet that uses the system that I previously > implemented. This

Re: A snippet for editing Beams using the mouse

2019-12-16 Thread Paolo Prete
Here's the fixed version: waiting for feedbacks! (Again and again: I write these snippets really in a hurry, in these days. A more "structured" collaboration is getting necessary for me, at this point) Any Javascript volunteer? On Tue, Dec 17, 2019 at 1:24 AM Paolo Prete wro

Re: Indentation, was Re: A snippet for editing Beams using the mouse

2019-12-16 Thread Paolo Prete
Dec 17, 2019 at 2:17 AM David Wright wrote: > On Mon 16 Dec 2019 at 23:55:52 (+0100), Paolo Prete wrote: > > P.S) I don't know why the browser's viewer messes up the indentation of > > these attachments. > > If so, I ask if are there volunteers to fix that and re-pos

Need help with Scheme code

2019-12-17 Thread Paolo Prete
Hello all, In order to automate the reverse process of the lilypond+javascript snippets (write the GUI modifications of the grobs to the .ly file) I need to make the following code work: % token = \tweak output-attributes #'((id . "foobar")) \score { { a8 \token

Re: Need help with Scheme code

2019-12-17 Thread Paolo Prete
> > That achieves half of what you want. Now, how to make "foobar" > automatically increment I don't know, perhaps someone else can help with > that. > > Hope that helps! > Stéfano > > El mar., 17 dic. 2019 a las 19:06, Paolo Prete () > escribió: > >>

Re: Need help with Scheme code

2019-12-17 Thread Paolo Prete
gt; > token = -\tweak output-attributes #'((id . "foobar")) \etc > > \relative { c'4 d8 -\token [ e ] f2 } > > That achieves half of what you want. Now, how to make "foobar" > automatically increment I don't know, perhaps someone else can help with &g

Re: Need help with Scheme code

2019-12-17 Thread Paolo Prete
t;string (serial) \etc > > \relative { c'4 d8 -\token [ e ] f -\token [ g ] c,4 } > > I will test your snippet for modifying beams later! Thank you for the work > you are doing. > > Hope this helps! > Stéfano > > El mar., 17 dic. 2019 a las 19:23, Paolo Pret

Re: Need help with Scheme code

2019-12-17 Thread Paolo Prete
Hi Kieren, yes, of course! please let me know how to use it On Wed, Dec 18, 2019 at 1:32 AM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > The ids must be: foobar_1, foobar_2 etc. > > Can they be foobar.1, foobar.2, etc. instead? > Lilypond has a nice built-in mechan

Re: Need help with Scheme code

2019-12-17 Thread Paolo Prete
'aa') ('i' . 'ii') ('id' . 'foobar_1')) On Wed, Dec 18, 2019 at 2:07 AM Aaron Hill wrote: > On 2019-12-17 4:21 pm, Paolo Prete wrote: > > Hi Stefano, > > > > unfortunately, it doesn't increment the counter globally, and

Re: Need help with Scheme code

2019-12-18 Thread Paolo Prete
t! myVar current-value-of-beam-thickness ) On Wed, Dec 18, 2019 at 5:14 AM Aaron Hill wrote: > On 2019-12-17 6:01 pm, Paolo Prete wrote: > > And thanks again to the Scheme-master Aaron. > > I appreciate the kind words, though I doubt my experience rises to the > level of &quo

Re: Need help with Scheme code

2019-12-18 Thread Paolo Prete
e traditional way, with and without your modification. > > > > In your lilypond file put: > > \displayMusic oldmusic > > \displayMusic newmusic > > > > And what you can see wht you have to write by observing the differences > > > > Jaap > > > > *Fro

Re: Need help with Scheme code

2019-12-19 Thread Paolo Prete
property! grob > 'output-attributes outprop))) > #mexp #} ) > (else mexp >mexp))) > > \relative { c'4 d8 -\token [ e ] f -\token [ g ] c,4 } > > > I wrote the token function in a way that I think will be eas

Put the property of a grob in the output-attributes list

2019-12-22 Thread Paolo Prete
Hello all. the following function (thanks to Stefano!) inserts the beam-thickness property of a Beam in the list of output-attributes of the corresponding SVG item. It does its job if I place the function soon before a beam symbol "[". But it doesn't work (no errors, but the output-attributes pro

Re: Put the property of a grob in the output-attributes list

2019-12-22 Thread Paolo Prete
gt; (ly:grob-set-property! grob > 'output-attributes outprop))) > \tweak Beam.output-attributes.id #id #mus #} ) > (else #{ \tweak output-attributes.id #id #mus #} >mexp))) > > \relative

Output file extension

2019-12-22 Thread Paolo Prete
Hello, is it possible, in some way (without an external script) to override the extension for the output file? I need that output.svg is renamed as output.html Thanks

Re: Put the property of a grob in the output-attributes list

2019-12-23 Thread Paolo Prete
operties do you need stored in the svg output attributes? > > El dom., 22 dic. 2019 a las 14:04, Paolo Prete () > escribió: > >> Thank you again Stefano. This helps again and you will see how good it >> will fit in the library I'm coding. >> However, I can'

Re: Output file extension

2019-12-23 Thread Paolo Prete
Hi Melt: I just solved in this way ( I looked at https://stackoverflow.com/questions/21816306/guile-scheme-redefine-another-modules-internal-function for understanding how a redefinition of a module's function works): Lot of dependencies to fix as a consequence, but it works: ***

Question about GPL license

2019-12-28 Thread Paolo Prete
Hello all, In these days, I worked at my Javascript script which allows to place Lilypond's grobs with the mouse. I think I'm ready to share a test version on Github. >From what I see, the only license that I can use for it is GPLv3. Can you confirm that? I just saw this article about the bad si

LilyJSSVG

2019-12-28 Thread Paolo Prete
the tuning of curves through the mouse https://github.com/paolo-prete/LilyJSSVG At the moment, in addition to the tuning of curves and beams, it is possible to position texts, dynamics and articulations. The code is designed to be easily extended, in order to add other objects to be positioned, in

Re: LilyJSSVG

2019-12-29 Thread Paolo Prete
On Sun, Dec 29, 2019 at 11:04 AM Martin Tarenskeen wrote: > > > On Sun, 29 Dec 2019, Paolo Prete wrote: > > > https://github.com/paolo-prete/LilyJSSVG > > > Unlike the previous script, there is no need for copy and paste: the > editor offers a textarea that is a

A visible stencil for a NoteColumn grob

2019-12-29 Thread Paolo Prete
Hello. 1) How can I associate a stencil to a NoteColumn grob? I would like to show a vertical line in correspondence of it, but it seems that \override NoteColumn.stencil ... has no effect. 2) is it possible to associate an output-attributes list to the NoteColumn grob, as well (so that it appe

ANN: LilyJSSVG, first pre-release (BIG improvement)

2020-01-05 Thread Paolo Prete
Hello all, I am very happy to announce the first version of the LilyJSSVG editor, after the various tests made in the previous days (I have not yet committed the release, but everything is ready). https://github.com/paolo-prete/LilyJSSVG As you can see, this version brings VERY IMPORTANT

Re: ANN: LilyJSSVG, first pre-release (BIG improvement)

2020-01-06 Thread Paolo Prete
Hi Simon you have to download it and play with a common player, as explained in the homepage of the project. There's not an embedded viewer in Github, sorry. best, Paolo. On Mon, Jan 6, 2020 at 4:01 PM Simon Albrecht wrote: > Hi Paolo, > > On 05.01.20 23:32, Paolo Prete wr

Easy cross staff

2020-01-06 Thread Paolo Prete
Hello all, I was a little bit reluctant to publish this (the Scheme code has to be cleaned, better indented etc.) but given that it seems to me that it works well and avoids many limitations of the cross-staff interface, I am happy to share it. http://lilybin.com/eoxzn9/2 Is there any volunteer

Hairpin position

2020-01-10 Thread Paolo Prete
Hello, given: {{ a'\p\< a' a' a'\ff }} ... how can I move the hairpin so that its start and end dynamics (p and ff, in this case) are automatically repositioned? (otherwise: how can I move the dynamics so that the hairpin is automatically repositioned?) Thanks. Best, P

Re: Hairpin position

2020-01-11 Thread Paolo Prete
Hello Michael and Andrew, please look at this (2.19.83): { \once \override DynamicText.extra-offset = #'(-2 . -3) a'\p\< a' a' a'\ff } Obviously, the hairpin is not automatically moved so to be aligned with the moved DynamicText. I wonder if is there a way to achieve this. Best, P On Sa

Sustain pedal problems with voices/staffs (re-posted)

2020-01-11 Thread Paolo Prete
Hello. What about the status of this? http://lilypond.1069038.n5.nabble.com/Sustain-pedal-problems-with-voices-staffs-td157131.html It's a very annoying missing feature/bug . Is there a fix or workaround/alternative for avoiding that, other than using an additional Dynamics layer? Best, P

Re: Sustain pedal problems with voices/staffs (re-posted)

2020-01-11 Thread Paolo Prete
%% \version "2.19.83" upper = { s1 } lower = { c'8[\sustainOn \change Staff = "upper" d'' e'' f'']\sustainOff r2 } \score { \new PianoStaff << \new Staff = "upper" \upper \new Staff = "lower" \lower >> \layout { } \midi { } } %%%

Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Hello. Please consider this example: {{ \ottava #1 c c c c \ottava #0 }} How can I shift up the ottava bracket exactly TWO staff spaces above its calculated position? Both: \override Staff.OttavaBracket.Y-offset = ... and \override Staff.OttavaBracket.staff-padding = ... don't

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Thanks very much David. Just tested and it works with 2.19 (not with 2.18, though) On Mon, Jan 13, 2020 at 12:06 AM David Nalesnik wrote: > On Sun, Jan 12, 2020 at 4:54 PM Paolo Prete wrote: > > > > Hello. > > > > Please consider this example: > > >

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Try this with both stable and unstable http://lilybin.com/yb5u35/1 On Mon, Jan 13, 2020 at 12:20 AM David Nalesnik wrote: > On Sun, Jan 12, 2020 at 5:13 PM Paolo Prete wrote: > > > > Thanks very much David. > > Just tested and it works with 2.19 (not with 2.18, though)

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
olo, > > On Sun, Jan 12, 2020 at 5:27 PM Paolo Prete wrote: > > > > Try this with both stable and unstable > > > > http://lilybin.com/yb5u35/1 > > > > On Mon, Jan 13, 2020 at 12:20 AM David Nalesnik < > david.nales...@gmail.com> wrote: > >

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Unfortunately, with extra-offset I have the disadvantage that all the other objects are not moved automatically (smart repositioning) Does my example show a bug/missing feature for OttavaBracket? Thanks, Paolo On Mon, Jan 13, 2020 at 1:56 AM Aaron Hill wrote: > If you want to move the bracket u

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
-offset concerning the starting offset. Best, Paolo On Mon, Jan 13, 2020 at 2:31 AM Aaron Hill wrote: > On 2020-01-12 5:17 pm, Paolo Prete wrote: > > Unfortunately, with extra-offset I have the disadvantage that all the > > other > > objects are not moved

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
> > > > outside-staff-padding does the job only if reset; see: > > http://lilybin.com/yb5u35/4 > > > Wrong link. Look at: >> > http://lilybin.com/yb5u35/5

Re: Shift up OttavaBracket

2020-01-12 Thread Paolo Prete
Hi Kieren, look at my last post. Repositioning the OttavaBracket requires an unknown offset. best, Paolo On Mon, Jan 13, 2020 at 2:26 AM kieren_macmillan kieren_macmillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > Unfortunately, with extra-offset I have the disadvantage that all

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
onveniences. HTH, Paolo On Mon, Jan 13, 2020 at 4:16 AM Carl Sorensen wrote: > > > > > *From: *Paolo Prete > *Date: *Sunday, January 12, 2020 at 7:31 PM > *To: *Aaron Hill > *Cc: *lilypond-user > *Subject: *Re: Shift up OttavaBracket > > > > As said in the first

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
On Mon, Jan 13, 2020 at 2:37 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > from what I read in the documentation > > http://lilypond.org/doc/v2.19/Documentation/learning/moving-objects > > ... there are two ways to place items like the OctaveBracket. > > > > 1) The

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
On Mon, Jan 13, 2020 at 3:35 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > > > Not in my example: I know its reference point is exactly 10 spaces from > the reference point of the staff. ;) > > This happens because you have chosen a value that you know at a glance

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Paolo On Mon, Jan 13, 2020 at 4:22 PM Robin Bannister wrote: > Paolo Prete wrote: > > > (A) + (B) > > make me suspect that the whole OttavaBracket interface is buggy. > > > It may not be exactly what you want, but I have the feeling that you > haven't tried out

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
On Mon, Jan 13, 2020 at 4:36 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo, > > > But it doesn't work in many cases. For example, in my snippet I'm forced > to use a ruler If I want to shift the bracket exactly +2 staff-spaces more. > Then I have to put the starting point

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Well, I investigated as well. I think that the only way to solve this is to use the combination Y-offset + \offset + 2.19 As you can see, this seems to work in 2.19 http://lilybin.com/yb5u35/12 And it doesn't work in 2.18. Correct me if I'm wrong: this is currently the *only* proper way to shif

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
You are right. I made the same test one minute ago :-) Well, definitely a bug. Is there a workaround for this at least in 2.19 ? Otherwise the OttavaBracket interface is almost unusable (except for the extra-offset property) On Mon, Jan 13, 2020 at 8:25 PM Kieren MacMillan < kieren_macmil...@

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
27;8 8 \ottava #0 r4 \ottava #1 c''''8\( 8\)\ottava #0 r4 \once \offset Y-offset 1 Staff.OttavaBracket \ottava #1 c''''8\( 8\)\ottava #0 r4 } On Mon, Jan 13, 2020 at 9:07 PM Carl Sorensen wrote: > > > > > *From: *Pao

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Does it mean that similar issues can happen with the same property applied to other grobs, like DynamicLineSpanner ? Thanks, Best P On Mon, Jan 13, 2020 at 9:20 PM Carl Sorensen wrote: > > > On 1/13/20, 12:25 PM, "Kieren MacMillan" > wrote: > > Hi Paolo (et al.), > > > Well, I investi

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
ere a way to pull out the actual finished position (or the distance from its reference point), so that I can compare it with the wanted position? On Mon, Jan 13, 2020 at 9:46 PM Carl Sorensen wrote: > > > > > *From: *Paolo Prete > *Date: *Monday, January 13, 2020 at 1:33 P

Re: Shift up OttavaBracket

2020-01-13 Thread Paolo Prete
Sorry for the typo WRONG: 1) At this point, given that Y-offset can't be used for properly offsetting (\offset) the OttavaBracket (unless you use a ruler and place its reference point of the bracket, which is very tedious), is there any any other property that can be used? CORRECT 1) At this p

Distance of a grob from its reference point

2020-01-13 Thread Paolo Prete
Hello. Is there a way to obtain, for a given grob 1) its *calculated* distance from its reference point? (from what I see, the reference Y of an OttavaBracket is the middle line of the associated staff...) I tried ly:grob-staff-position (see the snippet below), but it doesn't seem to give this inf

Re: Distance of a grob from its reference point

2020-01-14 Thread Paolo Prete
ded to the other grobs. So I dedicated myself to the LilyJSSVG editor. Here is what came out: https://github.com/paolo-prete/LilyJSSVG/blob/master/LilyJSSVG.gif Try making these micro- (or big) adjustments with just the text editor. You will go crazy. Note one * very important * thing. This E

Re: Distance of a grob from its reference point

2020-01-14 Thread Paolo Prete
Sorry, broken link Here's the correct one: https://filebin.net/sy6z7b39fcounb5j > > I am a convinced open source developer and already 10 years ago I used > Lilypond to create my scores, because I wanted to avoid Finale, Sibelius > and other proprietary software (which I used before). In the e

Re: Distance of a grob from its reference point

2020-01-14 Thread Paolo Prete
On Tue, Jan 14, 2020 at 10:10 PM kieren_macmillan kieren_macmillan < kieren_macmil...@sympatico.ca> wrote: > Hi Paolo (et al.), > > > Why do I need to move a grob? > > For the simple fact that any score, in order to have a * professional * > > appearance, needs HUNDREDS of these adjustments. > > E

Re: Distance of a grob from its reference point

2020-01-14 Thread Paolo Prete
On Tue, Jan 14, 2020 at 9:08 PM Aaron Hill wrote: > I am not connected to the world of modern notation, but I > cannot envision any musical meaning for the exact vertical position of > an OttavaBracket. This is not true. There are many and many cases in which you need to tune the position of

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
. Without a proper behavior of the "\offset" command you cannot do nor the automatic 2) placement, nor a fine tuning. Best, Paolo It seems (I apologize if that is coming across sarcastically, but I am afraid I lack better wordsmithing.) On Wed, Jan 15, 2020 at 4:50 AM Aa

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
ensen wrote: > > > > > *From: *Paolo Prete > *Date: *Tuesday, January 14, 2020 at 8:10 PM > *To: *Aaron Hill > *Cc: *Lilypond-User Mailing List > *Subject: *Re: Distance of a grob from its reference point > > > > > > > > > > I really can&#x

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
ve to offset an estimated position. How could you do that if you don't know this estimated position? Best, P On Wed, Jan 15, 2020 at 10:46 PM Aaron Hill wrote: > On 2020-01-15 1:21 pm, Paolo Prete wrote: > > Without a proper behavior of the "\offset" command yo

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
eally* happy to find a way to use this properties. They are essential for the automatic avoid-collision algos. On Wed, Jan 15, 2020 at 10:57 PM Paolo Prete wrote: > I quote Carl's words: > > "So offset applies to the *estimated* position, and then the spacing > engine work

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
you can measure the offset with a ruler (in a very uncomfortable way, though, given that you have to offset the ruler as well with the ref point of the grob). Thanks, Paolo On Wed, Jan 15, 2020 at 11:55 PM Carl Sorensen wrote: > > > > > *From: *Paolo Prete > *Date: *Wednes

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
se do not see that as bad criticism. I'm telling that because it could save time to other people. On Thu, Jan 16, 2020 at 12:22 AM Carl Sorensen wrote: > > > > > *From: *Paolo Prete > *Date: *Wednesday, January 15, 2020 at 4:16 PM > *To: *Carl Sorensen > *Cc: *Lily

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
t 12:46 AM Aaron Hill wrote: > On 2020-01-15 1:57 pm, Paolo Prete wrote: > > I quote Carl's words: > > > > "So offset applies to the *estimated* position, and then the spacing > > engine > > works on the offset+estimated postion and ends up putting things w

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
Yes, but, it's necessary too to add a *warning* on the Lilypond output. This is much more clear for the user than the documentation. On Thu, Jan 16, 2020 at 1:12 AM Carl Sorensen wrote: > > > > > *From: *Paolo Prete > *Date: *Wednesday, January 15, 2020 at 4:45 PM >

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
On Thu, Jan 16, 2020 at 1:31 AM Carl Sorensen wrote: > > > It may be desirable, but it’s not **necessary** to add a warning. At > this point, I don’t think we have the infrastructure to add the warning. > I did not know that. I thought that such a modification was a one-line change.

Re: Distance of a grob from its reference point

2020-01-15 Thread Paolo Prete
On Thu, Jan 16, 2020 at 1:16 AM Aaron Hill wrote: > On 2020-01-15 3:59 pm, Paolo Prete wrote > > If you are pushing things by small amounts akin to font kerning, then > collisions are unlikely and extra-offset is often the right tool for the > job. > "If you are pushing

Override a StaffSymbol property outside \new Staff { ... } context

2020-01-15 Thread Paolo Prete
Hello, is it possible to override a property of StaffSymbol outside a \new Staff \with { ... } context? I would like to obtain something like: %%% #scheme-code-for-overriding-staffsymbol-for-all-the-staves-in-the-score { c' c' c' c' } %%% Thanks

Re: Override a StaffSymbol property outside \new Staff { ... } context

2020-01-15 Thread Paolo Prete
On Thu, Jan 16, 2020 at 3:15 AM Aaron Hill wrote: > On 2020-01-15 5:15 pm, Paolo Prete wrote: > > Hello, > > > > is it possible to override a property of StaffSymbol outside a > > \new Staff \with { ... } > > context? > > &g

Re: Distance of a grob from its reference point

2020-01-16 Thread Paolo Prete
On Thu, Jan 16, 2020 at 11:45 AM Michael Gerdau wrote: > > > FWIW: Prior to reading this thread I wasn't even aware, that \offset > might not do what I want in all situations. I use it occasionally and > like it - works for me. > > Claiming it is completely broken seems way over the top to me. >

  1   2   3   4   5   6   >