Is there any way to use dynamics as prefixes?

2017-02-28 Thread caagr98
I think it's rather weird that you write `c'4\ff d'` instead of `\ff c'4 d'`. Other constructs such as `\tempo` and `\mark` are before the notes they affect - why aren't dynamics? For a more practical example, playing the same thing multiple times with different dynamics with prefix dynamics

Re: Drawing a contour on a staff

2017-03-22 Thread caagr98
You could try \makeClusters. They are a bit thicker than in the image, but they might be useful. (I have no idea what they are actually meant for, though.) On 03/22/17 13:18, Kevin Barry wrote: Hi All, I am setting a large volume of examples by a now-deceased composer, some of which use

Re: Parallel Square Premusic

2017-03-23 Thread caagr98
Isn't that basically a music box? On 03/23/17 12:04, msk...@ansuz.sooke.bc.ca wrote: On Thu, 23 Mar 2017, David Kastrup wrote: Punch cards seem to the best medium for your format. Not just that they are rigidly column-based, but you'll also easily distinguish letters With careful

Re: Combining \tag with \quoteDuring does not work

2017-03-27 Thread caagr98
On 03/27/17 19:26, Kaj Persson wrote: I thought, that tags always change the source, but obviously I was wrong. Tags don't actually do anything; they just add a new property to the tagged music expression. \{remove,with}WithTag then recurses through the music expression and removes

Re: TabStaff answer

2017-03-26 Thread caagr98
No problem, but I think you're supposed to reply to the list, not just me. On 03/27/17 00:33, Rob Torop wrote: Thank you! -- Forwarded message - From: > Date: Sun, Mar 26, 2017 at 4:58 PM Subject:

Re:

2017-03-26 Thread caagr98
You're setting options on the TabStaff while in the Staff context. Since there is no TabStaff context at the moment, one is temporarily created. You could fix it by setting the properties in a \with {} block on the TabStaff insteadd. On 03/26/17 22:49, Rob Torop wrote: I'm finding that when

Re: LSR down?

2017-03-26 Thread caagr98
It's down for me. http://lsr.di.unimi.it/LSR/Snippet?id=1007 says something about timezones (CEST in unrecognized). While the search page works, the results are empty. On 03/26/17 08:48, Malte Meyn wrote: Am 26.03.2017 um 07:21 schrieb Andrew Bernard: Is LSR down for others? Not for me:

Is it possible \quoteDuring from a different position?

2017-03-24 Thread caagr98
For example, quoting the start of the music when you are a few measures in? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: LSR down?

2017-03-27 Thread caagr98
Works for me. The snippet took a little longer to load than usual, but that was probably just my internet. Any idea what made it break (other than just "daylight saving time")? On 03/27/17 22:25, Thomas Morley wrote: 2017-03-27 9:24 GMT+02:00 Malte Meyn : Am

Re: TabStaff answer

2017-03-27 Thread caagr98
You could use \tag to remove the \set, or you could use <<>> to combine \solo with another staff containing only \set and spacer rests. I like using that technique to keep tempos and marks (structure) separate from the actual content. Or, as David mentioned, you could just set

How to simulate MuseScore's horizontal frame?

2017-03-19 Thread caagr98
The best I've managed to do is to show the clef and keysig. However, I haven't managed to fix the brackets, or reposition the coda or clefs. See the attached images for details. Is there some way to do this? ___ lilypond-user mailing list

Re: How to simulate MuseScore's horizontal frame?

2017-03-19 Thread caagr98
Alright, here's a small example. The Devnulls are my workaround for multiple marks at the same place. Other than those, there's nothing too remarkable. On 03/19/17 21:34, Jeffery Shivers wrote: On Sun, Mar 19, 2017 at 4:14 PM, wrote: The best I've managed to do is to

Re: exporting a parsed fragment to a .ly file

2017-03-16 Thread caagr98
You can use `\set Score.skipTypesetting = ##t` (and `##f`) to tell Lily to not typeset a region. If you do that for everything except the part you want, that should do the trick. Since it works on the Score context, it's enough to put it in one staff and it'll affect the entire score. It's a

Re: How to simulate MuseScore's horizontal frame?

2017-03-20 Thread caagr98
Using some stuff from that thread, I've managed to get everything to look as I want, except the brackets themselves (as well as forbidding line breaks): \context Devnull = "coda" \tweak self-alignment-X #RIGHT \mark "D.S. al coda" \bar "||" \stopStaff \cadenzaOn \noBreak

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
You can use a \with block: \new Voice = "mel" \with { instrumentName = "Melody" } { \melody } On 04/04/17 18:56, Mike Dean wrote: < < \new Voice = "mel" { \melody } *\set Voice.instrumentName = #"Melody"* \new PianoStaff << \set PianoStaff.instrumentName = #"Piano " \new Staff

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
Yeah, I don't think Voice supports instrumentName; my bad. I'd recommend replacing the \new Voice with a \new Staff. Aside from working properly with certain \with properties, I personally think it makes more sense. It's certainly more consistent with the piano staff, at least. I would also

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
Still not using \with? On 04/04/17 19:39, Mike Dean wrote: After trial by errors and caagr98's (thanks much!!!) help: << \new Staff = "mel" { \melody } << \set Staff.instrumentName = "Melody" >> \new PianoStaff << \set PianoStaf

Re: Is there a better way of assigning an instrument name to Voice?

2017-04-04 Thread caagr98
orgot to reply-list again. On 04/04/17 19:47, Mike Dean wrote: Still had struggles getting the output correct with "\with" Mike Dean On Tue, Apr 4, 2017 at 1:41 PM, <caag...@gmail.com <mailto:caag...@gmail.com>> wrote: Still not using \with? On 04/

Multiple ossia problems

2017-04-11 Thread caagr98
The first ossia is extended too far to the left (due to system start). The second is extended too far to the right (due to grace notes). The third is cut of at the left (also due to grace notes). The fourth has an end-barline, which I'd prefer if it didn't. All of them are also unnecessarily

Re: Separate Emmentaler/Fonts

2017-04-11 Thread caagr98
If it's just the alteration symbols you need, you could try just using the standard Unicode ones: ♩♪♫♬♭♮♯ (U+2669 to U+266F). On 04/11/17 14:35, tisimst wrote: Hi, Urs/Andrew/Johan! On Tue, Apr 11, 2017 at 6:10 AM, Urs Liska [via Lilypond] <[hidden email] > wrote: Am 11.04.2017 um

\transpose and \quoteDuring

2017-04-17 Thread caagr98
It appears \transpose has no effect on \quoteDuring. \transposition can be abused to fix it, but that doesn't affect midi playback. How can I work around this? ``` \version "2.18.2" foo = {c' d' e' f'} \addQuote foo \foo << \new Staff \quoteDuring foo s1 \new Staff \transpose c c'

Re: \transpose and \quoteDuring

2017-04-17 Thread caagr98
Looks a bit silly, but I suppose it'll have to do. Thanks. On 04/17/17 17:55, Kieren MacMillan wrote: Hi, It appears \transpose has no effect on \quoteDuring. Yes, this is the reality. (There’s a technical explanation somewhere on the list, but it does seem a puzzling restriction.) How

Re: What does anyone want? (4)

2017-04-20 Thread caagr98
For that matter, I have no idea what he's trying to say at all. It seems like just insane rambling. On 04/20/17 21:36, H. S. Teoh wrote: On Thu, Apr 20, 2017 at 03:24:23PM -0400, Jeffery Shivers wrote: Hi Miroslaw, On Thu, Apr 20, 2017 at 2:42 PM, Mirosław Doroszewski

Re: Header for each page

2017-04-21 Thread caagr98
I'm pretty sure the `instrument` header is already printed on each page. Otherwise, you could try setting `oddHeaderMarkup` and `evenHeaderMarkup`, or doing #(define make-header (foo)) inside your \paper. On 04/21/17 11:42, Johannes Roeßler wrote: Hi, for printing parts I'd like to place the

Re: Header for each page

2017-04-21 Thread caagr98
hunderbird without line wrapping? On 04/21/17 13:16, Johannes Roeßler wrote: > Hi Michael, Hi caagr98 > > nice to see you too Michael... (its you from the HDE? Right?) > > I wasn't aware that the "instrument" from the header shows up on every page - > shame on me :( >

Re: Header for each page

2017-04-21 Thread caagr98
On 04/21/17 13:45, Kieren MacMillan wrote: Actually, the header is controlled by oddHeaderMarkup and evenHeaderMarkup: Indeed, but that's not all Johannes asked about. On 04/21/17 13:16, Johannes Roeßler wrote: Bt.. On the first page it will appear below(!) title and subtitle - how do

Re: Header for each page

2017-04-21 Thread caagr98
On 04/21/17 15:25, Simon Albrecht wrote: Please never use tabs for indenting LilyPond code, always two spaces per indentation level (as Frescobaldi automatically does it, and as the LilyPond source does). Sounds like a good idea. I prefer tabs, but I've noticed that doesn't work very well

Re: Discern post-event in music function

2017-04-20 Thread caagr98
There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I don't think that one's easily accessible outside that module, but you can copy it: (define (post-event? m) (music-is-of-type? m 'post-event)) On 04/20/17 16:59, Simon Albrecht wrote: Hello, I currently

Re: Discern post-event in music function

2017-04-20 Thread caagr98
You could just do (let ((post (music-is-of-type? e 'post-event))) (stuff)). No point in creating a lambda for it. On 04/20/17 17:43, Simon Albrecht wrote: Am 20.04.2017 um 17:25 schrieb caag...@gmail.com: There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I

Re: Can't refer to variable directly after defining it

2017-04-22 Thread caagr98
4On 04/22/17 23:47, Thomas Morley wrote: The reason for it: The parser needs to check whether there is something else which needs to be added to the definition of 'foo', (most common example for those stuff is 'addlyrics') or, something else makes clear the declaration of 'foo' is complete.

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
That's certainly a possibility, it's not working too well. I have to do the alignment manually, and I can't change the line style. Also, it's a bit buggy: putting box-drawers after kanji works fine, but if it's after a kana, it's not selectable, and it has a different width. There are also

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
This is great, thanks! I was trying to mess around with \hbracket and \whiteout, but this is far better. Just a few questions: Is it possible to scale the protrusions (and other things) by font size? How can I change the color of the lines? What does "mols" mean? On 04/23/17 00:34, David

Can't refer to variable directly after defining it

2017-04-22 Thread caagr98
For some reason, it seems I can't refer to a variable directly after defining it. As soon as I do /anything/ else, it works, but `foo={...} \foo` gives errors. ``` $ cat bug.ly \version "2.18.2" foo = {c' c' c' c'} % bar = {d' d' d' d'} % {e' e' e' e'} % #foo \foo $ lilypond bug.ly GNU

Lines to edges of \center-column

2017-04-22 Thread caagr98
Is there some way to make a center-column draw lines from slightly outside the text to the edges of the column (see example)? In this specific case, I have both English and Japanese names for stuff, and without those lines, I think it's a bit unclear exactly what part the Japanese refers to.

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
On 04/23/17 01:53, David Wright wrote: I tried to provoke a problem, but I don't know my kanji from my kana, and am not sure what you mean by "selectable". I mean they're marked in blue by ctrl-A or dragging (selected.png). The greatest zoom I can manage is 1600%, and I can't see the

Re: Lines to edges of \center-column

2017-04-22 Thread caagr98
On 04/23/17 03:47, David Wright wrote: Then I don't know what you mean. When you drag over them, they turn blue because you _have_ selected them (drag.png, apologies for the size). Then you can paste them into, say, a bash shell command line (pasted.png, the box at the right is the inactive

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

Re: Composing music functions

2017-03-12 Thread caagr98
You can't call music functions directly from Scheme code. You have to either wrap the call in #{ #} or use `ly:music-function-extract` to extract the procedure itself and call that. (In general, `Wrong type to apply` means you're trying to call something that isn't a procedure.) On 03/12/17

Is it possible to compute a \lyricsto before running further processing?

2017-03-12 Thread caagr98
There are several types of postprocessing that break \lyricsto's auto-alignment*. Is there some way to tell the `\lyricsto` to align its syllables to the correct position so further processing won't affect it? (I'm guessing no, because if it was possible, it'd be the default.) * A few

Ties, \lyricsto and Score.skipTypesetting causes misaligned lyrics

2017-03-06 Thread caagr98
Using those three in combination seems to be a have a tendency to get the lyrics misaligned. ``` \version "2.18.2" << \new Voice = "staff" { \set Score.skipTypesetting = ##t \set Score.skipTypesetting = ##f a~ a

Convert Scheme symbol to pitch

2017-03-02 Thread caagr98
Is it possible to convert a symbol (such as `'bes'`) to a pitch (in this case `(ly:make-pitch 1 0 0)`)? I know you can do `#{ bes' #}` to get a pitch, but that only appears to work for constants. Or, for a more general question: is there some way to eval() a string as Lilypond code?

Re: Convert Scheme symbol to pitch

2017-03-02 Thread caagr98
On 03/02/17 23:41, Jeffery Shivers wrote: Where does the string originate? If it is produced by some other programming interface/language, maybe it be easier to adjust your code so that the string is wrapped in something like `\myMusic = { }`. What does the input look like? A bunch of

Re: Convert Scheme symbol to pitch

2017-03-02 Thread caagr98
On 03/02/17 23:39, David Kastrup wrote: caag...@gmail.com writes: Is it possible to convert a symbol (such as `'bes'`) to a pitch (in this case `(ly:make-pitch 1 0 0)`)? I know you can do `#{ bes' #}` to get a pitch, but that only appears to work for constants. Or, for a more general

Re: Is there any way to use dynamics as prefixes?

2017-02-28 Thread caagr98
On 02/28/17 20:14, David Kastrup wrote: Well, but slurs can start at the same note where another slur ends, and `c'4( d')( e')' is a lot clearer to me than `(c'4 (d') d')' I can honestly say I've never seen that, and I can't really imagine how that'd even be played. I agree that that looks

Re: Is there any way to use dynamics as prefixes?

2017-02-28 Thread caagr98
On 02/28/17 20:26, Thomas Morley wrote: Hi, 2017-02-28 19:53 GMT+01:00 : I think it's rather weird that you write `c'4\ff d'` instead of `\ff c'4 d'`. Other constructs such as `\tempo` and `\mark` are before the notes they affect - why aren't dynamics? Here's a little

Re: Line break on a subtitle

2017-04-07 Thread caagr98
I think you can use \column, \center-column, \right-column, or other similar functions, depending on how you want it aligned: \markup \column { "First line" "Second line" } On 04/07/17 21:35, Son_V wrote: I've searched on google but I wasn't able to find an answer. How can I break a

Fwd: Re: Line break on a subtitle

2017-04-08 Thread caagr98
Forwarded Message Subject:Re: Line break on a subtitle Date: Sat, 8 Apr 2017 16:41:55 +0200 From: Vincenzo Auer To: caag...@gmail.com Thanks, your answer got the goal. 2017-04-07 21:38 GMT+02:00

Re: How can I put \tempo "Adagio" closer to the score than a crescendo?

2017-04-17 Thread caagr98
I would recommend trying `outside-staff-priority`. The lower it is, the closer the object is to the staff. The default is 1000 on MetronomeMark and 250 on DynamicLineSpanner, so `\override MetronomeMark.outside-staff-priority = 249` or `\override DynamicLineSpanner.outside-staff-priority =

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 {

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

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? ___

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: 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

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);

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: 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

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

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, though On 0

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

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

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

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

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

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: 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

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 {

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

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

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

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

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

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'{

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,

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

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: 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: 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))

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

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

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

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't want to depend on what

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 first of those

Re: How to write anti-accent (breve)

2017-06-15 Thread caagr98
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 C 0.250 0 0.435 0.

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){

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

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 =

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: 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

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

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

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

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

2017-09-07 Thread Caagr98
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 some better

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

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

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

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

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: 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: 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

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.

  1   2   >