Re: Sending around contexts

2021-10-29 Thread Stefano Troncaro
Hi all! I just needed to state that this thread completely blew my mind. Sorry for the spam, I found this too awesome to watch silently. El vie, 29 oct 2021 a las 10:25, Kieren MacMillan (< kieren_macmil...@sympatico.ca>) escribió: > Hi David, > > >> My *big* question is: Can notes be pushed *wit

Re: arranger.ly and lilypond 2.21+: error with the \note markup command

2021-01-16 Thread Stefano Troncaro
Harm, Aaron, thank you both for your answers. Both are great solutions! El sáb, 16 ene 2021 a las 0:27, Aaron Hill () escribió: > On 2021-01-15 4:10 pm, Thomas Morley wrote: > > Am Fr., 15. Jan. 2021 um 23:26 Uhr schrieb Stefano Troncaro > > : > >> > >> Hi every

arranger.ly and lilypond 2.21+: error with the \note markup command

2021-01-15 Thread Stefano Troncaro
Hi everyone, I started learning to use the spectacular arranger.ly library that was mentioned in the list a while ago. While most of it works great, I found that internally it sometimes uses the \note markup command, that changed between versions: in 2.2

Re: edition-engraver mod on first note

2020-11-07 Thread Stefano Troncaro
once \override NoteHead.color = #red > \editionMod test 1 1/4 along.Voice.A \once \override NoteHead.color = > #green > \consistToContexts #edition-engraver Staff.Voice > \new Staff \with { \editionID along } { c'4 c' c' c' } > > no red note... > > Dami

Re: edition-engraver mod on first note

2020-11-07 Thread Stefano Troncaro
Hi Damian, can you post an example? If I remember correctly (I may be misremembering) there is an issue in scores starting with \partial But for example I use the following on a score: LVm = \musicPath PNO.left.Voice.main > \editionMod ed 1 0 \LVm { > \once \override DynamicText.X-extent = #emp

Re: arranger.ly (new library)

2020-10-23 Thread Stefano Troncaro
+1 for adding this to oLL. I remember trying to do this with the Edition Engraver but being unable to achieve it. El jue., 22 oct. 2020 a las 21:49, Gilles Thibault () escribió: > Le 2020-10-23 02:19, Andrew Bernard a écrit : > > Hi Gilles, > > > > Why don't we put it in openLilyLib? Avoid the ba

Re: TextScript baseline in Dynamics context

2019-12-27 Thread Stefano Troncaro
Hi Kieren, I was not aware of that function. Thank you for sharing it and thank you Harm for coding it! El vie., 27 dic. 2019 a las 16:24, Kieren MacMillan (< kieren_macmil...@sympatico.ca>) escribió: > Hi Paul, > > > is "custdyn" already in Lily or did you define it somewhere? > > Harm built it

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

2019-12-24 Thread Stefano Troncaro
e absolute and relative coordinates calculated by > Lilypond for the same TextScript. > > Point 1) is very important, because I don't have this info in the svg > output. > About the coordinates: I can calculate them by parsing the svg file, as I > did for beams and slurs. But it w

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

2019-12-22 Thread Stefano Troncaro
" > prop)) > (ly:grob-set-property! grob > 'output-attributes outprop))) > \tweak TextScript.output-attributes.id #id #mus > #} ) > (else #{ \tweak output-attributes.id #id #mus #} >mexp))) >

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

2019-12-22 Thread Stefano Troncaro
Hi Paolo, The main problem here is that \tweak can only modify the object that is next to it, so you can tweak a NoteHead to modify an automatic beam, but to modify a beam that is created manually because of a [ in the input you need to place the tweak before the [. See: % \versio

Re: Need help with Scheme code

2019-12-19 Thread Stefano Troncaro
Hi Paolo, AFAIK the problem here is that \tweak reads the next event of the input and you can't access those properties because the event has not been translated to a grob yet so lilypond has not yet calculated those values (others more suited than me may be able to explain it more elegantly or co

Re: Need help with Scheme code

2019-12-17 Thread Stefano Troncaro
() escribió: > In addition, Stefano, If you have time, please try the snippet for tuning > the beams (second attachment). Any test of these things are very helpful > for me. > > On Tue, Dec 17, 2019 at 11:18 PM Stefano Troncaro < > stefanotronc...@gmail.com> wrote: > &

Re: Need help with Scheme code

2019-12-17 Thread Stefano Troncaro
Hi Paolo, Look at this: \version "2.19.83" 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 that. Hope that h

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

2019-12-15 Thread Stefano Troncaro
Hi Paolo, I tried it out and it seems to be working great! This should save a lot of time. Thank you! El dom., 15 dic. 2019 a las 4:05, Werner LEMBERG () escribió: > > > At this point, here's the complete all-in-one .ly template. [...] > > It would be nice if you could format this to avoid line

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

2019-12-14 Thread Stefano Troncaro
#x27;s one) without messing up the code adding > pieces of the template of the script. So to obtain something like (which is > much cleaner): > > \include "JSSVGSlurTuner.ly" > > { > > \addJSSVGSlurTuner > > . my score . > > } > >

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

2019-12-14 Thread Stefano Troncaro
Hi Paolo, Since Aaron's svg-script function creates an empty \markup, you can use the properties oddFooterMarkup and evenFooterMarkup of the \paper block to have your script embedded at the end of every page. Look: %%% \version "2.19.83" svg-script = #(define-sche

Re: (Pheraps) a not difficult way for modifying slurs with any SVG editor and feed Lilypond with modifications

2019-12-11 Thread Stefano Troncaro
Hi everyone No. In fact I realized that it's not necessary anymore. I'm currently using > the "class" attribute, set by Lilypond on the svg element, and I set it to > the same value for all the slurs I want to modify. Paolo, I see you wrote this while I was drafting a snippet. Here it is in case

Re: polyrhythm with multiple tempi

2019-12-11 Thread Stefano Troncaro
I've nothing to add to the discussion, but I felt the need to express that I am completely impressed by how easily Lilypond manages this. This is awesome! El mié., 11 dic. 2019 a las 11:10, Kieren MacMillan (< kieren_macmil...@sympatico.ca>) escribió: > Hi there, > > > \scaleDurations does not sc

Re: Scheme question

2019-09-20 Thread Stefano Troncaro
Hi Jay, your 'if' statements are not nested properly. See: #(define nameold (if (equal? pitch "C") nameCpitch (if (equal? pitch "E") nameEpitch (if (equal? pitch "G") nameGpitch (if (equal? pitch "A") nameApitc

Re: two-way synchronization (live or otherwise) between Lilypond and a DAW

2019-06-05 Thread Stefano Troncaro
I'd also be very interested in steps 5, 6 and 7 described by Kieren. I usually heavily edit velocities (among other things) and making even minor changes in the source material (the midi) is a pain. The closest I've gotten to making the process slightly less tedious is is writing a lua script for R

Re: Modified ties for chords

2019-05-30 Thread Stefano Troncaro
Hi Niels Unfortunately I don't know of a way of doing this without using Scheme. The following will apply the shape you wanted to both ties: % \version "2.18.2" example-offset-pairs = #'((0 . 0) (0 . 0.5) (-3 . 0.5) (-3 . 0)) music = \relative c' {

Re: Acciaccatura distoring spacing

2019-05-26 Thread Stefano Troncaro
; Also, depending where I began/ended the strict-grace-spacing, I > sometimes had really bizarre results with a barline in completely the > wrong place and actually passing through noteheads! > > After about 2 hours trying to isolate the cause, I found that it was >

Re: Acciaccatura distoring spacing

2019-05-20 Thread Stefano Troncaro
s: clearly I have not actually used the poly-mark facility in > this score. > > Thank you very much for your help on this. > > David > > > On Mon, 2019-05-20 at 12:45 -0300, Stefano Troncaro wrote: > > Hi David, > > > > Ttake a look a this snippet: &g

Re: Acciaccatura distoring spacing

2019-05-20 Thread Stefano Troncaro
Hi David, Ttake a look a this snippet: \version "2.19.82" \paper { line-width = 65\mm } << { \new Staff \time 2/4 \newSpacingSection \override Score.SpacingSpanner.strict-grace-spacing = ##t \tuplet 7/4 { g'16 a' b' c'' d'' e'' f'' } g''8 r } { \new Staff \tuplet 3

Re: tie four 8 note to 4 chord

2019-05-18 Thread Stefano Troncaro
Hi Ming, it depends on the music you are working with and your preference. I personally have it set to ##t as my personal default. I don't see the downside to having it turned on: if this happens often in your music it's cumbersome to keep setting and resetting it, and I also find that it helps to

Re: Pitched Trill: two notes on the same parenthesis

2019-05-17 Thread Stefano Troncaro
plemented, > > Sorry I cannot be more helpful. > > Andrew > > > On Thu, 16 May 2019 at 13:28, Stefano Troncaro > wrote: > >> Hello everyone, is there a way to have two notes one the same parenthesis >> in a pitched tril? >> >> ___

Pitched Trill: two notes on the same parenthesis

2019-05-15 Thread Stefano Troncaro
Hello everyone, is there a way to have two notes one the same parenthesis in a pitched tril? See the example: \version "2.19.83" \language "english" \score { \new Staff << \new Voice \relative { \voiceOne \pitchedTrill bf'2\startTrillSpan cf a\stopTrillSpan } \new Voice \re

Re: Finetuning TextSpanner beginning and end positions?

2019-05-10 Thread Stefano Troncaro
efano, > > Am Mi., 8. Mai 2019 um 05:16 Uhr schrieb Stefano Troncaro > : > > > my workflow in these scenarios is to go to the description of the object > which is giving me trouble, see what interfaces and properties it has, and > from there work out what I need to do. Thi

Re: Moving a Clef bellow notes in other Staff to save horizontal space?

2019-05-09 Thread Stefano Troncaro
Lol, that's what I get for dealing with this stuff before going to sleep. I realized of my mistake after turning off the computer and laughed at the situation. I never doubted that someone would point out my stupidity. El jue., 9 may. 2019 a las 2:52, David Kastrup () escribió: >

Re: Moving a Clef bellow notes in other Staff to save horizontal space?

2019-05-08 Thread Stefano Troncaro
Hi Kieren, that's great! It works wonderfully. I experimented a bit with your idea, the same result can be achieved with just \once \override Staff.Clef.X-extent = #'(.7 . 2.2) It looks like by changing the first number of the pair one can be very precise about how much the Clef goes bellow the no

Moving a Clef bellow notes in other Staff to save horizontal space?

2019-05-08 Thread Stefano Troncaro
Hello everyone! I've been searching but have been unable to figure out a solution to this one. Given the attached image obtained by running the following snippet: > \version "2.19.83" > \language "english" > > toL = { \change Staff = "LH" } > toR = { \change Staff = "RH" } > > \new PianoStaff <<

Re: Finetuning TextSpanner beginning and end positions?

2019-05-07 Thread Stefano Troncaro
a short snippet that shows it's effect in a few different grobs would probably be enough to be able to find it when hunting for a solution. Do any of the above seem feasible? El mar., 7 may. 2019 a las 6:53, Thomas Morley () escribió: > Am Di., 7. Mai 2019 um 01:53 Uhr schrieb Stefano Tronca

Re: Finetuning TextSpanner beginning and end positions?

2019-05-06 Thread Stefano Troncaro
Hi Harm, honestly because I generally understand "padding" as the amount of whitespace that should be reserved between objects. I never even noticed that property since in my mind I was looking for something that could in no way have something to do with it. Anyways, it's not the first time I find

Re: Finetuning TextSpanner beginning and end positions?

2019-05-06 Thread Stefano Troncaro
e f | g a g f \break | e f e d | c1\stopTextSpan > } > El lun., 6 may. 2019 a las 17:27, Rick Kimpel () escribió: > Stefano, > Have you tried bound-details? I use this for glissandi, and it works well. > http://lilypond.org/doc/v2.19/Documentation/internals/textspanner > Rick >

Finetuning TextSpanner beginning and end positions?

2019-05-06 Thread Stefano Troncaro
Hello again everyone, I was expecting to be able to use shorten-pair for this in the same way that is used with Hairpins, but it doesn't seem to work and I can't seem to find what property I need to tweak. Any pointers? Thanks for your help, Stéfano ___

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-05-05 Thread Stefano Troncaro
the guide in the wiki. El dom., 5 may. 2019 a las 6:31, Jan-Peter Voigt () escribió: > Hi Stefano, > > Am 05.05.19 um 06:12 schrieb Stefano Troncaro: > > Hi Jan Peter, > > I tested the newly merged refactor-override branch a little bit. As far as > I could tell it see

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-05-04 Thread Stefano Troncaro
factor-override branch. I'll see if tomorrow I manage to narrow it down and create an example. I hope this was of some use, Stéfano El sáb., 4 may. 2019 a las 14:13, Stefano Troncaro (< stefanotronc...@gmail.com>) escribió: > Hi Jan Peter, I'll update and let you know if I fi

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-05-04 Thread Stefano Troncaro
> And the next development branch is 'absolute-timing' meant to introduce > anchors and the correct handling of cadenza sections. > > If there are any problems with the 'refactor-override-branch' please let > me know and I am going to fix it asap. > > Jan-Pet

Re: ly:version? unbound variable

2019-05-01 Thread Stefano Troncaro
Thank you for the answers! I'm happy this helped pinpoint a problem, and as a bonus I ended up learning about @@. El mié., 1 may. 2019 a las 14:50, Thomas Morley () escribió: > Am Mi., 1. Mai 2019 um 19:40 Uhr schrieb David Kastrup : > > > > Stefano Troncaro writes: &

ly:version? unbound variable

2019-05-01 Thread Stefano Troncaro
Hi everyone! According to this page in the manual the function ly:version? should be implemented, but the example given fails with the error 'unbound variable: ly:version?' which suggests it's not. I'm run

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-04-30 Thread Stefano Troncaro
it is related to the > grob-property-path 'bound-details.left.text'. > Hopefully I can solve this issue soon. > > Best > Jan-Peter > > Am 21.04.19 um 20:42 schrieb Stefano Troncaro: > > Hi all, long time since I posted here, hope you all have been well! > > &

Re: Key Signature consisting of 7 naturals?

2019-04-22 Thread Stefano Troncaro
This works wonderfully. Thank you very much! El lun., 22 abr. 2019 a las 14:22, Malte Meyn () escribió: > > > Am 22.04.19 um 19:06 schrieb Malte Meyn: > > { > >\set Staff.keyAlterations = > >#`((3 . ,NATURAL) > > (0 . ,NATURAL) > > (4 . ,NATURAL) > > (1 . ,NATURAL) > >

Key Signature consisting of 7 naturals?

2019-04-22 Thread Stefano Troncaro
Hi everyone! A quick question this time: Does anybody know how to print a key signature that states all seven naturals at the start of a piece? I looked in the documentation and it states how to create synthetic key signatures, but it doesn't seem to tell how to make the naturals explicit. Do you

Edition Engraver master vs refactor override branch: changing bound-details

2019-04-21 Thread Stefano Troncaro
Hi all, long time since I posted here, hope you all have been well! While using the Edition Engraver today I noticed that the following override works in the old refactor override branch, while on the current master it prints a textless spanner and a warning: \version "2.19.80" \include "oll-core

Re: Edition Engraver -- Bar 1

2018-04-08 Thread Stefano Troncaro
Hi Craig, As I suspected, the problem was in how your code was structured. I run into the same issues when I started using the EE. Look at the attached file. I recognize that not every change that I made may be necessary, I made changes while I was trying to make the snippet work (the file as yo

Re: Edition Engraver -- Bar 1

2018-04-07 Thread Stefano Troncaro
Hi Craig, Could you post a snippet of your code? I also had this problem before when Voices were being created automatically because of the way the code was structured. Maybe it's the same issue. 2018-04-07 4:08 GMT-03:00 Jan-Peter Voigt : > Hi Craig, > > I'll investigate that on Monday. I thoug

Bug? Accidentals from tied notes having stencils that occupy space

2018-04-02 Thread Stefano Troncaro
Hi everyone, I've experienced that in certain situations, when notes with accidentals are tied, the accidental grobs have stencils that seem to be hidden (not shown but occupy space) which creates very awkward spacing. I made this snippet to showcase this: > \version "2.19.80"\language "english"

Edition Engraver, TieColums and line breaks

2018-04-01 Thread Stefano Troncaro
Hi all! I currently have a function that accesses some grobs through their "containers"(NoteHeads/Accidentals in NoteColumns, Ties in TieColumns) and lets me tweak properties (individually if needed) of each. This is done in a single override so it works with the Edition Engraver. But I've come up

Re: OpenLilyLib with Windows

2018-04-01 Thread Stefano Troncaro
Hi foxfanfare, First of all welcome to the Lilypond world! AFAIK you would create a style-sheet by creating a file with a layout block that contains the settings for your house-style, and then you include that file in all the projects where that house-style is needed. That's the easy part. Filling

Re: double slur collisions

2018-03-29 Thread Stefano Troncaro
Sorry, I just saw there is already a discussion in another thread. I should look at all the threads before posting... oh well. 2018-03-29 13:09 GMT-03:00 Stefano Troncaro : > Hi Kieren, > > I assume it is a bug? Since with more spacing there is no collision at > least with the star

Re: double slur collisions

2018-03-29 Thread Stefano Troncaro
Hi Kieren, I assume it is a bug? Since with more spacing there is no collision at least with the starting note of the Slur: > \version "2.19.80" > stuff = { > 16 8 > 16 16 > 16 8} > \score { > \new Staff \stuff} > \score { > \new Staff { > \override Score.SpacingSpanner.base-shortes

Re: Scratching my head around define-macro and variable evaluation

2018-03-28 Thread Stefano Troncaro
ssible to do it in the correct scope (only globally and not locally)? If so, then do you have a suggestion to solve the problem showed above? 2018-03-28 16:23 GMT-03:00 David Kastrup : > Stefano Troncaro writes: > > > Hi everyone! > > > > I have a question about the foll

Scratching my head around define-macro and variable evaluation

2018-03-28 Thread Stefano Troncaro
Hi everyone! I have a question about the following example: > \version "2.19.80" > #(define-macro (why-the-difference obj) >(display (format "~a , " obj)) >`(display (format "~a\n" ,obj))) > > #(why-the-difference (list 1 2 3))% => (list 1 2 3) , (1 2 3) > #(define var (list 1 2 3)) > > #

Re: Tie/Accidental Collision

2018-03-23 Thread Stefano Troncaro
a longer message but this has already gone too out of thread. I don't know where/how this kind of issues are supposed to be discussed. If you could point me in the right direction I'd be happy to bring this up in the right place and in the right manner. 2018-03-23 10:27 GMT-03:00 Simon Al

Re: Tie/Accidental Collision

2018-03-22 Thread Stefano Troncaro
Hi Harm, that's *so *useful to me, thank you so much for stepping in and sharing that conversation!!! I really think that information should be available in the tie-column-interface section

Re: Tie/Accidental Collision

2018-03-22 Thread Stefano Troncaro
@Kieren > But I would suggest not having the Stem whiteout affect the StaffSymbol… > It's probably enough just to write > I'm sorry, I do not understand this, it seems that I'm missing some important information. Could you elaborate a bit? Maybe use the \shape function? > I thought that \shape

Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Stefano Troncaro
Hi Jonas, If every compilation is taking that long, maybe you are compiling several movements each time? In case you are, you can comment out the parts of the music that you are not working with to make the whole thing more agile, I do this with multi-movement works. Unfortunately I can't offer y

Re: Tie/Accidental Collision

2018-03-21 Thread Stefano Troncaro
Hi Sam, How about using TieColum.tie-configuration? Together with Tie.details.height-limit you can avoid the collision. I don't know how to shorten the Ties, but I used Kieren's whiteout idea to make them finish them in the Stem. If someone knows how to actually shorten them I'd be happy to know!

Re: Edition Engraver bug?

2018-03-15 Thread Stefano Troncaro
hink the warnings are too verbose? > > > Am 14.03.2018 um 21:47 schrieb Stefano Troncaro: > > I wanted to let you know that I have tried the refactor-override branch > and the overrides seem to be working fine! I do get a lot of warnings as > you explained, but it does not appea

Re: Edition Engraver bug?

2018-03-14 Thread Stefano Troncaro
0 GMT-03:00 Stefano Troncaro : > Hi Jan-Peter, > > Thank you for your work! I will test the changes later today and let you > know how it results. > > 2018-03-13 7:47 GMT-03:00 Jan-Peter Voigt : > >> Am 13.03.2018 um 11:37 schrieb David Kastrup: >> >>&

Re: Thriple flat/sharp glyphs...

2018-03-13 Thread Stefano Troncaro
Hi Torsten, I'm undecided between the second and the third. Would it be possible to compare them in a musical example? 2018-03-13 12:38 GMT-03:00 Werner LEMBERG : > > Nice work! > > > 2. Abraham's equally compressed flats > > > > Both flats are equally compressed as a compromise, thus keeping the

Re: Edition Engraver bug?

2018-03-13 Thread Stefano Troncaro
Hi Jan-Peter, Thank you for your work! I will test the changes later today and let you know how it results. 2018-03-13 7:47 GMT-03:00 Jan-Peter Voigt : > Am 13.03.2018 um 11:37 schrieb David Kastrup: > >> Jan-Peter Voigt writes: >> >> Hi Stefano, >>> >>> I have been looking into the issue and c

Accessing grobs generated by a music event?

2018-03-13 Thread Stefano Troncaro
Hello everyone, I was wondering, is there a way to, given a 'NoteEvent (or 'EventChord, or whatever other music expression for that matter) find the grob or grobs that it generates? Although I don't know how Lilypond actually processes input, I suspect that this isn't possible. I imagine that if

Re: Having trouble understanding optional and variable amount of arguments

2018-03-09 Thread Stefano Troncaro
A few thoughts I think macro definitions for all the define- functions can be avoided like this: > \version "2.19.80"\include "oll-core/package.ily" > #(define-macro (with-options func-def-proc vars preds rulings . body) >`(,func-def-proc ,(append '(opts) vars) ,(append '(ly:context-mod?) pre

Re: Having trouble understanding optional and variable amount of arguments

2018-03-08 Thread Stefano Troncaro
ot;Something" > unk = "Unknown option" > target = something% accepted-arg = 7/4 > % accepted-without-type = #(ly:make-moment 3/16)} > > Again, tell me if you find it convenient. 2018-03-08 20:26 GMT-03:00 Thomas Morley : > 2018-03-08 23:46 GMT+01:00 Stefano

Re: Having trouble understanding optional and variable amount of arguments

2018-03-08 Thread Stefano Troncaro
e stable 2.20 release is done? Sorry for asking so many questions, you picked my curiosity with your conversation. 2018-03-08 18:07 GMT-03:00 David Kastrup : > Thomas Morley writes: > > > 2018-03-08 17:29 GMT+01:00 David Kastrup : > >> Stefano Troncaro writes: > >>

Re: Having trouble understanding optional and variable amount of arguments

2018-03-08 Thread Stefano Troncaro
sing, is there something else going on that I'm not seeing? @David Thank you. The define-syntax and syntax-rules thing looked easier to understand at first glance so I tried to use that. I'll experiment with macros then. 2018-03-08 9:21 GMT-03:00 Urs Liska : > > > Am 08.

Re: Having trouble understanding optional and variable amount of arguments

2018-03-07 Thread Stefano Troncaro
ement data'. The obvious one to me is an alist with a structure like this: `((key1 . (required . #t)) (key2 . ((default . 9) (pred . ,number?))) ...), but I'm not sure. What do you think? 2018-03-03 11:34 GMT-03:00 Thomas Morley : > 2018-03-01 18:31 GMT+01:00 Stefano Troncaro : > &g

Re: Having trouble understanding optional and variable amount of arguments

2018-03-01 Thread Stefano Troncaro
> This structure just happens to work for something I'm trying now but I can see it being too narrow in general. @Urs, I not familiar with \with blocks, I'll take a look at the oll-core code and experiment a bit with it. Maybe I'll be able to help. 2018-03-01 4:55 GMT-03:00 David

Re: Having trouble understanding optional and variable amount of arguments

2018-02-28 Thread Stefano Troncaro
that allows for that kind of usage? 2018-02-28 20:45 GMT-03:00 Simon Albrecht : > On 28.02.2018 23:54, Stefano Troncaro wrote: > >> I need a little help again. I'm struggling to understand how one would >> make a music function like \tempo, that accepts a variable number of >&

Having trouble understanding optional and variable amount of arguments

2018-02-28 Thread Stefano Troncaro
Hello everyone, I need a little help again. I'm struggling to understand how one would make a music function like \tempo, that accepts a variable number of arguments. I couldn't find its definition so I couldn't look for myself. So far I know about making lambdas that take additional arguments an

Re: Accidentals making Ties too short

2018-02-27 Thread Stefano Troncaro
Hi Andrew, Of course there is nothing wrong with setting the minimum length around 4.5. In this example this setting results in the Ties ending halfway between the Noteheads, which I feel as a "loss of continuity" (for lack of better words), and this did not leave me fully satisfied. I am aware th

Re: Accidentals making Ties too short

2018-02-27 Thread Stefano Troncaro
7; { > \override Tie.minimum-length = 4 > \override TieColumn.tie-configuration = #`((-3 . ,DOWN) (-1.05 . ,DOWN)) > \override Tie.details.height-limit = 0.4 > ~ \accidentalTrick #'(0.3 -0.25) } > > Comments and/or different approaches are, as always, greatly appreciate

Accidentals making Ties too short

2018-02-27 Thread Stefano Troncaro
Hello everyone! I was wondering about how do you usually solve situations like the following, where you have ties to chords and the accidentals cause the ties to be too short (sometimes almost invisible). \version "2.19.80"\language "english" > %What tweaks do you apply to this situations?\relati

Edition Engraver bug?

2018-02-26 Thread Stefano Troncaro
Hi everyone! I tried to isolate the issue with Tie directions that I posted earlier and I'm fairly confident I've stumbled upon a bug. Look at the output of this snippet (Sorry for the length, I made it as short as I could) > \version "2.19.80"\language "english"\include > "oll-core/package.ily"

Re: edition-engraver error

2018-02-26 Thread Stefano Troncaro
Hi Kieren, this has been fixed already! Just update the Edition Engraver :) FYI the problem is here > ((integer? m)(ly:make-moment m/4)) > m/4 is interpreted as a variable name (that doesn't exist), thus the "unbound variable" error. I think the line was replaced by (/ m 4). 2018-02-26 9:57 GMT

Edition Engraver and a rebel Tie

2018-02-23 Thread Stefano Troncaro
Hello everyone! In the attached file there is a Tie whose direction can only be modified with ly:grob-set-property!. Overrides to Tie.direction and use of \tieDown seem to fail, and I have no idea why! The example uses the Edition Engraver, although I don't know if the problem lies in the EE or i

Re: A couple of questions about Edition Engraver

2018-02-20 Thread Stefano Troncaro
> > 4. Things would be way easier if the EE (and/or Frescobaldi) had a method > to highlight (colour-ing the grobs?) all mods, and a linking method to > navigate to the correct spot in the edition file. There was an example of > this [colouring part] some time ago, but I don't know if it was "taken

Re: About assigning a function to Tie.direction, and "warning: type check for 'direction' failed"

2018-02-20 Thread Stefano Troncaro
s actually very useful. Thank you for the suggestions! 2018-02-20 19:23 GMT-03:00 Thomas Morley : > Hi Stefano, > > others already commented about quote/unquote. > > Some other remark: > > 2018-02-20 18:55 GMT+01:00 Stefano Troncaro : > > Hello everyone! > > > &

Re: Hairpin solid with dashed end

2018-02-20 Thread Stefano Troncaro
Well, I worked a bit with the stencil drawing procedure earlier, so I adapted it for what you describe. It is not working well with line breaks... I'll have to figure out why later, but for normal hairpins it should do what you describe. Hope that helps. By the way I'm also curious about their me

About assigning a function to Tie.direction, and "warning: type check for 'direction' failed"

2018-02-20 Thread Stefano Troncaro
Hello everyone! I recently wrote the function bellow to be able to set the direction of ties in a TieColumn by specifying a list of directions: > \version "2.19.80" > tieDirectionFromList = > #(define-music-function (dir-list) (list?) >#{ > \once \override Tie.before-line-breaking = >

Re: A couple of questions about Edition Engraver

2018-02-20 Thread Stefano Troncaro
I completely missed development1.ly, that is great! The way the proc is managed is particularly useful. It seemed to me that all the ingredients for a convenience function are already there. I am undecided on what the best interface for it would be though, since as Urs already mentioned there are

Re: A couple of questions about Edition Engraver

2018-02-19 Thread Stefano Troncaro
I've been wanting to expand my earlier tutorial with a section dealing with \editionModList since I think the convenience of it can be useful to many users. However, it is not a solution for every situation. Particularly, it is not useful when you need to insert objects as part of your edition if t

Re: Better way to get correct slur shapes?

2018-02-17 Thread Stefano Troncaro
Hi Knute, Simon, A little question if you don't mind, what is the override to NoteColumn.ignore-collision for? I took it out of your example and I don't see a difference in the results. 2018-02-16 10:21 GMT-03:00 Knute Snortum : > Thanks Simon, that's a great tool. > > I changed the function jus

Re: Tweaking Hairpin shape

2018-02-11 Thread Stefano Troncaro
ch a satisfying solution without it. 2018-02-10 15:02 GMT-03:00 David Nalesnik : > Hi Stefano, > > On Sat, Feb 10, 2018 at 11:14 AM, Stefano Troncaro > wrote: > > Hi David, thank you for your suggestions, this is almost done! > > > > I decided to pass an alist to the func

Re: Tweaking Hairpin shape

2018-02-10 Thread Stefano Troncaro
-ref prop-alist 'endh)) > (width (assq-ref prop-alist 'width)) > (adj-hgt (- endh starth)) > (def-ang (ly:angle width adj-hgt)) ) >(- def-ang > > Thank you for all the help!! 2018-02-08 21:50 GMT-03:00 David Nalesnik : > Hi Stefano, >

Re: Tweaking Hairpin shape

2018-02-08 Thread Stefano Troncaro
Hello again! I managed to modify David's translation of ly:hairpin::print to have it use two properties, Hairpin.rotate and Hairpin.straight-end, to achieve almost all the results I wanted. The idea is that Hairpin.rotate can be either a numerical value, representing the angle of rotation, or a p

Re: Tweaking Hairpin shape

2018-02-06 Thread Stefano Troncaro
@Werner > My conclusion: It could be a useful feature to have the ends of > rotated hairpins vertically aligned. However, I wouldn't like to have > this as the default. > My thoughts exactly. I did not intend to express that I wanted this as the default, because I don't, only for a convenient op

Re: Tweaking Hairpin shape

2018-02-06 Thread Stefano Troncaro
Sorry, my previous reply was rejected because of the attached images. Werner, I hope that the links are sufficient. -- Forwarded message -- From: Stefano Troncaro Date: 2018-02-06 11:05 GMT-03:00 Subject: Re: Tweaking Hairpin shape To: Andrew Bernard Cc: lilypond-user

Re: Tweaking Hairpin shape

2018-02-06 Thread Stefano Troncaro
Thank you David! I think I should be able to work something out from here, I'll post again when I have some kind of update. 2018-02-06 11:04 GMT-03:00 David Nalesnik : > Hi Stefano, > > > On Mon, Feb 5, 2018 at 11:53 PM, Stefano Troncaro > wrote: > > David and Harm, I

Re: Tweaking Hairpin shape

2018-02-05 Thread Stefano Troncaro
David and Harm, I'm really impressed by the level of expertise you both have showed in this thread. The function works wonderfully, and I'm really grateful for your help! I feel kind of bad for asking, but I'm stuck after trying to do what I thought would be a minor tweak. I wanted to make it so t

Re: Tweaking Hairpin shape

2018-02-04 Thread Stefano Troncaro
Harm, I've been thinking about this, and perhaps you have an idea of how the following can be achieved. A consequence of explicitly stating the degree in which the stencil has to be rotated is that if anything changes the spacing of that system it's very likely that the degree of rotation will hav

Re: Tweaking Hairpin shape

2018-02-04 Thread Stefano Troncaro
Amazing, perfect solution! Thank you very much! 2018-02-04 17:02 GMT-03:00 Kieren MacMillan : > Hi Harm, > > > See below. > > Once again, a wonderful solution/contribution. > > > 'rotation comes too late, use a stencil-override with ly:stencil-rotate > instead. > > Is there any reason 'rotation c

Re: Tweaking Hairpin shape

2018-02-04 Thread Stefano Troncaro
lision detection while being easy to wrap inside a function. But I don't know why X-extent doesn't work here. Any ideas? 2018-02-04 13:59 GMT-03:00 Ben : > > On 2/4/2018 11:43 AM, Stefano Troncaro wrote: > > Hello everyone! > > I'm struggling with Hairpins this time.

Tweaking Hairpin shape

2018-02-04 Thread Stefano Troncaro
Hello everyone! I'm struggling with Hairpins this time. I can't find how to tweak the placement of it's starting and ending points. Suppose that in the following example I want to make the Hairpin follow the same slope as the Beam. Furthermore, I'd like the Hairpin to start a little bit to the ri

Re: duration longer than meter?

2018-02-03 Thread Stefano Troncaro
Hi Vivyan. Although others have already pointed out that in this example you'll be better off using simultaneous voices, I'll answer your original question by saying that Lilypond allows you to modify the length of a note. For example: e2.*1/3 will show a dotted half-note while occupying one third

Re: Function or command to omit only certain accidentals of a chord?

2018-02-03 Thread Stefano Troncaro
Thank you Thomas, that's very helpful! 2018-02-03 12:10 GMT-03:00 Thomas Morley : > 2018-02-03 15:44 GMT+01:00 Stefano Troncaro : > > Hi Thomas, thank you for your corrections! > > > > If I may ask, where are functions like event-chord-pitches documented? > > A

Re: Function or command to omit only certain accidentals of a chord?

2018-02-03 Thread Stefano Troncaro
r all your help, Stéfano 2018-02-03 8:52 GMT-03:00 Thomas Morley : > 2018-02-03 3:52 GMT+01:00 Stefano Troncaro : > > > After a lot of stumbling around I finally managed to expand Jan-Peters' > > function so that it can modify more than one note in a given chord. I > > attac

Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Stefano Troncaro
Thank you for your help everyone! After a lot of stumbling around I finally managed to expand Jan-Peters' function so that it can modify more than one note in a given chord. I attached it so its available for anyone interested in using it. On the other hand, I too think that the real solution wou

Re: Function or command to omit only certain accidentals of a chord?

2018-02-01 Thread Stefano Troncaro
) > (display (ly:grob-property this-column 'note-heads "couldn't find > it")))} > \score { > \new Staff { > \new Voice \relative c'' { > \key b \minor \accidentalStyle modern > \partial 4 | >\command >

  1   2   >