Re: SVG export - how might you add classes for all graphical objects?

2021-06-29 Thread Matt Hood
That's quite handy to know, thanks for your response Carl. Cheers, Matt. On Wed, Jun 30, 2021 at 2:35 AM Carl Sorensen wrote: > > > > On 6/29/21, 2:43 AM, "lilypond-user on behalf of Matt Hood" > mattho...@gmail.com> wrote: > > Hi everyone, > >

Fwd: SVG export - how might you add classes for all graphical objects?

2021-06-29 Thread Matt Hood
s)) > (ly:grob-set-property! grob 'output-attributes attribs))) >(make-engraver > (acknowledgers > ((grob-interface engraver grob source) > (add-class-name grob) > > \layout { \context { \Score \consists \SvgAddClassName } } > > { \tweak output-attributes #'((class . foo)) b'4 } > > > > -- Aaron Hill Hi Aaron, thanks for your response and solution. I just tried it out and it works an absolute treat! Thanks for taking the time to put it together, I really appreciate it. Cheers, Matt.

Re: SVG export - how might you add classes for all graphical objects?

2021-06-29 Thread Matt Hood
ne, etc) from non-moving objects (StaffLine, Clef, TimeSignature). Cheers, Matt. On Wed, Jun 30, 2021 at 2:43 AM Jean Abou Samra wrote: > > Hello, > > > Le 29/06/2021 10:42, Matt Hood a écrit : > > > > > > Hi everyone, > > > > I'm working with li

Re: SVG export - how might you add classes for all graphical objects?

2021-06-29 Thread Matt Hood
t;\n"), to observe the output in the compilation process. I tried a variety of locations to place \applyOutput Score #add-class and this one gave me the most objects. Thanks for getting the ball rolling with the suggestion of a custom engraver - it looks like I have some documentation to read! They seem wonderfully useful. I really appreciate your response - thank you again. Cheers, Matt.

SVG export - how might you add classes for all graphical objects?

2021-06-29 Thread Matt Hood
NonMusicalPaperColumn PaperColumn Clef TimeSignature LedgerLineSpanner StaffSymbol VerticalAxisGroup SystemStartBar SpacingSpanner VerticalAlignment StaffSpacing BreakAlignment LeftEdge BreakAlignGroup BreakAlignGroup BreakAlignGroup If there were a way to run add-class on all graphical objects, that might be a good solution to the problem. Any help would be much appreciated! Thanks, Matt.

Re: [OT] modify midi

2020-06-15 Thread Matt Wallis
tch at dealing with this kind of merge? I don't know. I guess it may be useful to have all versions saved in git. git also is good at presenting conflicts - but again, I don't know how this compares with diff-and-patch - I haven't done much with the latter. Of course, with either method, you'd probably need to automate it (e.g.. using make) Matt

Re: Identify included files

2020-06-09 Thread Matt Wallis
On 09/06/2020 15:57, Fr. Samuel Springuel wrote: On 9 Jun, 2020, at 5:54 AM, Matt Wallis wrote: I found https://lists.gnu.org/archive/html/lilypond-user/2020-05/msg00148.html very interesting. It describes how to get lilypond to print out dependencies. Have you looked into this? That’s

Re: Identify included files

2020-06-09 Thread Matt Wallis
On 09/06/2020 10:54, Matt Wallis wrote: Include the backslash when you define a directory (as above). s/backslash/slash/

Re: Identify included files

2020-06-09 Thread Matt Wallis
-scientist_dependencies: Implements dependency generation as described in the article that Matt linked. Right now I’ve used a simple sed script in the recipe to add the midi file to the targets of the dly file generated by LilyPond, but I haven’t given up on a more general solution. Comments from anyone

Re: Adding metronome click track to MIDI

2020-06-04 Thread Matt Wallis
usic, but does not handle changes of time signature or tempo. Matt

Re: When (in seconds) does each page begin?

2020-06-03 Thread Matt Wallis
On 02/06/2020 11:30, Thomas Morley wrote: Am Di., 2. Juni 2020 um 10:19 Uhr schrieb Valentin Villenave : On 5/30/20, Matt Wallis wrote: But I'd still like to know how to find out when a page of a score begins Well, there is something to be done with the 'page-number and &#x

Re: When (in seconds) does each page begin?

2020-05-30 Thread Matt Wallis
found myself wondering if it could be made still more declarative by using svg animation. But I don't know how one would then get proper synchronisation with the audio. But I'd still like to know how to find out when a page of a score begins :-) Matt

Re: When (in seconds) does each page begin?

2020-05-29 Thread Matt Wallis
On 28/05/2020 23:15, Valentin Villenave wrote: On 5/28/20, Matt Wallis wrote: The output from event-listener is so close. I just need to get it to listen to the appropriate events ... if that is possible. Then you should definitely have a look at the last link I sent (lilypond-html-video

Re: When (in seconds) does each page begin?

2020-05-28 Thread Matt Wallis
On 28/05/2020 19:29, Valentin Villenave wrote: On 5/28/20, Matt Wallis wrote: I would like to obtain timing information to tell me at how many seconds into the score each page begins. I have had a go at this, and failed. If you’re trying to make videos out of LilyPond scores, here are some

When (in seconds) does each page begin?

2020-05-28 Thread Matt Wallis
s there some difference between the page-break-event and the the events that are properly handled by event-listener.ly ? Matt

Re: Identify included files

2020-05-26 Thread Matt Wallis
there a way to get lilypond to output this list of targets, analogous to the ly:source-files capability? I think in most cases, the issues around multiple targets can be ignored but there may be some cases where a full solution would need to handle them ... more thought required. Matt

Re: bach chorales

2020-05-24 Thread Matt Wallis
://gitlab.com/pub8/music/scores/bach/371-chorales But the link http://superbonus.project.free.fr/spip.php?article4 takes me somewhere unexpected. Could you check it? Best regards, Matt.

Re: bach chorales

2020-05-24 Thread Matt Wallis
available in a public git repository. Hopefully, there will be others who take some of the next steps you suggest, starting by cloning this repository :-) https://gitlab.com/pub8/music/scores/bach/371-chorales It would be great if someone could reply here to say if they could access the re

Re: bach chorales

2020-05-24 Thread Matt Wallis
LilyPond 2.13.51 http://www.LilyPond.org par Ph. Hardy. http://superbonus.project.free.fr Free Art License Marc, Many thanks for the link. Am I right to understand from the license that it would be ok to make these files available on a public git repository (e.g. Gitlab.com)? Matt

Re: bach chorales

2020-05-23 Thread Matt Wallis
On 23/05/2020 14:00, David Nalesnik wrote: Hi all, Is anyone aware of Bach's 371 being transcribed into LilyPond? I have some faint recollection of this, but I'm not finding anything at Mutopia. Thanks, David As a Bach fan, I was intrigued ... For me, the fourth hit on Google (searched "ba

Re: Creating click tracks for an arbitrary time signature and length of music

2019-12-20 Thread Matt Wallis
On 20/12/2019 01:10, Aaron Hill wrote: On 2019-12-19 3:03 pm, Matt Wallis wrote: What I want to do is to automatically create a click track for any length of music, and any time signature. For example, if the music is L measures in length, and the numerator of the time signature is N, and the

Re: Creating click tracks for an arbitrary time signature and length of music

2019-12-19 Thread Matt Wallis
On 19/12/2019 23:27, Karlin High wrote: On Thu, Dec 19, 2019 at 5:03 PM Matt Wallis wrote: What I want to do is to automatically create a click track for any length of music, and any time signature. I remember a similar question for generating a continuous-drone track for bagpipes. <ht

Creating click tracks for an arbitrary time signature and length of music

2019-12-19 Thread Matt Wallis
For some compositions, I create midi output with click tracks. If the music is in 4/4 time and of 64 measures in length, the the click track looks like this: \repeat unfold 64 \drummode { wbh4\f wbl\pp wbl wbl } If it's in 6/8 time, and 40 measures in length, it looks like this: \repeat

Re: Warning when defining variables on the command line

2019-11-19 Thread Matt Wallis
On 19/11/2019 15:39, Aaron Hill wrote: On 2019-11-19 3:37 am, Matt Wallis wrote: I want to pass the subtitle into lilypond on the command line because it is also required by other programmes (e.g. sox needs the subtitle to create a tag for the mp3 it creates). [ . . . ] But I now get the

Warning when defining variables on the command line

2019-11-19 Thread Matt Wallis
I want to pass the subtitle into lilypond on the command line because it is also required by other programmes (e.g. sox needs the subtitle to create a tag for the mp3 it creates). Looking at http://lilypond.org/doc/v2.19/Documentation/usage/command_002dline-usage#basic-command-line-options-for

Re: midiPanPosition in midi context block

2019-11-13 Thread Matt Wallis
On 11/11/2019 13:16, David Kastrup wrote: You seem to be hung a bit on my strong verbiage. It wasn't supposed to be a personal criticism but rather expressed my dismay that the combination of what LilyPond flags as problematic and what our manuals and examples suggest led to a result that I had

Re: midiPanPosition in midi context block

2019-11-11 Thread Matt Wallis
On 08/11/2019 14:30, David Kastrup wrote: Matt Wallis writes: But it doesn't work if I try to set the midiPanPosition inside a midi context block like this: \version "2.19.83" \include "english.ly" sopStaff = \new Staff = "sop" {   \relative c' { e4

midiPanPosition in midi context block

2019-11-08 Thread Matt Wallis
hing wrong? I want to do the setting in the midi context block because I require different pan positions for a staff depending on which score it appears in. --- Matt Wallis

Re: How to correctly use scheme functions and/or math in define-music-function?

2019-08-05 Thread Matt Huber
Ugh, it does, in fact. I totally missed it in the manual somehow, but you have to include "articulate.ly" and use the \articulate command to make it work. Thanks! ~Matt On Mon, Aug 5, 2019 at 12:45 PM Simon Albrecht wrote: > Hi Matt, > > before I dive into your music

How to correctly use scheme functions and/or math in define-music-function?

2019-08-04 Thread Matt Huber
to parse to understand what it doesn't like. I'm lost, and would love some assistance on this. Even if that help is in the form "you're on the completely wrong track, you should do xx.yy.zz instead" that would be great. Just for completeness, I'm attaching my full sample file

Re: Moving from lilypond 2.18 to 2.19

2017-11-22 Thread Matt Wallis
On 22/11/2017 16:33, David Kastrup wrote: You know: the minimal example would have been \midi { \time 4/4 } Nice minimalism! And I thought I'd done well to reduce the original 200+ lines in 4 files down to 13 in 1! and that would have saved adding a lot of other explanation: ... which shows my

Re: Moving from lilypond 2.18 to 2.19

2017-11-22 Thread Matt Wallis
On 17/11/2017 15:57, David Kastrup wrote: Matt Wallis writes: On 17/11/2017 14:15, David Kastrup wrote: There are no error messages referring to my own lilypond source files, which makes me wonder what's going on here. Your source is triggering an error in the library. Have you c

Re: Moving from lilypond 2.18 to 2.19

2017-11-17 Thread Matt Wallis
nvert_002dly.en.html> Many thanks David, That looks like exactly what I need :-) Matt ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Moving from lilypond 2.18 to 2.19

2017-11-17 Thread Matt Wallis
oc) So, I deactivated lilypond and activated lilypond-devel in order to use 2.19. My first test did not work: bombyx:~/Music/Matt/Song2017-09-28$ make -B lilypond -drelative-includes -I/Users/matt/Music/mattlib/ PianoScore.ly GNU LilyPond 2.19.80 Processing `PianoScore.ly' Parsi

Re: Issue with tablature in full score

2017-11-15 Thread Matt Hood
Hi David, thanks for your advice, it worked perfectly. A 1 minute text replacement job too! Thanks again, Matt. > On 16 Nov 2017, at 1:57 am, David Kastrup wrote: > > Matt Hood writes: > >> Hi all, >> >> I’m putting together an arrangement for four guitars

Issue with tablature in full score

2017-11-15 Thread Matt Hood
any help, Matt. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Choice of pitch input mode

2016-04-29 Thread Matt Hood
mildly related musings are welcome, I feel like it would be good to facilitate a general discussion. Cheers, Matt. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Question about output

2016-04-28 Thread Matt Hood
nked to more aesthetically pleasing. You can get this by appending ‘ \bar ".|:” ‘ to line 115 of the LilyBin code, though it seems like you already knew that ("I was expecting to get a ".|:” bar”). I checked the output of Sibelius, and it’s the same as Lilypond, for what that’s worth. Matt. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: GUILE error when running lilypond-book

2016-04-26 Thread Matt
Julien Rioux lyx.org> writes: > >> when running lilypond-book I get the error: > >> > >> lilypond_test.lytex:16:44: error: GUILE signaled an error for the > >> expressionbeginning here > >> \once \override BreathingSign.stencil = # > >> ly:breathing-sign::divisio-maior > >> Unbound variab

Re: GUILE error when running lilypond-book

2016-04-25 Thread Matt
Matt gmx.net> writes: > PS: system is claiming that I would top-post. So I'm adding some lines of > text at the very end. And deleting the quote of lilypond_test.lytex in the > hope that the message is now accepted. here is lilypond_test.lytex: %% LyX 2.1.2 created this fil

GUILE error when running lilypond-book

2016-04-25 Thread Matt
Hi, when running lilypond-book I get the error: lilypond_test.lytex:16:44: error: GUILE signaled an error for the expressionbeginning here \once \override BreathingSign.stencil = # ly:breathing-sign::divisio-maior Unbound variable: ly:breathing-sign::divisio-maior When running the score

Re: What is the proper way of programmatically generating markup?

2016-04-24 Thread Matt Hood
> On 24 Apr 2016, at 5:28 PM, Thomas Morley wrote: > > 2016-04-24 5:00 GMT+02:00 Matt Hood : >> Hi everyone, >> >> So I’m writing a function that reimplements the ‘\compoundMeter’ command >> with an Orff-style time signature, whereby the denominator of th

Re: What is the proper way of programmatically generating markup?

2016-04-23 Thread Matt Hood
> On 24 Apr 2016, at 1:38 PM, Paul Morris wrote: > >> On Apr 23, 2016, at 11:00 PM, Matt Hood > <mailto:mattho...@gmail.com>> wrote: >> >> **So my second question is: How do I programmatically generate markup from >> information taken from a

What is the proper way of programmatically generating markup?

2016-04-23 Thread Matt Hood
#x27; -- **So my second question is: How do I programmatically generate markup from information taken from a list, and then put it into a single markup variable?** Any help at all would be greatly appreciated. Cheers, Matt.___ l

bendAfter problems with polyphony (chords and partcombine)

2010-03-12 Thread Matt Huber
hare a stem. I did search the manual, the user-archive, and the snippets, but I don't see this issue having been addressed. Am I using /bendAfter incorrectly for polyphony, or is there something else going on that I'm not aware of? Thanks! ~Matt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: going to the next level

2009-06-11 Thread Matt Boersma
On Wed, May 27, 2009 at 3:09 PM, Daniel Hulme wrote: > I've uploaded my flam functions to LSR as snippet 566, and it's awaiting > approval. My functions include \flam, \drag, and \ruff and can be > attached to any drum note. I hunted around and found this snippet--thanks again, Daniel. I think I

Re: Center text over a tie?

2009-06-10 Thread Matt Boersma
On Wed, Jun 10, 2009 at 3:31 PM, Gilles THIBAULT wrote: > >> nineroll = \drummode { sn4:32^~ sn } >> But to help beginning drummers (like me), the original sheet music >> puts a small "9" just above the center of the tie > > Try that. > > %%% > #(define ((myCallBack  number) grob) > (grob-inter

Center text over a tie?

2009-06-09 Thread Matt Boersma
I'm using lilypond 2.12.2 to transcribe a drum solo piece with several nine-note snare drum rolls: nineroll = \drummode { sn4:32^~ sn } But to help beginning drummers (like me), the original sheet music puts a small "9" just above the center of the tie.* In lilypond, it doesn't have to be a tie--

Re: going to the next level

2009-05-27 Thread Matt Boersma
On Wed, May 27, 2009 at 3:09 PM, Daniel Hulme wrote: > On Wed, May 27, 2009 at 09:23:13AM -0600, Matt Boersma wrote: >> On Wed, May 27, 2009 at 1:36 AM, Daniel Hulme wrote: > ... > I've uploaded my flam functions to LSR as snippet 566, and it's awaiting > approval

Re: going to the next level

2009-05-27 Thread Matt Boersma
usic and would find both of those very useful. (Also a "ruff" symbol that doesn't have to attach to a snare, as when finishing a drag with the kick drum.) But I agree with your overall point: I haven't yet found anything lilypond can't do, and it's a ple

alignment of slurs and articulations

2009-04-29 Thread Matt Huber
? \version "2.12.2" \relative c' { c8( c)( c)( c) c8(-> c->)( c->)( c->) c8(-^ c-^)( c-^)( c-^) c(-. c-.)( c-.)( c-.) c8-+( c-+)( c-+)( c-+) c--( c--)( c--)( c--) c8-|( c-|)( c-|)( c-|) c-_( c-_)( c-_)( c-_) } Thanks! ~Matt __

auto-beaming in uncommon time signatures

2007-11-24 Thread Matt Huber
measure: 2-4-3-3 instead of 3-3-3-3. Can someone explain why this is happening, and how to correct this? Thanks! ~Matt Example code: --- \version "2.10.29" { \time 12/16 #(override-auto-beam-setting '(end * * * *) 6 16 ) #(overrid

Fingerings Below Bowings?

2007-04-20 Thread Matt Bethe
note. Example: . \once\overrideTextScript#'script-priority =#-100 a4^\prall^\markup{\sharp} \once\overrideScript#'script-priority =#-100 a4^\prall^\markup{\sharp} I can't figure out how to apply this to bowings and fingerings! Any help would be appreciated!

Initial Tempo?

2007-04-19 Thread Matt Bethe
I am surprised that there is not an initial header that establishes the text for the tempo. In all the music I have seen the leftmost edge of the initial tempo text lines up with the leftmost edge of the meter. I looked through the examples and there are three workarounds: putting tempo

Analysis Brackets

2007-02-12 Thread Matt
Hi there, could someone please tell me how to get analysis brackets to appear above the stave? I just can't seem to figure it out! Thanks ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Compound time auto-beaming problem

2006-09-12 Thread Matt Huber
Wow.  I'm going to have to parse that syntax to see what it's doing.  I think that using that method to beam will be less effort than just manually beaming.Thanks for all the advice, I really appreciate it. ~MattOn 9/12/06, Mats Bengtsson <[EMAIL PROTECTED]> wrote: Joe Neeman wrote:>> I think Mats

Re: Compound time auto-beaming problem

2006-09-11 Thread Matt Huber
In the following example, the first > measure is beamed correctly, but the second is not.  In the second> measure, each 16th note should be beamed to the previous 8th note.> Since these patterns occur frequently, how do I configure auto-beaming > to do this, instead of manually

Compound time auto-beaming problem

2006-09-11 Thread Matt Huber
patterns occur frequently, how do I configure auto-beaming to do this, instead of manually beaming with [ ] ? Thanks in advance for your help!~Matt{\time 12/16#(override-auto-beam-setting '(end * * 12 16) 6 16 )\set Score.beatLength = #(ly:make-moment 6 16)a8 a16 a8 a16 a8 a16 a8 a16 |a8 r16 r8 a

Re: Problem resolved!

2005-09-03 Thread Matt Wallis
piece of software. Thanks to all who have made it so. Matt. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Problem getting started (SuSE 9.2)

2005-09-03 Thread Matt Wallis
s this seems no longer to be a lilypond issue. ISTR reading somewhere that guile-1.6.7 may be included in a lilypond-1.7.x package. Would this be an alternative path to resolving my problem? Matt. ___ lilypond-user mailing list lilypond-user@gnu.org h

Re: Problem getting started (SuSE 9.2)

2005-09-02 Thread Matt Wallis
to using lilypond. Matt. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Problem getting started (SuSE 9.2)

2005-09-01 Thread Matt Wallis
On Wednesday 31 August 2005 13:46, Jan Nieuwenhuizen wrote: > Matt Wallis writes: > >>     > >> http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00481.html > > > > As suggested here, I installed guile 1.6.7, but this did not fix the > > probl

Re: Problem getting started (SuSE 9.2)

2005-08-31 Thread Matt Wallis
Jan, Many thanks for your suggestions. On Tuesday 30 August 2005 20:08, Jan Nieuwenhuizen wrote: > Matt Wallis writes: > > [EMAIL PROTECTED]:~/home2/Music/Scores> lilypond test > > GNU LilyPond 2.6.3 > > ERROR: In procedure hash-fold: > > ERROR: Wrong type argument

Problem getting started

2005-08-30 Thread Matt Wallis
OR: Wrong type argument in position 3: ((# . #) (# . #) (# . #) (# . #) (# . #) (# . #) (# . #) (# . #) (#. #) (# . #) (# . #) (# . #) (# . #) (# . #) (# . #) (# . #) (# . etc ... Your help would be much appreciated Matt. ___ lilypond-user mailing

Re: piano - crossing staff stems

2005-03-07 Thread Matt Jibson
On Tuesday 08 March 2005 12:27, Michiel Lange wrote: > Take a look at the manual here: > http://lilypond.org/doc/v2.4/Documentation/user/out-www/lilypond/Cross-staf >f-stems.html#Cross-staff-stems I think that's what you're looking for? I was hoping for something less hackish (I did look there yes

piano - crossing staff stems

2005-03-07 Thread Matt Jibson
righta and rightb are in the Romance), but I got an error about too many clashing notecolumns. How can I get something like what is shown in clip1.png? Thanks. -Matt ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailma

Re: Compilation on FreeBSD

2005-02-28 Thread Matt Jibson
ZbynÄk Burget wrote: I try compile Lilypond 2.4.4 on my FreeBSD 5.3 During compilation process i get this error: ./out/lily-guile.o(.text+0x34d8]: In function `ly_gettext(scm_unused_strct*)`: /usr/home/.../lilypond-2.4.4/lily/lily-guile.cc:839: undefined reference to `gettext` On the OpenBSD p

Re: OpenBSD port - half success

2005-02-14 Thread Matt Jibson
Matthias Kilian wrote: Could you publish your ports somewhere on a web or ftp server or send them to me? I'm short of time, but a Lilypond port is on my long-term TODO list, too. I don't promise anything, but when I get some spare time, I'd love to assist your porting work. http://crescentisland.co

OpenBSD port - half success

2005-02-14 Thread Matt Jibson
, and t1utils, along with a testing version of the guile 1.6 port. Does anyone have any idea where I should look for breakage? Thanks. -Matt Jibson ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

problem getting started

2003-07-27 Thread Matt McNabb
I am completely new to this program so I began by trying the second step , "Running lilypond". I saved the file as test.ly, but when I tried to render it using the ly2dvi -p test.ly command I got a warning message saying that test.ly could not be found. What am I doing wrong? ___