Re: Note Animation with SVG

2025-05-21 Thread David Pirotte
Hello, > I would say your first instinct was right, although there is a lot to > learn and understand when extending LilyPond. The attached example > adds an id attribute to note heads, where the id value corresponds to > the midi time. More information could be added to the id, such as the > sta

Re: Problems regarding the use of OOP in Lilypond Scheme

2024-11-29 Thread David Pirotte
Hi William, > https://www.gnu.org/software/g-golf/manual/html_node/GOOPS-Notes-and-Conventions.html > I found a paragraph which states "Except for virtual slots, there is > currently no way to effectively prohibit (block) a user to mutate a > goops class instance." Actually, there is a way, b

Re: min size svg, how to

2021-02-25 Thread David Pirotte
> 1-crop > I am trying to produce 'min sized' svg images, but I fail. As an > example: > ... > which I compile using this command: > lilypond -dcrop --svg test-2.ly I am sorry for the 'noise', I actually missed that lilypond creates a test-2-cropped.svg, so everything is fine wrt 1-

min size svg, how to

2021-02-25 Thread David Pirotte
Hello 1- crop I am trying to produce 'min sized' svg images, but I fail. As an example: \version "2.22" \paper{ indent=0\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f page-breaking = #ly:one-line-breaking } \layout { } \relative { g

Re: Replace sub-string

2020-05-23 Thread David Pirotte
Hello, > On 2020-05-22 8:38 pm, Freeman Gilmore wrote: > > Is there a procedure, to replace 'all' occurrences of a sub-string > > within a string. with a string? > > If so please give an example. > regexp-substitute/global [1] should do the job. > [1]: > https://www.gnu.org/software/guile/d

Re: scheme-question about accumulating lists of lists

2019-04-22 Thread David Pirotte
Hello THomas, > ... > Now `core-guile-condition´ feels like a case for `match´, but I > couldn't make it work. > Is this a bad use case and alist searching is always preferable? I would do this: (define (is-spanner? grob) (match grob ((g-key . g-vals) (let ((meta (assq-ref g-vals 'met

Re: scheme-question about accumulating lists of lists

2019-04-21 Thread David Pirotte
Hi Thomas, > ... > Thanks again! You're welcome. I used 'funny' (weird) procedure and variable names, but if the procedure is to be exposed to your users, and with the objective of making it simple to use, read and maintain, as you described later in your answer, you could write it as - using

Re: scheme-question about accumulating lists of lists

2019-04-20 Thread David Pirotte
Hi Thomas, > ... > Thanks pointing me to this possibility, in my use-case I then could do: > (define (p) (cons '(1 2 3) '(4 5 6))) > (define l1 '(a b c)) > (define l2 '(x y z)) > (cons* l1 l2 (car (p)) (cdr (p)) '()) > => > ((a b c) (x y z) (1 2 3) (4 5 6)) Yes, if you can (you mentioned the co

Re: scheme-question about accumulating lists of lists

2019-04-19 Thread David Pirotte
Hi again, Replying twice to myself in a row, how is that :) A little tired I guess ... > > Note that the above will only work if the last 'blue item' has 3 elements, > > you'd > > need to adapt for other use case (which also 'speak' in favor of the cleaner > > approach. > Actu

Re: scheme-question about accumulating lists of lists

2019-04-19 Thread David Pirotte
Hi again, > Note that the above will only work if the last 'blue item' has 3 elements, > you'd > need to adapt for other use case (which also 'speak' in favor of the cleaner > approach. Actually, I didn't like what I wrote, here is a slightly better code: (use-modules (ice-9 match)) (define (b

Re: scheme-question about accumulating lists of lists

2019-04-19 Thread David Pirotte
Hi Thomas, > Failing example: > (map > car > (cons '(a b c) (cons '(1 2 3) '(x y z > One way to make it work is to convert the initial pair (cons '(1 2 3) > '(x y z)) to a list of lists, i.e (cons '(1 2 3) (list '(x y z))) > The question is: is it the only and/or best way? It sounds a lo

Re: Which Linux distro for Lilypond

2017-01-13 Thread David Pirotte
Hello, > I never tried to compile lilypond with a guile version higher than > 2.0.13, so I can't say anything about it. I (really) recommend you to do so: guile 2.2 is due to be released in a month or two, at the very most. 2.1.5 beta is the latest [1], 2.1.6 will be released in a few days (and

Re: Which Linux distro for Lilypond

2017-01-07 Thread David Pirotte
Hello, > ... > I already had the vague thought how much work it might be to explore > other scheme-dialects, adjust whole lilypond to use them and drop > guile entirely. > ... For info, someone claimed on irc (#guile, freenode) that he/she is closed to compile/use lilypond using guile-2.1:

Re: Bach - Brahms Chaconne ... for left hand

2016-11-18 Thread David Pirotte
Mark, > http://www.free-scores.com/download-sheet-music.php?pdf=1288 Thank you, And to Gilles and SoundsFromSound as well David. pgpmBYLJJH6RB.pgp Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org https://li

Bach - Brahms Chaconne ... for left hand

2016-11-17 Thread David Pirotte
Hello, Does anyone know if a lilypond free score exists for this piece: Bach - Brahms Chaconne (Violin Partita - V) No. 2 in D minor, BWV 1004: arranged for piano left hand I couldn't find it, but I'm not [by far] the best when it comes to searching for something on the web... M

Re: Solution to 7 over sqr(71) time against integer polyrhythms

2016-11-16 Thread David Pirotte
> We'll wait while you whip that right out and show that png file to us. > Remember, it is a poor carpenter who blames his tools. So you finally admit it: you are a poor carpenter pgpORFobQUwMQ.pgp Description: OpenPGP digital signature ___ lilypo

Re: Potential improvements to the homepage?

2016-08-28 Thread David Pirotte
Hello David, > > I was talking about the source code of these web sites, > The "source code of these web sites" is also written in Texinfo. Nope, Guile, Guix and the other examples I gave all have their web-site source code written in scheme. > That's because Guile does not have its web sit

Re: Potential improvements to the homepage?

2016-08-27 Thread David Pirotte
Hello Urs, > ... > >> Still needs to be tied into the translation process and means another > >> technology the translators need to master. > > > >Translators would edit the strings , then run 'make www' > > ... > So that explains something. > You think LilyPond's website and docs are maintaine

Re: Potential improvements to the homepage?

2016-08-27 Thread David Pirotte
> > Don't be! You'll get use to it a lot faster then you think! It > > actually reads almost as if it was English [and *nod* a lot easier > > then the corresponding html page], here is a simplified example. The > > schema is the same for all pages: > > > > import > > utils > > shared > >

Re: Potential improvements to the homepage?

2016-08-27 Thread David Pirotte
> > ... or rather strings in a scheme file? Here's a scary example: > > http://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/www/about.scm > > > This approach, at least this example, is totally missing CSS/JavaScript > integration that makes (and, unfortunately, often breaks) mo

Re: Potential improvements to the homepage?

2016-08-26 Thread David Pirotte
Hi Federico, > Il giorno mer 24 ago 2016 alle 0:00, David Pirotte ha > scritto: > > The first thing, imo, would be to have these pages rewritten in > > scheme, Guile scheme > > I mean of course :), with the portion of the code that holds the > > content being

Re: Potential improvements to the homepage?

2016-08-23 Thread David Pirotte
Hello, > >>> Would a CMS like WordPress be a good candidate for a complete rewrite? I would not do that. The first thing, imo, would be to have these pages rewritten in scheme, Guile scheme I mean of course :), with the portion of the code that holds the content being expressed using sxml, se

Re: Please how to use the Scheme debugger?

2014-05-28 Thread David Pirotte
Mark, > (use-modules (ice-9 readline)) > readline is not provided in this Guile installation The Guile Reference Manual version 2.0.11 says: 4.4.2 Readline To make it easier for you to repeat and vary previously entered expressions, or to edit the expression that you’r

Re: Problem: incompatible Lilypond and Guile

2014-05-23 Thread David Pirotte
Mark, > Then I downloaded Guile 2.0.11 from the gnu.org website and tried to build > it. > Configure failed (also off topic). This step is tells you that there is a dependency problem, and that guile 2.0.11, which is _very_ _very_ stable :), won't compile, don't even try :) If you can't find o

Re: MusicXML

2013-04-25 Thread David Pirotte
t upon guile-2, if there still is, and if, how far is lilypond from effectively being built upon guile-2 ? (david pirotte) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: fyi - https://wiki.ubuntu.com/UbuntuFreeCultureShowcase

2010-06-24 Thread David Pirotte
Hi, If you think it serves well lilypond, you may use mine too [it's a small piece], which by the way is already used in the lilypond manual [2.3 Unfretted string instruments] [someone in this list did ask to ear it, now one interpretation is available - on this page too]: http://www.alt

Re: an output question

2008-05-21 Thread David Pirotte
evince [gnome document viewer] will do that for you as well, i am using it a lot and i am quite happy, it's been improved a lot recently [i am using version 2.20.2] http://www.gnome.org/projects/evince David ;; -- Le Wed, 21 May 2008 09:55:35 +0200, Mats Bengtsson <[EMAIL PROTECTED]> a

Re: GDP: summary and directions, 11 Sep ( Trevor Ba?a )

2007-09-12 Thread David Pirotte
On Wed, 12 Sep 2007 08:20:32 +0200 Mats Bengtsson <[EMAIL PROTECTED]> wrote: >, for all people who currently prefer to download the PDF > version and > do free text search in that single file. I would prefer a single file too david ___ lilypond-user

Re: A440 Notation System

2005-01-23 Thread David Pirotte
On Sun, 23 Jan 2005 16:55:44 +0100 [EMAIL PROTECTED] wrote: > Quoting Erik Sandberg <[EMAIL PROTECTED]>: > > > On Friday 21 January 2005 10.54, John Boyle wrote: > > > Hello, Lilypond users. > > > > > > I'd be very grateful to hear your comments on the A440 System which you > > can > > > access o

Re: Font problem, Xdvi, quite urgent.

2001-10-15 Thread David Pirotte
Amelie Zapf wrote: > Amelie, if you are using a distribution that includes tetex, then the following suggestion might help you: 1. get the latest xdvi-22.48 ftp://ftp.math.berkeley.edu/pub/Software/TeX/ 2. ./configure --with-tetex (or --with-tetex=PATHLIST) (a

page numbering

2001-10-09 Thread David Pirotte
anyone know how to ask page numbering to be centered in the footer? thanks david ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Re: not too bad for a beginner ... but i need help

2001-10-09 Thread David Pirotte
((dynamic) "p")) #(define ppp '((bold italic) "ppp")) #(define p '((bold italic) "p")) #(define 2ped-legend "(*) UC + Péd. droite") #(define 2ped '(italic "2 Péd.")) #(define 2ped1 `(lines ,ppp ,2ped "(*)")) #(define 2ped2 `(

Re: LilyPond 1.4.8: ly2dvi error

2001-10-09 Thread David Pirotte
Jan Nieuwenhuizen wrote: >... > Well, scm_make_gsubr should be in guile-1.4. Did you adjust your > library load path to look for guile 1.4 first? (Hint: see what ldd > lilypond says.) ahhhrch! yes, thanks. so, for other users who would want to run several guile versions, it is important to cha

LilyPond 1.4.8: ly2dvi error

2001-10-09 Thread David Pirotte
Hi, i've installed, as recommanded, both guile-1.4 in $HOME/usr/guile-1.4 LilyPond 1.4.8 PATH=$HOME/usr/guile-1.4/bin:$PATH ./configure i still can not compile simple lily file, such as the following one (below error message) i tried to modify the GUILE_L

latex compilation problem (kpathsea)

2001-10-09 Thread David Pirotte
since i installed the recommanded kpathsea: 1. i have problems compiling files that used to perfectly compile it says it can not find some fonts, i.e.: david@faust:~/alto/projects/helico/hsb 3 $ latex fax+01.06.29-drp.tex ... kpa

Re: lilypond-1.5.15

2001-10-07 Thread David Pirotte
Han-Wen Nienhuys wrote: > > try removing the semi-colons. yes, i thought about it, here is 'another' error output: david@faust:~/alto/projects/lilypond/tests 54 $ ly2dvi bars-1.ly Running LilyPond... GNU LilyPond 1.5.15 Now processing: `/usr/alto/projects/lilypond/tests/bars-1.ly' Parsing... /u

lilypond-1.5.15

2001-10-07 Thread David Pirotte
Hello, just for information, i installed lilypond-1.5.15, but it does not compile my prelogique.ly (mentionned and sent in a previous mail) and does not compile the example that i copy-paste from http://lilypond.org/wiki/?LilyPondHacks guile 1.7.0 (latest cvs version (Changelog m

latest guile cvs gives me problems

2001-10-04 Thread David Pirotte
hello, i just downloaded the latest guile cvs for guile-core and since can not use lilypond anymore, here is the ly2dvi output david david@faust:~/alto/projects/lilypond/prelogique 19 $ ly2dvi prelogique.ly Running LilyPond... GNU LilyPond 1.5.14.jcn1 Now processing: `/usr/alto/projects/lilypon

page numbering

2001-10-03 Thread David Pirotte
hello, how can i ask: - no page number on the first page - page numbers to be like this: - 12 - in the footer and centered thanks, david ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.

Re: not too bad for a beginner ... but i need help

2001-10-03 Thread David Pirotte
Mats Bengtsson wrote: > ... thanks so much > > #(define f '((bold italic) "f")) > > If you want the same layout as given by \f, you should use > ((dynamic) "e")m ((dynamic) "ff"), ((dynamic) "ppp") > and so on. yes, but the reason i wanted to define some is because i find that the default fon

not too bad for a beginner ... but i need help

2001-10-02 Thread David Pirotte
2ped '(italic "2 Péd.")) #(define 2ped1 `(lines ,ppp ,2ped "(*)")) #(define 2ped2 `(lines ,ppp ,2ped)) #(define pup '(italic "---/")) #(define uc '(italic "UC")) % #(define uc '\unaCorda) #(define puc `(lines ,p ,uc)) #(define init `((li

Re: lilypond-1.4.8 compilation problem

2001-10-01 Thread David Pirotte
Jan Nieuwenhuizen wrote: > > You can always install other versions of guile, eg, do > >guile-1.4 $ ./configure --prefix=$HOME/usr/guile-1.4 && make all install >lilypond-1.4.8 $ PATH=$HOME/usr/guile-1.4/bin:$PATH ./configure i still wish to try 1.5.14, if you send me a seperate patch fi

Re: make web-doc

2001-10-01 Thread David Pirotte
Mats Bengtsson wrote: > > http://www.s3.kth.se/~matsb/lilypond/lilypond.ps.gz > (using Type1 fonts throughout the document!) great! thanks ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-1.4.8 compilation problem

2001-10-01 Thread David Pirotte
Jan Nieuwenhuizen wrote: > > David Pirotte <[EMAIL PROTECTED]> writes: > > > hello, > > > > lilypond-1.4.8 compilation problem > > SuSE 7.2 > > Linux 2.4.4 > > checking for guile-config... guile-config > > checking G

Re: lilypond-1.5.14 compilation problem

2001-10-01 Thread David Pirotte
Jan Nieuwenhuizen wrote: > > try this patch I tried, but the content of the patch seems to have a little problem, could you send me an attached patch file ? Thanks David ;; -- patch output david@faust:~/ftp/lilypond-1.5.14 29 $ patch -E -p1 < lilypond-1.5.14.jcn1.diff patching file CHANGES pa

lilypond-1.4.8 compilation problem

2001-10-01 Thread David Pirotte
hello, lilypond-1.4.8 compilation problem SuSE 7.2 Linux 2.4.4 ;; -- make output david@faust:~/ftp/lilypond-1.4.8 50 $ make ... ... rm -f ./out/break-align-item.dep; DEPENDENCIES_OUTPUT="./out/break-align-item.dep ./out/break-align-item.o" c++ -c -DHAVE_CONFIG_H -DSTR

Re: clusters: note spacing problem and other things

2001-10-01 Thread David Pirotte
Mats Bengtsson wrote: > > I definitely recommend that you keep to the stable 1.4.8 release > for the moment. The 1.5.x releases contain too many bugs to be > useful for some serious typesetting at the moment. OK, I'll download immediately > You have already received an answer for the compilatio

lilypond-1.5.14 compilation problem

2001-10-01 Thread David Pirotte
for information, lilypond-1.5.14 compilation problem on my SuSE linux 7.2 ;; -- make output david@faust:~/ftp/lilypond-1.5.14 34 $ make ... ... rm -f ./out/scm-hash.dep; DEPENDENCIES_OUTPUT="./out/scm-hash.dep ./out/scm-hash.o" c++ -c -DHAVE_CONFIG_H -DSTRING_UTILS_INLINED -Iinclude -I./out

clusters: note spacing problem and other things

2001-09-30 Thread David Pirotte
Hello ;; -- I am new user of lilypond. I am a composer, a young composer, and I hope that I will be able to write my music with lilypond. But modern music is quite demanding and so much more difficult to typeset then ancient music. Is there any other composers of classical contemporary

[Fwd: lilypond and emacs]

2001-09-30 Thread David Pirotte
sorry, i forgot to mention that i am using xemacs 21.1.14 David Pirotte wrote: > > Hello, > > as suggested in the doc, i added the following lines in my .emacs file: > > (load-library "lilypond-mode.el") > (setq auto-mode-alist

lilypond and emacs

2001-09-30 Thread David Pirotte
Hello, as suggested in the doc, i added the following lines in my .emacs file: (load-library "lilypond-mode.el") (setq auto-mode-alist (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) (add-hook 'LilyPond-mode-hook (lambda () (turn-on-font-lock))) however

Re: make web-doc

2001-09-29 Thread David Pirotte
Han-Wen Nienhuys wrote: > ... > try > > http://lilypond.org/development/out/web.tar.gz thanks Han-Wen, I also could not neither see (using ggv) neither print (nothing comes out) (on my HP LaserJet 4MP, Postscript Level 2) Is there anything I can do? thanks again, david david@faust:~/ftp/l

make web-doc

2001-09-28 Thread David Pirotte
Hello, i could compile install lilypond-1.5.13 and it seems to work fine however, i am a new user and need the doc to build, which does not - can anyone help me with this problem? or - is there a .tar.gz somewhere I could download? thanks, david david@faust:~/ftp/lil