Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Marc Hohl
Am 08.08.2017 um 12:47 schrieb David Kastrup: Marc Hohl writes: I wanted to write a little callback to remove all occurrencies of "0" fingerings. This is what I got so far: \version "2.19.63" music = { c'4-3 d'-0 e'-2 f'-3 | g'1-0 }

Re: Remove all occurrencies of "0" fingerings

2017-08-08 Thread Marc Hohl
Am 08.08.2017 um 13:00 schrieb Thomas Morley: 2017-08-08 12:47 GMT+02:00 David Kastrup : You can do this by using [...] Nice one. I always forget about 'grob-transformer'. Missing bracket, tho' I wasn't aware of grob-transformer at all. And I am still unsure about what it does. I have rea

Re: Remove all occurrencies of "0" fingerings

2017-08-09 Thread Marc Hohl
Am 08.08.2017 um 18:44 schrieb David Kastrup: Marc Hohl writes: Am 08.08.2017 um 13:00 schrieb Thomas Morley: 2017-08-08 12:47 GMT+02:00 David Kastrup : You can do this by using [...] Nice one. I always forget about 'grob-transformer'. Missing bracket, tho' I wasn&

Re: Remove all occurrencies of "0" fingerings

2017-08-15 Thread Marc Hohl
Am 08.08.2017 um 12:35 schrieb Thomas Morley: 2017-08-08 11:46 GMT+02:00 Marc Hohl : [...] Hi Marc, your initial code had two problems, comments inline: \override Fingering.stencil = #(lambda (grob) (let* ((text (ly:grob-property grob 'text)) (stencil (if (equal?

Re: Remove all occurrencies of "0" fingerings

2017-08-15 Thread Marc Hohl
Am 15.08.2017 um 10:15 schrieb David Kastrup: Marc Hohl writes: [...] For the record: First, I used the solution with grob-transformer, but then I found out that removing the grob completely yields to problems with glissando lines between fingerings, so I switched to the solution given above

Re: Fwd: coloring notes according harmonic function

2017-09-08 Thread Marc Hohl
Am 07.09.2017 um 21:20 schrieb Rita Composer: Dear David and other Experts, Unfortunately I couldn't really follow you. You have to use << \new Voice { \voiceOne ... } \new Voice { \voiceTwo ... } \new Voice { \voiceThree ... } >> The curly brackets { ... } are important, otherwise th

Re: restrain string numbers

2017-09-22 Thread Marc Hohl
Am 22.09.2017 4:51 nachm. schrieb bb :I want to restrain/omit string numbers in the score. But I need them to define because of the guitar tabs. How can I do that? \new Staff \with { \omit StringNumber } { ... your music }HTHMarc___ lilypond-user mailing

Re: Draw line between fingerings, but how does this go?

2017-09-26 Thread Marc Hohl
Hello Pieter, I used the code in this thread: http://lilypond.1069038.n5.nabble.com/glissando-in-fingering-notation-td159875.html This works out of the box for almost all occurrences in my scores. HTH, Marc Am 25.09.2017 um 22:49 schrieb Pieter Terpstra: Dear readers, Trying to draw a line

Re: Header

2017-09-26 Thread Marc Hohl
Am 25.09.2017 um 20:37 schrieb Mario Moles: Hi lilyponders! How to make like in tha jpg? Please provide us some more informations. The jpg looks like a LaTeX document, so the commands used there do not apply for LilyPond. Marc ___ lilypond-user m

Re: How can I make a 7.9+.9- chord?

2017-09-28 Thread Marc Hohl
Am 28.09.2017 um 18:31 schrieb gumblex: Dear list, I would like to write a "dis:7.9+.9-" chord in \chordmode. However, both in ChordNames lines and in scores, it appears to be a "dis:7.9-" chord. If I write "dis:7.9-.9+", it appears to be a "dis:7.9+" chord. This is a current restriction of Li

Re: How can I make a 7.9+.9- chord?

2017-09-28 Thread Marc Hohl
Am 28.09.2017 um 18:31 schrieb gumblex: [...]And how can I display this chord correctly in a ChordNames line? This is untested, but IIRC \once\override ChordName.text = \markup { ... } should work. ___ lilypond-user mailing list lilypond-user@gnu.

Re: \justify & break

2017-10-05 Thread Marc Hohl
Am 05.10.2017 9:32 vorm. schrieb Gianmaria Lari :On 5 October 2017 at 09:28, Thomas Morley wrote:2017-10-05 6:56 GMT+02:00 Gianmaria Lari : > On 5 October 2017 at 01:05, Thomas Morley wrote: >> >> 2017-10-04 17:53 GMT+02

Re: \justify & break

2017-10-05 Thread Marc Hohl
I misread the mail, this is nonsense.Sorry for the noise.Am 05.10.2017 9:50 vorm. schrieb Marc Hohl :Am 05.10.2017 9:32 vorm. schrieb Gianmaria Lari :On 5 October 2017 at 09:28, Thomas Morley <thomasmorley65@gmail.com> wrote:2017-10-05 6:56 GMT+02:00 Gianmaria Lari <gianmarialari@gmail.c

Re: Invisible note lines?

2017-10-27 Thread Marc Hohl
Am 27.10.2017 um 18:04 schrieb bb: For a backing track I want a melody line and chords printed on a lead sheet - standard with lilypond. But a midi should have an aditional kickdrum/bassdrum for rhythm. The notes should not be visible on the lead sheet but to hear in the midi. Is it possible to a

Re: Invisible note lines?

2017-10-27 Thread Marc Hohl
, there is no graphical output. See http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files for clarification. HTH, Marc Regards BB Am 27.10.2017 um 18:07 schrieb Marc Hohl: Am 27.10.2017 um 18:04 schrieb bb: For a backing track I want a melody line and chords printed on a

Re: [OT] Linux Users

2017-11-19 Thread Marc Hohl
Am 18.11.2017 um 17:58 schrieb Jacques Peron: Linux, LilyPond, LuaLaTeX (and Gregorio for gregorian chant) here. To integrate LilyPond into LaTeX, I developped lyluatex . Which is a great tool and IMHO easier to use than lilypond-book! Linux, LilyPond, LuaL

Re: 4 slashes in percent repeat

2016-04-03 Thread Marc Hohl
Am 03.04.2016 um 15:36 schrieb Thomas Morley: 2016-04-02 19:47 GMT+02:00 Daniel E. Moctezuma : Hello I was wondering if it's possible to have a percent repeat with 4 slashes in LilyPond. Like an \override setting or similar. My use case is when a set of 4 bars repeats n times, like: \repeat per

Re: 4 slashes in percent repeat

2016-04-04 Thread Marc Hohl
Hi Daniel, Am 04.04.2016 um 07:07 schrieb Daniel E. Moctezuma: Thanks for your reply. The samples from http://lsr.di.unimi.it/LSR/Item?id=954 look nice for solo pieces, but my use case is for multiple instruments. Imagine a rock band where the bass has 4 bars that will be repeated, but the re

Re: Lilypond statistics

2016-04-07 Thread Marc Hohl
Am 08.04.2016 um 06:51 schrieb Dave Higgins: Is there any way to generate statistics for a file? Things like, let say, a concordance or the number of a's b's or bes's, or repeated markup's? (I know I can do stuff like this with grep, but that's very singular.) I think https://lists.gnu.org/a

Re: multiple tails

2016-05-24 Thread Marc Hohl
Am 24.05.2016 um 16:54 schrieb Michael Edwards: Hello everyone, When I print some scores I get multiple tails on some notes. See attached for an example. Looking at the PDF it's fine, but I've printed on several printers from different machines and always get extra tails. Any idea what might be

OT: chord naming question

2016-05-27 Thread Marc Hohl
Hi list, as there are already (partly very emotional) dicussions concerning F# vs. Gb in another (hijacked) thread, https://lists.gnu.org/archive/html/lilypond-user/2016-05/msg00418.html I hope to get some information *without* starting a flame war ;-) I have the following chord played on a guit

Re: OT: chord naming question

2016-05-27 Thread Marc Hohl
Am 27.05.2016 um 13:11 schrieb Urs Liska: Am 27. Mai 2016 12:58:10 MESZ, schrieb Michael Hendry : On 27 May 2016, at 11:36, Marc Hohl wrote: Hi list, as there are already (partly very emotional) dicussions concerning F# vs. Gb in another (hijacked) thread, https://lists.gnu.org

Re: OT: chord naming question

2016-05-27 Thread Marc Hohl
Am 27.05.2016 um 12:52 schrieb Thomas Morley: [...] Hi Harm, Hi Marc, is it an excerpt of an already printed piece (looks vaguely familiar to me)? No – it is a piece of mine, written some years ago for a (progressive) rock band. I want to re-use the chords and melody for a musical project.

Re: OT: chord naming question

2016-05-27 Thread Marc Hohl
Am 27.05.2016 um 15:29 schrieb Urs Liska: Am 27.05.2016 um 14:20 schrieb Marc Hohl: Write the highest note as an a# and consider it as an added 13#. Write the upper notes as c-e-bf and interpret it as bitonal (C7 over csharp). Ok. If I include the g-sharp I got C7#5 over c#. Wow. That'

Re: repeat and dynamic

2016-05-27 Thread Marc Hohl
Am 27.05.2016 um 18:50 schrieb Toine Schreurs: Have a look to the following code. Please note that each line contain the same notes but different dynamic information: \version "2.19.40" { a'-4 \p \< g'-3 e'-2 c''-5 a'-4 g'-3 e'-2 c''-5 a'-4 g'-3 e'-2 c''-5 \! } Is there any way to writ

Re: invisible note for expressive marks

2016-05-28 Thread Marc Hohl
Am 28.05.2016 um 19:47 schrieb Gianmaria Lari: The expressive marks must be attached to a note. I was wondering if it exists any void/invisible note that it is possible to use to avoid this constraint, something like: "voidelement" \p That's exactly what I used as an example in you other thread

Re: drum staves

2016-06-13 Thread Marc Hohl
Hi Riccardo, Am 13.06.2016 um 12:27 schrieb Riccardo: Hi, i just started to use lilypond (with frescobaldi editor). I use it for writing drum set scores. My problem is this: i need the small tom to be in the place of the hi hat (in the last upper space in the staff… E note placement so to say…

Re: slurs and repeats

2016-07-05 Thread Marc Hohl
Am 05.07.2016 um 11:42 schrieb Martin Tarenskeen: [...] I need a (partial) slur at the end of the first ending to indicate it's slurred back to the first e' of the repeated segment. Just like the pickup bar (\partial 4) is slurred to that same note. Have you considered drawing the slur to the d

Re: lilypond - Tex

2016-07-12 Thread Marc Hohl
Am 11.07.2016 um 21:26 schrieb bart deruyter: Hi all, [...] I don't think it is possible now, but maybe it would be interesting to work the other way round: inserting latex code in a lilypond file. Or would it be possible? :-) Is https://github.com/openlilylib/snippets/tree/master/specific-so

Re: lilypond - Tex

2016-07-12 Thread Marc Hohl
IIUC, the original question was about to integrate LaTeX code within LilyPond, not the other way round ;-) Am 12.07.2016 um 16:35 schrieb Henning Hraban Ramm: Hi, maybe have a look at my LilyPond/ConTeXt setup at http://wiki.contextgarden.net/LilyPond (Sample Include File). If you dont like l

Re: lilypond - Tex

2016-07-12 Thread Marc Hohl
Am 12.07.2016 um 18:24 schrieb David Wright: On Tue 12 Jul 2016 at 17:25:35 (+0200), Marc Hohl wrote: IIUC, the original question was about to integrate LaTeX code within LilyPond, not the other way round ;-) ? Of course it is when you snip the rest of the OP, Ok, sorry

Re: getting repeat bar lines to print across an entire system

2016-07-25 Thread Marc Hohl
Am 24.07.2016 um 18:10 schrieb David Kastrup: [...] Well, accolades are nice and everything, but if we are talking about frequently desired functionality, it makes sense that enough hooks are in LilyPond itself that a custom layout can then be called upon with one rather than 20 pages of Scheme c

Re: LilyPond logo?

2016-08-05 Thread Marc Hohl
Am 05.08.2016 um 11:38 schrieb Werner LEMBERG: Here are some experiments of mine. Very nice! logo1.svg is the one I used in the score, logo_outline.svg is the outline version, logo2/3/4.svg are some attempts to make it simpler. I like logo3 most. +1 Marc _

Re: LilyPond logo?

2016-08-05 Thread Marc Hohl
Am 05.08.2016 um 14:01 schrieb Malte Meyn: [...] But maybe less is more and two flower layers are enough; so here is a combination of logo3 and logo4 (only two flower layers -> less detail, only one pad but with gap -> more typical). I like it! Marc __

Re: Potential improvements to the homepage?

2016-08-21 Thread Marc Hohl
Am 21.08.2016 um 15:41 schrieb Andrew Bernard: Hello Andrew and welcome (from another Haskell user!). I agree with you. The website is looking tired and faded. But I think it is somehow generated programmatically from the lilypond builds, and not based on a content management system. I suspect t

calculation of the total duration of a score

2016-09-05 Thread Marc Hohl
Hi list, I have a couple of songs in my latest theatre project. It would be nice to have something like "duration: 3'22''" at the end of each song. Doing this by hand is straightforward:I generate a midi file that sounds accurate and let it play by timidity – but IMHO it would be less tedious an

Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Hi list, I want to change the MultiMeasureRest.stencil to a squiggle as shown in the appendices (quite roughly pasted together in GIMP). Searching the LSR and the web does not give any informations about this topic (the only thing I found was using the percent stencil, which is also hardcoded

Re: calculation of the total duration of a score

2016-09-06 Thread Marc Hohl
Am 05.09.2016 um 11:54 schrieb Federico Bruni: Il giorno lun 5 set 2016 alle 11:01, Marc Hohl ha scritto: [...] I have not tried, but maybe python-ly is able to give what you want? http://python-ly.readthedocs.io/en/latest/ly.music.html Thanks for the link. If I haven't overlook

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
ue X { \compressFullBarRests R1*32 \override MultiMeasureRest.after-line-breaking = #new-centered-mmr-stencil R1*71 } HTH, Cheers, Pierre 2016-09-06 14:28 GMT+02:00 Marc Hohl mailto:m...@hohlart.de>>: Hi list,

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Am 06.09.2016 um 16:09 schrieb David Nalesnik: Hi Marc, On Tue, Sep 6, 2016 at 7:28 AM, Marc Hohl wrote: Hi list, I want to change the MultiMeasureRest.stencil to a squiggle as shown in the appendices (quite roughly pasted together in GIMP). Searching the LSR and the web does not give any

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Am 06.09.2016 um 16:09 schrieb David Nalesnik: Hi Marc, On Tue, Sep 6, 2016 at 7:28 AM, Marc Hohl wrote: Hi list, I want to change the MultiMeasureRest.stencil to a squiggle as shown in the appendices (quite roughly pasted together in GIMP). Searching the LSR and the web does not give any

Re: circle of fifths

2016-09-06 Thread Marc Hohl
Am 06.09.2016 um 19:34 schrieb David Kastrup: Simon Albrecht writes: [...] At least in mostly functional programming languages. It might be argued that German is perfectly appropriate for imperative languages. ;-) ___ lilypond-user mailing l

Re: Changing MulitMeasureRest.stencil to a squiggle

2016-09-06 Thread Marc Hohl
Hi David, hi Harm, thanks a lot for your work! Am 06.09.2016 um 22:50 schrieb David Nalesnik: [...] P. S. This all might be easier if the C++ were translated to Scheme. Then there would be no need to try to match the old stencil's dimensions, and no redundant calculations. Looks like it wou

Re: calculation of the total duration of a score

2016-09-08 Thread Marc Hohl
have a total duration of 60 seconds). What does 3.75 mean? Marc Am 08.09.2016 um 05:39 schrieb Paul: On 09/05/2016 05:01 AM, Marc Hohl wrote: Has someone else already done something like this? I have no experience in writing scheme engravers, so any hint would be highly appreciated. lily

Re: calculation of the total duration of a score

2016-09-08 Thread Marc Hohl
Hi Harm, thanks a lot for your engraver, works out of the box! Best regards, Marc Am 08.09.2016 um 10:02 schrieb Thomas Morley: 2016-09-08 5:39 GMT+02:00 Paul : On 09/05/2016 05:01 AM, Marc Hohl wrote: Has someone else already done something like this? I have no experience in writing

Re: calculation of the total duration of a score

2016-09-09 Thread Marc Hohl
Hi Paul, Am 08.09.2016 um 19:28 schrieb Paul: Hi Marc, Well, looks like I sent the file too soon before testing it for this use case. It looks like the html-live-score is using different units of time somehow? I haven't had a chance to look into it or figure out the difference. Ok, no prob

Re: calculation of the total duration of a score

2016-09-11 Thread Marc Hohl
Hi Harm, hi Paul, thanks a lot for your code/improvements/discussion to this subject! Definitively worth to be put in the LSR! Some remarks from me as a real-life user: the engraver does not expand repeats, so if there ist some \repeat volta ... construct around, the total duration is not onl

Re: calculation of the total duration of a score

2016-09-11 Thread Marc Hohl
Am 11.09.2016 um 12:16 schrieb David Kastrup: [...] Would this be somehow possible? I probably lack the imagination for seeing your problem. I need the total duration in terms of minutes and seconds, taking all possible tempo changes etc. into account.

Re: BendSpanner-engraver

2016-09-11 Thread Marc Hohl
-Code, I'd like to announce a BendSpanner-engraver. It's based on our scheme-text-spanner.ly from the reg-test and the fabulous work of Marc Hohl and his bend.ily Thanks, to Stephen MacNeil who provided a couple of images from printed editions. A new grob, BendSpanner, is defin

Re: BendSpanner-engraver

2016-09-12 Thread Marc Hohl
s a tied note. Perhaps the slow-down in the bend::remove-certain-tab-note-heads routine can be avoided if bend events are handled specifically for certain strings: < g\3~ b\2~ fis'\1\startBend > < g\3 \b\2 g'\1\stopBend > --- I do hope my feedback does not sound too negati

Re: calculation of the total duration of a score

2016-09-13 Thread Marc Hohl
work with multiple scores, as only the duration of the last score will be displayed. But that is manageable, if needed. HTH Jan-Peter Am 05.09.2016 um 11:01 schrieb Marc Hohl: Hi list, I have a couple of songs in my latest theatre project. It would be nice to have something like "duration:

Re: calculation of the total duration of a score

2016-09-14 Thread Marc Hohl
-command relies on a global variable and a delayed stencil - this will not work with multiple scores, as only the duration of the last score will be displayed. But that is manageable, if needed. HTH Jan-Peter Am 05.09.2016 um 11:01 schrieb Marc Hohl: Hi list, I have a couple of songs in my

Re: calculation of the total duration of a score

2016-09-14 Thread Marc Hohl
global variable and a delayed stencil - this will not work with multiple scores, as only the duration of the last score will be displayed. But that is manageable, if needed. HTH Jan-Peter Am 05.09.2016 um 11:01 schrieb Marc Hohl: Hi list, I have a couple of songs in my latest theatre project. It w

Re: BendSpanner-engraver

2016-09-14 Thread Marc Hohl
Hi Harm, Am 13.09.2016 um 22:41 schrieb Thomas Morley: [...] Even if I wouldn't want to take one I'm forced to: my regular job started after summer-break :(( For me, too :( And -as ever– the TODO list for doing stuff within the summer break is still not completely done. [...] The customizat

Re: calculation of the total duration of a score

2016-09-14 Thread Marc Hohl
Am 14.09.2016 um 14:24 schrieb Marc Hohl: [...] I thought of writing the duration to a external file to be read from within the markup call in the score to be printed, but did not follow this route any further yet. Update: a simple test file shows that this works. I can - compute the total

Re: calculation of the total duration of a score

2016-09-16 Thread Marc Hohl
, but IMHO it would be easier to get the engraver to work somehow on a \score with a \midi { } block only and transferring the duration to another \score. Cheers, Marc Cheers Jan-Peter Am 15.09.2016 um 08:10 schrieb Marc Hohl: Am 14.09.2016 um 14:24 schrieb Marc Hohl: [...] I thought of wr

Re: BendSpanner-engraver

2016-09-17 Thread Marc Hohl
Hi Harm, Am 14.09.2016 um 23:00 schrieb Thomas Morley: [...] In general I'd vote for those shortcuts, but to fall back to the basic commands if needed. I had some time to re-think my basic approach ... maybe you are right and I think way too complicated in terms of taking each string into acco

Re: BendSpanner-engraver

2016-09-18 Thread Marc Hohl
Hi Harm, Am 18.09.2016 um 12:38 schrieb Thomas Morley: Hi Marc, 2016-09-13 22:41 GMT+02:00 Thomas Morley : 2016-09-13 8:33 GMT+02:00 Marc Hohl : The dashed line would also be great in cases like those: c'\3\startBend d'\3\stopBend~ d'\3 % bend up, no release, bent not

Re: Start of the first row of a staff

2016-09-20 Thread Marc Hohl
Am 21.09.2016 um 08:19 schrieb Marco Bagolin: Hello all, please, I need a help because I don't find a solution in the snippet repository. I need that the first line of the staff is aligned as subsequent lines, NOT as the attached example. Does \paper { indent = 0 } Do what you mean? Or am I

Re: BendSpanner-engraver

2016-10-04 Thread Marc Hohl
Am 04.10.2016 um 10:58 schrieb David Kastrup: Thomas Morley writes: warning: no notes to start a bend from found. If you want to bend an open string, consider override/tweak like: TabNoteHead.bend-me = ##t Hm, this text needs fixing, per current default open strings can't serve as start _or_

Re: Trouble Combining Repeats and Closing Bars in tunes

2016-10-17 Thread Marc Hohl
Am 18.10.2016 um 05:24 schrieb Ben Beeson: Hi, I am looking at a 4 - part tune where the first and third parts are repeated and the second and fourth parts are not repeated. Try as I may, I cannot get Lilypond to put the repeats and closing bars in the right place when engraving the tune. The f

Re: Help required with tuplets

2016-10-18 Thread Marc Hohl
Am 19.10.2016 um 08:14 schrieb Bernhard Kleine: Hi, I do not see what is wrong with the following extract which is compilable but totally wrong. I think you misunderstood the way \tuplet works: \tuplet 3/2 is the way to go, because you want *3* notes to last as long as *2* notes normally do.

Re: BendSpanner-engraver

2016-10-20 Thread Marc Hohl
Am 13.09.2016 um 22:41 schrieb Thomas Morley: [...] 2016-09-13 8:33 GMT+02:00 Marc Hohl : I hope to find the source somewhere to provide you a scan of how it should look like. Would be great. I finally found some examples, but the bend arrows are not quite "convincing" .

Re: InstrumentName on right side

2016-10-20 Thread Marc Hohl
Hi Harm, I cannot help with the instrument name problem, but ... Anyway, to give an imprssion a pdf is attached. This is impressive! Marc ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Ties across voices

2016-12-13 Thread Marc Hohl
Am 13.12.2016 um 11:11 schrieb Peter Toye: Urs, Andrew, Simon Thank you all very much for the solutions. I now have 4 ways to create what I need! My next task - to get ties across enharmonics, which I gather is impossible and I have to use slurs. There is a regtest for this, so it looks as if

<    4   5   6   7   8   9