music-map doesn't map all the music !

2021-05-14 Thread Gilles Thibault
I have been using the music-map function for years. I was very surprised to find, with the French list, that this function did not behave in the way I had always thought it would. %%% \version "2.22.0" music = c4-> #(display-scheme-music music) #(display "--\n") #(music-map

Re: improvement(s) on LSR 445

2011-04-05 Thread Gilles THIBAULT
both solutions eliminate dynamics and articulations on all notes! Have you try something like that : %%% deleteFingering = #(define-music-function (parser location music) (ly:music?) (music-filter (lambda (evt) (not (memq (ly:music-property evt 'name) (list

Re: improvement(s) on LSR 445

2011-04-03 Thread Gilles THIBAULT
is it possible to only copy notes, i.e. pitches and durations, excluding Fingering, stroke fingers and string numbers? 2 solutions : 1- You filter the music. Here is an example of filtered music %%% deleteDynamics = #(define-music-function (parser location music)

Re: improvement(s) on LSR 445

2011-04-02 Thread Gilles THIBAULT
http://lsr.dsi.unimi.it/LSR/Snippet?id=445 I think it is impossible to have it working [ both in relative and absolute mode] i presume all possible tricks have been tried to achieve this!? Well, here is a version of \makeOctaves, that seems to work in both relative and absolute mode. It

Re: improvement(s) on LSR 445

2011-03-27 Thread Gilles THIBAULT
tried to use the snippet http://lsr.dsi.unimi.it/LSR/Snippet?id=445 and found it did not work as expected when using absolute pitch mode. i suggest to [..] please test before applying (i'm not a scheme programmer)! Hello Eluze. I have tried various combinations of relative and absolute mode.

anchors in the music stream : a workaround

2010-11-09 Thread Gilles THIBAULT
A few days ago, this enhancement request http://code.google.com/p/lilypond/issues/detail?id=824 has been mentioned. I don't think that the following snippet (see joined file) can be integrated as a patch for Lilypond, so it is rather a workaround, but it seems to work. To use it, you need a file

Re: scheme function to extract a specific grob property from a music event?

2010-06-06 Thread Gilles THIBAULT
numx(number?) numy(number?) What I want to do is to eliminate the last argument by setting it to be equal to the same 'Y-offset (or 'staff-position, it is not clear to me yet) of the notehead Hello José. Perhaps that snippet http://lsr.dsi.unimi.it/LSR/Item?id=637 can help you. Ok, it

Re: scheme function to extract a specific grob property from a musicevent?

2010-06-06 Thread Gilles THIBAULT
see attached file. Oh sorry. I send a not cleaned file. Please, take this one instead. Gillesmyfunction = #(define-music-function (parser location event-chord numx) (ly:music? number?) #{ \once \override TextScript

Re: #442 workaround (keeping piano staves alive together)

2009-09-02 Thread Gilles THIBAULT
Several months ago I posted a (hackish) workaround for #442: http://lists.gnu.org/archive/html/lilypond-user/2008-12/msg00456.html It works generally well (even supports cross-staff voices, slurs etc) but I haven't added it to the LSR because it generates a lot of warnings (for every note, that

Re: [PATCH] IR 3 Backend: More auto-sorting.

2009-07-28 Thread Gilles THIBAULT
I'm using jEdit. I'm sure my problems are solvable. My main gripes are [..] Each subsequent level of block nesting receives one space of indentation, not two. In jEdit it is quite easy to change the Tab and Indent Width. ( Utilities - Global Options - Editing ). There is also an option i

Re: should we provide an empty stencil?

2009-06-15 Thread Gilles THIBAULT
Since setting a grob's stencil prop to #f can trigger errors, I discovered the following workaround. Do we have anything like this already? Yes. empty-stencil is already defined in define-markup-commands.scm, by : (define-public empty-stencil (ly:make-stencil '() '(1 . -1) '(1 . -1))) Well,

Re: Point and Click does not work on Windows

2008-12-28 Thread Gilles THIBAULT
one way to make point and click work on windows xp follows [...] Wonderful, it works for me. Great job. Thanks you. ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: [Scheme] Few basics...

2008-11-21 Thread Gilles THIBAULT
Scheme hackers, [..] I am far from a Scheme hacker, and i cannot certify that is good programmation, but the following seems to work. ; (define (addlist i nr) (let ((local-list (list 0 1 2 3 4 5 6 7))) (define

systemSeparatorMarkup in paper block

2008-11-08 Thread Gilles THIBAULT
A few times ago, printallheaders has been renamed in print-all-headers. By the same way, should not be systemSeparatorMarkup renamed in system-separator-markup ? Gilles ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: New predefined command

2008-06-17 Thread Gilles THIBAULT
BTW: May I take this as an opportunity to offer to also rename sustainDown\Up into SustainOn\Off? Note that in the Midi norm, the expression : Pedal on/off (Sustain) is used. http://www.midi.org/about-midi/table3.shtml (control 64) Gilles ___

Re: New predefined command

2008-06-17 Thread Gilles THIBAULT
BTW: May I take this as an opportunity to offer to also rename sustainDown\Up into SustainOn\Off? Note that in the Midi norm, the expression : Pedal on/off (Sustain) is used. http://www.midi.org/about-midi/table3.shtml (control 64) Gilles ___

Re: Avoiding typing with Scheme - request

2008-05-19 Thread Gilles THIBAULT
$x16 $y32 $x16 $x32 You cannot change duration by a simple way in a scheme function :-( But you can take a look at this snippet : http://lsr.dsi.unimi.it/LSR/Item?id=390 Gilles ___ lilypond-devel mailing list lilypond-devel@gnu.org

Re: [patch] first-clef property

2008-02-05 Thread Gilles THIBAULT
I thought about using tags, but that's really messy and prone to breaking (since there is no else part in the tag, so you can either remove one part or not remove it, but not have something else instead). Sorry for the off-topic (no opinions about that), but for people who are intersting , i

Re: Doc addition to 8.1.2 Text and line spanners ... concerning \endSpanners

2007-10-17 Thread Gilles THIBAULT
...in which case it would seem to be almost completely useless. (If it needs to be restated after every use, then one may as well just end the spanner manually.) Oh yes it can be useful : begin code % \version 2.11.34 music = { c'1 \tag #'oboe \endSpanners d'1 \ \tag