Re: Does the layer property not work across systems?

2018-09-11 Thread caagr98 caagr98
parts. Is there any way (either through Lilypond or postscript or similar) to subtract and/or intersect two stencils/paths? On Tue, Sep 11, 2018, 17:22 David Kastrup wrote: > caagr98 caagr98 writes: > > > I have a couple of scores with limited space. For readability, I > > s

Does the layer property not work across systems?

2018-09-11 Thread caagr98 caagr98
I have a couple of scores with limited space. For readability, I sometimes draw white outlines around overlapping elements (to cut out parts of volta brackets or similar). This works fine within the same system, but in some cases, the overlapping elements (an articulation and a volta bracket) are i

Re: disabling \break

2018-05-09 Thread Caagr98
If you want a more lightweight way to do it, this function should also work: ⋘ removeBreaks = #(define-music-function (mus) (ly:music?) (music-filter (lambda (v) (not (music-is-of-type? v 'break-event))) mus)) ⋙ On 05/08/18 14:17, Jan-Peter Voigt wrote: > Hi Herbie, > > this

Book with bookpart stored in variable: expecting real number

2018-04-18 Thread Caagr98
This code: ⋘ \version "2.19.81" bk = \book{\bookpart{\score{a}}} \bk ⋙ gives a strange error: ⋘ GNU LilyPond 2.19.81 Processing `bpart.ly' Parsing.../usr/share/lilypond/2.19.81/scm/lily-library.scm:243:5: In procedure ly:book-process in expression (process-procedure book paper ...): /usr/share/

Re: Is lilypond suitable for big composition projects?

2018-03-22 Thread Caagr98
In my opinion, Lilypond is excellent for writing sheet music, but not very good for composing. I usually use MuseScore or Qtractor for composing, then (manually) convert it to Lilypond to make sheet music. On 03/22/18 16:35, Jonas Daverio wrote: > That may seem like a stupid question, but I've b

Re: Having trouble understanding optional and variable amount of arguments

2018-02-28 Thread Caagr98
I think \tempo (and a few other commands such as \repeat\alternative, \set, and \override) are hardcoded in the Lilypond compiler using methods not accessible through Scheme, so you can't make that kind of functions yourself. You can make functions with optional arguments, though. I think the sy

Re: scheme function returning two scores

2018-02-25 Thread Caagr98
On 02/25/18 22:24, Gianmaria Lari wrote: > > > On 25 February 2018 at 15:05, Caagr98 <mailto:caag...@gmail.com>> wrote: > > > > On 02/25/18 14:50, David Kastrup wrote: > > In the mean time, you could define a void function and let it just call &g

Re: scheme function returning two scores

2018-02-25 Thread Caagr98
On 02/25/18 14:50, David Kastrup wrote: > In the mean time, you could define a void function and let it just call > toplevel-score-handler on your scores. Of course, this would no longer > allow you to place those scores in a book or bookpart. Why not call add-score (defined in scm/lily-library

Re: Why do lyric extenders require an associated voice?

2018-02-16 Thread Caagr98
Okay, that makes some amount of sense (but not much). But why doesn't it give a warning or anything? And I still don't know why extenders need an associated voice in the first place. On 02/16/18 10:49, Torsten Hämmerle wrote: > Hi, > > As soon as associatedVoice has been set to /anything/, Lily

Why do lyric extenders require an associated voice?

2018-02-16 Thread Caagr98
It doesn't seem that voice is actually used for anything; setting assocatedVoice to "" lets extenders be used without any other apparent effects. So why is there such a difference between having no associated voice and having a nonexistent one? ___ li

Re: MIDI dynamics

2018-02-04 Thread Caagr98
I'd suggest either moving the DynamicsPerformer to the Staff context or replacing the \upper with << \upper \dynamics >> (and the same for \lower). Normally, dynamics only affect the voice they are in, which in your example is a different voice from the ones the notes are in. On 02/04/18 01:55,

Re: Bug with tuples with rest?

2018-02-02 Thread Caagr98
1) Lilypond won't place lyrics on rests, and not on tied or slurred notes (except the first). Since everything in the tuplet is disqualified by one of those criteria, the lyric must go on the e. 2) \relative only affects the next music expression; in this case the tuplet. Thus, the e isn't insid

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

2018-02-02 Thread Caagr98
x27; add tweak./ > > > That is going to be a huge improvement! > > > @David > > /I have seen no comment whatsoever about what you find wrong with using/ > /\single \omit Accidental in the way I showed in the code example I gave./ > > > I'm sorry,

Re: Tying chords

2018-01-31 Thread Caagr98
If you attach the tilde to the individual notes rather than the entire chord, that should work. That is, ` ` rather than `~ `. On 02/01/18 00:30, Rohan Srinivasan wrote: > Hi all, > > I am tying two chords together. Is it possible to have the top tie be above > the note and the bottom tie to b

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

2018-01-31 Thread Caagr98
won't work with edition-engraver or similar.) On 01/31/18 21:56, Stefano Troncaro wrote: > I just tried it, but unfortunately it appears to only work when used inside > the chord, and I need to find a way to do it from outside.// > > 2018-01-31 17:39 GMT-03:00 Caagr98 <mailto:caag

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

2018-01-31 Thread Caagr98
You could try \single instead of \once, as in . On 01/31/18 21:27, Stefano Troncaro wrote: > Hello again everyone! > > Suppose I have the following example: > > \version "2.19.80" \language "english" command = { %What should go here to > omit the sharp while keeping the natural? } \score { \new

Re: Holes in spanners for tall notes

2018-01-04 Thread Caagr98
Okay, thanks for the heads-up. I guess I'll rename it to `hole` instead. On 01/04/18 19:05, Kieren MacMillan wrote: >> I checked with `lilypond scheme-sandbox` to see that it didn't exist...? > > Lilypond contains both a function > > http://lilypond.org/doc/v2.18/Documentation/snippets/editorial

Re: Holes in spanners for tall notes

2018-01-04 Thread Caagr98
I checked with `lilypond scheme-sandbox` to see that it didn't exist...? On 01/04/18 18:56, Kieren MacMillan wrote: > Hi "Caagr98", > >> I also made this function to add holes in the bracket (requires setting the >> bracket's layer to -1): >> whiteo

Re: Name of the command

2018-01-01 Thread Caagr98
Dammit. I did look it up in the source code, but then I wrote it wrong here. On 01/02/18 00:19, David Kastrup wrote: > Caagr98 writes: > >>> On 01/02/18 00:07, Mark Stephen Mrotek wrote: >>>> Hello, >>>> >>>>   >>>> >>&

Re: Name of the command

2018-01-01 Thread Caagr98
Are you thinking of `\set tieWaitForChord = ##t \grace {blah} blah \unset tieWaitForChord`? On 01/02/18 00:07, Mark Stephen Mrotek wrote: > Hello, > >   > > A command exists that allows the notes of a grace to be tied to the following > chord, e.g., > > \grace {c8~ e~ g~} 2. > >   > > I tho

Re: Holes in spanners for tall notes

2018-01-01 Thread Caagr98
\tweak Y-offset #0 \tweak outside-staff-priority ##f -\markup { \with-dimensions #'(0 . 0) #'(0 . 0) \with-color #white \filled-box #x #y #0 } #}) On 01/01/18 19:36, Trevor wrote: > > > "Caagr98" wrote 01/01/2018 18:17:37 >

Holes in spanners for tall notes

2018-01-01 Thread Caagr98
\repeat volta 2 {R1} \alternative { {a4 a a a a a a a} {R1} } In this example, the volta is moved very far up because of that one note. This is very ugly IMO. Is there any way to insert a hole in the line and have the note stick up over the volta? ___

Re: include puzzlement

2017-12-29 Thread Caagr98
On 12/29/17 20:26, Carl Sorensen wrote: > Variables can only be defined at the top level. See the Notation Reference > 3.1.4 That's not entirely true. You can define variables in \paper, \layout, and \midi blocks too. Also, you could use the (ly:parser-define! k v) function inside a bookpart,

Re: Function to add articulation to all notes

2017-12-28 Thread Caagr98
st property to determine whether it should be placed at the start or end of the tie. I feel kinda bad for requesting this without having anything to contribute in return :( On 12/28/17 21:42, David Nalesnik wrote: > Hi, > > On Thu, Dec 28, 2017 at 1:37 PM, Caagr98 wrote: >>

Re: Function to add articulation to all notes

2017-12-28 Thread Caagr98
That function seems rather destructive: removes all properties on existing articulations (including tweaks, direction, and midi stuff), and doesn't seem to handle anything other than ArticulationEvents at all. Dynamics, slurs, ties, etc are removed. Also, this version has no way to exclude a not

Function to add articulation to all notes

2017-12-28 Thread Caagr98
Sometimes when having a long section of staccato, it's a bit tedious to add -. to all notes, so then it's useful to have a function which automatically adds an articulation to all notes. I have one such function here: addArticulation = #(define-music-function (event music) (ly:event? ly:music?)

Re: Auto-beaming

2017-12-14 Thread Caagr98
That gives exactly the same output as the baseMoment version. On 12/15/17 04:26, Vaughan McAlley wrote: > On 15 December 2017 at 12:58, Caagr98 <mailto:caag...@gmail.com>> wrote: > > I tried that at first, but it made *everything* beam together, including > rest+

Re: Auto-beaming

2017-12-14 Thread Caagr98
I tried that at first, but it made *everything* beam together, including rest+three eights or stuff containing sixteenths. On 12/15/17 02:54, Ben wrote: > On 12/14/2017 8:21 PM, Caagr98 wrote: >> I'm currently writing some sheet music in 2/4. I'd like measures containing &

Auto-beaming

2017-12-14 Thread Caagr98
I'm currently writing some sheet music in 2/4. I'd like measures containing four eights to be all beamed together, but everything except that should use Lilypond's default rules. How can I achieve this? ___ lilypond-user mailing list lilypond-user@gnu.

Re: Font for headers

2017-12-13 Thread Caagr98
This should work: \paper { bookTitleMarkup = \markup \sans \bookTitleMarkup } You might also want to modify `scoreTitleMarkup`, `oddHeaderMarkup`, and `evenHeaderMarkup` the same way. On 12/13/17 16:58, Edward Neeman wrote: > I apologize if this is an obvious question: is there a way to set

Re: DrumVoice vs non-existent RhythmicVoice

2017-12-13 Thread Caagr98
A DrumVoice has different musical content than a Voice (uses the `drum-type` NoteEvent property rather than `pitch`, generating different midi output, etc). However, a RhythmicStaff only changes how the staff looks, not the actual musical content. Thus, there's no need for a separate RhythmicVoi

Re: DrumStaff vs Staff for instrument name

2017-12-13 Thread Caagr98
In `engraver-init.ly` (line 111 on my version), there is a line saying `\alias "Staff"`. That line makes the DrumStaff context listen to `\set Staff.*` as well as `\set DrumStaff.*`. (DrumVoice is similarly aliased to Voice.) They're both equal, so I'd recommend using `Staff.*` for consistency.

Re: Japanese text with furigana

2017-12-06 Thread Caagr98
That works for that particular example, yes. Doesn't work for anything other than exactly two kana per kanji, though. On 12/06/17 23:50, Carl Sorensen wrote: > > > On 12/6/17, 2:00 PM, "Caagr98" wrote: > > I'm trying to insert a bit of Japanese text

Japanese text with furigana

2017-12-06 Thread Caagr98
I'm trying to insert a bit of Japanese text in some markup. Putting the text itself works fine, but as soon as I try adding furigana (small kana above the kanji), it looks terrible. Is there anything I can do about that? —— \version "2.19.80" #(define-markup-command (furi layout props kanj

Re: sesqui-flat spelling

2017-11-22 Thread Caagr98
You can add your own language which contains those two aliases: #(define a (assoc-ref language-pitch-names 'nederlands)) #(set! a (acons 'aseh (ly:make-pitch -1 5 THREE-Q-FLAT) a)) #(set! a (acons 'eseh (ly:make-pitch -1 2 THREE-Q-FLAT) a)) #(set! language-pitch-names (acons 'nederlands2 a languag

Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
This seems to work, thanks! \version "2.19.80" { \clef F \key bes \major \time 3/4 \set tieWaitForNote=##t f,8_~[ c_~ g_~ bes_~ es'_~ g'^~]| \grace { \once \hideNotes 8 } R2.| } On 11/21/17 14:54, David Kastrup wrote: > Caagr98 writes: > >> Yeah, I

Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
ld be fairly easy to replicate this using some invisible grace notes. Do you know if there is any such function? On 11/21/17 14:43, Ben wrote: > > On 11/21/2017 8:40 AM, Caagr98 wrote: >> It's better, but they still don't extend to the end of the bar. >> >> Also, I p

Re: How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
/2017 8:28 AM, Caagr98 wrote: >> In the attached image, it looks like several LVs streched to the barline. >> However, if I simply try to write the notes with LVs, the arc is >> ridiculously short (see second image). How can I make that look proper? >> >> I could repla

How to make multiple synced lassez-vibres?

2017-11-21 Thread Caagr98
In the attached image, it looks like several LVs streched to the barline. However, if I simply try to write the notes with LVs, the arc is ridiculously short (see second image). How can I make that look proper? I could replace it with a pedal, but I want to replicate it as faitfully as possible

Re: Tidying Score

2017-11-17 Thread Caagr98
That looks like you're creating a new score for the third line. It has indentation, no measure number, a new clef without a courtesy clef, etc.. It looks like you intended to place both staves in parallel inside a PianoStaff, but you've somehow put them in different \score blocks instead. On 11

Re: midi volume single note

2017-11-14 Thread Caagr98
music-length (make-sequential-music l (l '())) (do () ((ly:moment On 14 November 2017 at 11:30, David Kastrup <mailto:d...@gnu.org>> wrote: > > Gianmaria Lari mailto:gianmarial...@gmail.com>> > writes: > >

Re: macro variable doesn't behave same as original?

2017-11-14 Thread Caagr98
In the first version, you're applying the \fermata post-event to the c2, which is perfectly valid. In the second one, you're applying it to the {...}, which doesn't make sense. I'm afraid I don't know any good solution, though. On 11/14/17 13:21, Patrick Smith wrote: > This works: > > \version

Re: midi volume single note

2017-11-13 Thread Caagr98
then reset to normal. On 11/13/17 13:25, Gianmaria Lari wrote: > > On 13 November 2017 at 11:21, Caagr98 <mailto:caag...@gmail.com>> wrote: > > You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note, > which changes dynamics/volume. I don't k

Re: midi volume single note

2017-11-13 Thread Caagr98
You can change `Voice.midiExpression` (0≤x≤1) in the middle of a note, which changes dynamics/volume. I don't know whether you can do that to one specific note without affecting other simultaneous ones, but you can just create a new voice for that. On 11/13/17 11:16, Gianmaria Lari wrote: > >

Re: custom articulation position

2017-11-03 Thread Caagr98
What you're doing is just creating a text script, not an articulation. I use the following code to create a custom real articulation; you'll obviously have to adapt some of it to fit yours. ``` #(define (draw-unaccent grob) (let ((stil (make-path-stencil '(M -0.435 0.435 C -0.435 0.185 -0.250

Re: rallentando/ritardando midi

2017-10-31 Thread Caagr98
I would do something like this (which is still manual, but a bit more readable): ``` << { e8^"rall." d c c c4 c } \tag midi { \tempo 4=50 s8 \tempo 4=45 s8 \tempo 4=40 s8 \tempo 4=35 s8 %etc... } >> ``` You'll have to use two scores, one of which has `\removeWithTag midi`, to make

Re: Invisible note lines?

2017-10-27 Thread Caagr98
You can use \tag and \removeWithTag for that. On 10/27/17 18:04, bb wrote: > 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 she

Re: guitar/bass as a transposing instrument and midi

2017-10-27 Thread Caagr98
I think you could use a combination of \transposition and \transpose. \transposition changes how the pitches are written, but not the midi. \transpose changes both. On 10/27/17 13:50, bb wrote: > A /transposing instrument/ is one in which the absolute pitches of the notes > played on the instru

How to resize a piano staff?

2017-10-24 Thread Caagr98
Using \magnifyStaff on the PianoStaff context gives the following error: /usr/share/lilypond/2.19.65/scm/music-functions.scm:2513:19: In procedure ly:context-property in expression (ly:context-property Staff (quote magnifyStaffValue)): /usr/share/lilypond/2.19.65/scm/music-functions.scm:2513:19:

\magnifyStaff on PianoStaff

2017-10-24 Thread Caagr98
What's the best way to change the size of a PianoStaff? Trying to put `\magnifyStaff` on the PianoStaff causes the following error: /usr/share/lilypond/2.19.65/scm/music-functions.scm:2513:19: In procedure ly:context-property in expression (ly:context-property Staff (quote magnifyStaffValue)): /

Re: Problem with Codas

2017-09-18 Thread Caagr98
On 09/18/17 19:46, Joel C. Salomon wrote: Omitting the coda alternative, this would be the natural way to input repeats of the form “D.S. al Fine”. I would suggest “\repeat ds” (and “\repeat dc”, unless you want to add magic that recognizes the start of a piece) as the syntax. There is already

Re: default midi output tempo

2017-09-17 Thread Caagr98
I think the default tempo is 60 quarters per minute, but I'm not sure. On 09/17/17 21:58, Larry wrote: Hi everyone! I'm new and I'm learning as I go. I've got the Fescobaldi installed and my inputs are slow. I know the tempo command can speed this up but I could not find what the default temp

Re: Is it possible to insert a "break" in a ottava bracket?

2017-09-07 Thread Caagr98
7;s any problem at all with having a \break within an "ottava-zone". have you tried it? and should it be obvious what the grace spacer is for? Best, Robert Am 07.09.17 um 18:01 schrieb Caagr98: I currently do it with the code below. It works, but it feels wrong. Is there

Is it possible to insert a "break" in a ottava bracket?

2017-09-07 Thread Caagr98
I currently do it with the code below. It works, but it feels wrong. Is there some better way to do it? ``` \ottava 1 c'''4 4 4 4 \ottava 0 \grace s32 \ottava 1 d'''4 4 4 4 \ottava 0 ``` ___ lilypond-user mailing list lilypond-user@gnu.org https://lis

Edition Engraver: apply tweak to all editions

2017-09-04 Thread Caagr98
Sometimes, I want to have some tweaks that apply to only a particular PDF, but some that apply to all. Is there some way to do that? With the following example, I'd like the C to be red, the E to be blue, and the D and F to be green. However, the green tweak isn't applied. Is there some way to

Re: How to write key change between double barline and repeat barline?

2017-09-03 Thread Caagr98
That is indeed a very hacky solution, but it works great. I'll probably want to \tag out the skip during midi generation, though. (It seems using graces also allows you to put multiple \marks at the same moment, which is neat.) For the record, how exactly does that space-alist override work?

Re: A note which is three measures long

2017-08-31 Thread caagr98
If you want a note that is three *whole notes* long, you could use a dotted \breve. If you want a note that is three *measures*, just use ties. Having notes that cross barlines is just confusing for everyone. On 08/31/17 14:40, Bernhard Kleine wrote: c\breve is two measures long, c\longa four

Is it possible to insert pitch bends in the MIDI output?

2017-08-26 Thread caagr98
There are some properties such as midiExpression and midiPanPosition (or whatever it's called); does something similar exist for bends? Or is there some other way to insert bends? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.

Re: numbers in lyrics

2017-08-18 Thread caagr98
Can't you just surround it with quotes? On 08/18/17 14:14, bb wrote: I tried to write "Cmaj7" in lyrics mode under a Cmaj7 chord. Lilypond obviously interprets the 7 as a lenght? Is there a solution? Regards BB ___ lilypond-user mailing list lilypond

Why is skipTypesetting so loud?

2017-08-10 Thread caagr98
When using \set skipTypesetting, stderr is *flooded* with messages saying `programming error: asked to compute volume at ...`, `programming error: no current dynamic`, and `continuing, cross fingers`. This makes it rather difficult to see if there are any actual errors, since those are printed

Re: Understanding how \tag works in \relative pitched music

2017-08-05 Thread caagr98
Huh, can't say I've heard of \fixed. I always use \transpose c c'', which seems to have the same effect. It looks stupid in the code, though. And yeah, absolute mode is a lot easier than relative. If I want to duplicate a measure, I prefer just duplicating it instead of having to adjust the oc

Re: elementary macro problem

2017-07-21 Thread caagr98
How about \repeat volta 2 { c1 d1 e1 \alternative {{d1} {f1}} }? IMO, that makes more sense both syntactically and semantically - the way I see it, that example is four measures repeated, with the last measure being different. With the current syntax, it's three measures repeated, and... wtf is

Re: elementary macro problem

2017-07-21 Thread caagr98
If you're using 2.19, you might be able to use `thrice = \repeat unfold 3 \etc`. Otherwise, you'll have to use the explicit version. On 07/21/2017 04:22 PM, David Griffel wrote: I'm a fairly inexpert lilypond user. I've used simple macros before, but this one fails: thrice = \repeat unfold 3

Re: Output to single PDF and multiple MIDI files

2017-07-20 Thread caagr98
I did just that a while ago. Here's the script I used (I had a few additional parameters, though): ``` #(define (movement title suffix music) (list #{\bookpart { \header { title = #title } \score { \removeWithTag midi $music \layout {} } }#} #{\book { \header { ti

Re: What is LilyPond's default font for titles?

2017-07-20 Thread caagr98
According to `strings whatever.pdf|grep FontName`, the only fonts in the output PDF are Emmentaler and Tex Gyre Schola. Since Emmentaler is for music symbols, it's probably Tex Gyre Schola (bold, in the case of titles). On 07/20/2017 08:56 PM, Reilly Farrell wrote: For editing and consistency p

Re: Parse scheme ast

2017-07-20 Thread caagr98
I have no idea what that specific AST comes from (did you invent it yourself?), but I think you're looking for (make-music) expressions, which are what is created from music expressions before being passed to the engravers. Check out \displayScheme (or (display-scheme-music) (talking about lisp

Re: Can't use edition engraver to place \time and \tempo

2017-07-12 Thread caagr98
I would suggest adding separate functions for adding standalone text grobs. Would make a lot more sense than handling some types of objects differently. On 07/12/2017 09:47 AM, Jan-Peter Voigt wrote: Hi again, I merged your PR, so \time and \tempo should work now. And I prepared a PR myself

Re: Place text next to rehearsal mark, or with left edge over barline if there is none

2017-07-10 Thread caagr98
E-ink displays are supposed to be just like normal paper, aren't they? On 07/10/2017 03:43 PM, Wols Lists wrote: On 10/07/17 14:28, Karlin High wrote: On 7/9/2017 2:16 PM, Wols Lists wrote: But out in the park, it was hard to stop the music blowing everywhere That DOES sound like a problem.

Re: Can't use edition engraver to place \time and \tempo

2017-07-10 Thread caagr98
I didn't notice any timing problems with \time. Of course, if you use it to add a time signature somewhere weird it gets broken, but that happens with inserting random time signatures in the source as well. If used responsibly, it works fine. My \tempo patch seems to work (needs some more test

Re: Can't use edition engraver to place \time and \tempo

2017-07-10 Thread caagr98
After some research, it seems edition engraver only _pretends_ to insert arbitrary objects - it actually only supports a select few types of objects. Not including \tempo and \time. \time can be worked around rather easily (see snippet below), but for \tempo, it seems I'd have to modify the sou

Can't use edition engraver to place \time and \tempo

2017-07-09 Thread caagr98
I'd expect the two scores created by this to be identical, but the second one only has the \key applied (other stuff such as \bar and <>^"" works too), not the \time or \tempo. What am I doing wrong? Also, it seems only the fourth argument is used for selecting editions (with \editionID); what

Re: Place text next to rehearsal mark, or with left edge over barline if there is none

2017-07-09 Thread caagr98
On 07/09/2017 11:07 PM, Thomas Morley wrote: Hi, please always post an (minimal) example demonstrating the problem. I wasted some minutes to reproduce your first problem. But I was annoyed not being able to do so. Hence I decided to try solving the problem instead of continuing finding an code-e

Re: Place text next to rehearsal mark, or with left edge over barline if there is none

2017-07-09 Thread caagr98
I guess I'll just have to go with EditionEngraver. The main reason I didn't use it before was that I couldn't figure out how to install it, but I managed to figure that out. On 07/09/2017 07:38 PM, Simon Albrecht wrote: On 09.07.2017 18:24, caag...@gmail.com wrote: As you can see on the scree

Re: Place text next to rehearsal mark, or with left edge over barline if there is none

2017-07-09 Thread caagr98
On 07/09/2017 06:29 PM, Jacques Menu Muzhic wrote: > Hello caagr98, > > The second score in the example below can help you solve the first issue. > > JM. That makes them aligned vertically, which I'm not too bothered about. It doesn't help with horizontal alignment, tho

Place text next to rehearsal mark, or with left edge over barline if there is none

2017-07-09 Thread caagr98
As you can see on the screenshot, both texts are misaligned. The first one, a \tempo, is placed *under* the rehearsal mark instead of next to it. The second one, the name of a song, is too far too the right, since it's attached to the note instead of the barline (it's a <>^""). How can I move

Re: Increase size of headers/footers but not music

2017-06-27 Thread caagr98
On 06/27/2017 09:48 PM, Simon Albrecht wrote: > You have to redefine bookTitleMarkup and/or scoreTitleMarkup in a > stylesheet that you use only for the full score, and enclose the > entire \markup expression in \markup \larger \larger {} or the like. I tried that, but as you pointed out, it does

Increase size of headers/footers but not music

2017-06-27 Thread caagr98
In this piece I'm writing, the headers look perfect on each individual part (A4), but they look ridiculously small in the full score (which is on an A2). Is it possible to automatically scale them without affecting the music, and without affecting the headers on the parts? (Aside from giving a

How do I figure out the absolute path of the file currently being executed?

2017-06-24 Thread caagr98
That is, the file where the currently executing function is defined, not the file it's called from. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Circular dependencies - Deadlock

2017-06-21 Thread caagr98
On 06/21/2017 11:10 PM, Johan Vromans wrote: If you have a non-infinite recursive include it will continue. I think that would require solving the Halting Problem first. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailm

Re: How to write anti-accent (breve)

2017-06-15 Thread caagr98
ore = #unaccent ``` Thanks for the help! On 06/15/2017 04:07 PM, Pierre Perol-Schneider wrote: Hi caagr98, How about: \version "2.19" unaccent = -\markup \translate #'(0.6 . 0) \stencil #(make-path-stencil '(M -0.435 0.435 C -0.435 0.185 -0.250 0 0 0

Re: How to write anti-accent (breve)

2017-06-15 Thread caagr98
On 06/15/2017 03:42 PM, Kieren MacMillan wrote: Hi caagr98, I'd rather not have to install extra fonts for my scores to work... You don't have to install extra fonts — just find a font that's already installed and has that glyph. That's exactly what I mean - I don'

Re: How to write anti-accent (breve)

2017-06-15 Thread caagr98
I'd rather not have to install extra fonts for my scores to work... Isn't there any way to do it with markup or stencils? On 06/15/2017 03:38 PM, Kieren MacMillan wrote: Hi caagr98, As in https://en.wikipedia.org/wiki/Accent_%28music%29#Anti-accent_marks. How do I write the firs

How to write anti-accent (breve)

2017-06-15 Thread caagr98
As in https://en.wikipedia.org/wiki/Accent_%28music%29#Anti-accent_marks. How do I write the first of those? \lheel is similar, but it's not the same. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-

Re: encapsulating woodwind diagrams

2017-06-13 Thread caagr98
Try removing the brackets ({ ... }) around the \markup. On 06/13/2017 04:46 PM, Jaime Oliver La Rosa wrote: Hi all, I am using the following code to place diagrams in a score: c^\markup \center-column { \override #'(size . .75) \override #'(thickness . 0.05){ \wood

Re: pushing items "through" or "beyond" other contexts

2017-06-02 Thread caagr98
Couldn't you do \new Dynamics { \alignAboveContext = "upper" s4/p }? On 06/02/2017 09:00 PM, Kieren MacMillan wrote: Hello all, No compilable code/snippet here… just a thought-experiment/question for discussion. Is there any way (currently possible, or relatively easily coded) that items in

Re: \transposition does nothing?

2017-05-31 Thread caagr98
\transposition doesn't affect the generated score, it only affects the midi output. To transpose the score, do \new Staff { \transposition f \transpose f c {...} }. (In your case, the << >> can replace the inner {}.) On 05/31/17 19:09, Jérôme Plût wrote: I am typing a horn part in F. In the at

Re: Predicate for a string representing an integer

2017-05-30 Thread caagr98
On 05/30/17 11:13, Jan-Peter Voigt wrote: I doubt that checking all characters in the string are in the range '0'-'9' is faster then string->number. Don't forget the optional leading hyphen, base specifiers (#x, #o, #d, #b), etc. However, do keep in mind that (integer? (string->number x)) ac

Re: Trouble with Polyphony

2017-05-27 Thread caagr98
On 05/27/17 05:06, Jon Arnold wrote: I'm trying to print a note simultaneous to a rest but have the rest be in normal \oneVoice position. (This is to illustrate a harp muffle of a single note.) This is basically how I'm doing it (minus the complicated code of replacing the stem glyph):

Re: multi language score

2017-05-18 Thread caagr98
http://lilypond.org/doc/v2.19/Documentation/notation/different-editions-from-one-source That link should contain most information you need. If you want the scores in different PDFs, replace the `\score {...}` with `\book { \bookOutputSuffix "French" \score {...} }`. On 05/18/17 10:20, Gianmar

Re: How to attach markup to several notes

2017-05-09 Thread caagr98
You could also try using the technique described here: http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-attached-to-notes , *Creating a delayed turn*. On 05/09/17 12:36, Kaj wrote: On 2017-05-09 at 10:47, Ivanov Dmitry wrote: Code: \version "2.18.2" \relative f'{ f8_\ma

Re: Appreciation

2017-05-08 Thread caagr98
Source please? Most search engines aren't particularly helpful when searching special characters. On 05/08/17 23:28, Dave Hartley wrote: # finally get my head around the difference between $( ) and #( ) 😁 ___ lilypond-user mailing list lilypond-user

Re: Doing some strange stuff with multi-measure rests

2017-05-05 Thread caagr98
Yeah, that seems to work, thanks! I'd prefer if it didn't reduce the left margin, but there's no point in being picky. I guess it can be fixed by tweaking the X-offset and the scaling factor. I'm considering experimenting with modifying the stencil expression itself, though. Getting the drum

Doing some strange stuff with multi-measure rests

2017-05-05 Thread caagr98
Basically, I want to show a rest with indeterminate length for all parts, except the drumset, which is to make undefined creepy noises, and the cymbal, which should do a drumroll-crescendo (not sure if there's any fancy name for that) before the rest of the parts resume playing. I've attached

Re: Apply event function *within* music-function

2017-05-02 Thread caagr98
Wouldn't the <>\stopGroup extend the group one note too far? On 05/02/17 10:06, Thomas Morley wrote: 2017-05-02 8:29 GMT+02:00 Urs Liska : Hi all, I'm trying to apply event functions to music passed into a music function like that: \version "2.19.57" test = #(define-music-function (mus)(ly:m

Polymark: draw marks horizontally

2017-05-01 Thread caagr98
I'm using Polymark (LSR 976) to be able to print song names (in medleys), codas, etc. at the same time as rehearsal marks. However, using a `\polyMark Center` (or empty) at the same time as a `\polyMark Left` draws the Left diagonally above the Center (assuming the Left is defined last). I'd li

Re: Is it possible to change the PDF title?

2017-04-24 Thread caagr98
`pdftitle` seems to be exactly what I was looking for. I also added `midititle = #pdftitle` for good measure. On 04/25/17 02:21, Thomas Morley wrote: 2017-04-25 2:18 GMT+02:00 Thomas Morley : 2017-04-25 1:43 GMT+02:00 : ``` title = \markup { \concat { "W" \scale #'(15/22 . 15/22

Re: Is it possible to change the PDF title?

2017-04-24 Thread caagr98
``` title = \markup { \concat { "W" \scale #'(15/22 . 15/22) \combine "o" \translate-scaled #'(0 . 1.2) "a" "ndering" } } ``` This is extracted as "Wandering" (or at least that's what Atril shows). I want it to be "W[ao]ndering" (or maybe "Wꜵndering"), because it's s

Is it possible to change the PDF title?

2017-04-24 Thread caagr98
By PDF title I mean the one shown in the PDF viewer's title bar. It seems to be extracted from the header:title field, but in my case, the title contains some complex markup and isn't extracted properly. Can I override the title somehow? ___ lilypond

Re: Lines to edges of \center-column

2017-04-24 Thread caagr98
Seems the latest devel version (2.19.59) has fixed that bug, so it's probably not important anymore. On 04/24/17 19:43, David Wright wrote: Well, I can't take a view on that because AFAICT the source in the OP only contained kanji (complicated-looking) characters. Would that be correct? Could y

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
I did some further work on it. It looks pretty great, IMO. It works with left- and right-aligning, too. No scaling horizontally (just 1sp margins), but it automatically scales vertically. ``` #(define (expand-add pair n) (cons (- (car pair) n) (+ (cdr pair) n))) #(define (expand-mul mul pair)

  1   2   >