Re:\transposedQuoteDuring

2019-05-01 Thread Flaming Hakama by Elaine
On Wed, May 1, 2019 at 7:14 AM wrote: > -- Forwarded message -- > From: Pierre-Luc Gauthier > To: lilypond-user > Cc: > Bcc: > Date: Wed, 1 May 2019 09:53:40 -0400 > Subject: \transposedQuoteDuring > Hi there, > > Is there a way to transpose a quotation, say, an octave higher ?

Re: \tweak Accidental stencil within chord

2019-05-01 Thread David Kastrup
dtsmarin writes: > I thought my code didn't work but it looks like it does. Sorry for the > unnecessary replies. > Use case: > Chromatic enharmonic tied notes where normally Lilypond wouldn't work > correctly. (Ties don't show up if you don't use this hack). They don't? \version "2.19.16" {

Re: \tweak Accidental stencil within chord

2019-05-01 Thread dtsmarin
I thought my code didn't work but it looks like it does. Sorry for the unnecessary replies. Use case: Chromatic enharmonic tied notes where normally Lilypond wouldn't work correctly. (Ties don't show up if you don't use this hack). The problem is that my half-solution ruins the spacing. #(define

Re: \tweak Accidental stencil within chord

2019-05-01 Thread Aaron Hill
On 2019-05-01 11:17 am, dtsmarin wrote: This was an example to show what I'm after. I need to *change* the stencil (e.g. flat to be sharp ) not the colour etc. I know how to change stencil for a single accidental with \override but \tweak Accidental.stencil doesn't work. Hmm... \tweaking a

Re: \tweak Accidental stencil within chord

2019-05-01 Thread David Kastrup
David Kastrup writes: > dtsmarin writes: > >> Oops! Wrong minimal example! >> >> >> #(define enh-acc >> (lambda (grob) >> (let* ((stencil (ly:accidental-interface::print grob)) >>(new-stil >> (grob-interpret-markup grob >>(markup >>

Re: \tweak Accidental stencil within chord

2019-05-01 Thread David Kastrup
dtsmarin writes: > Oops! Wrong minimal example! > > > #(define enh-acc > (lambda (grob) > (let* ((stencil (ly:accidental-interface::print grob)) >(new-stil > (grob-interpret-markup grob >(markup > #:hspace 1 >

Re: ly:version? unbound variable

2019-05-01 Thread Stefano Troncaro
Thank you for the answers! I'm happy this helped pinpoint a problem, and as a bonus I ended up learning about @@. El mié., 1 may. 2019 a las 14:50, Thomas Morley () escribió: > Am Mi., 1. Mai 2019 um 19:40 Uhr schrieb David Kastrup : > > > > Stefano Troncaro writes: > > > > > Hi everyone!

Re: \tweak Accidental stencil within chord

2019-05-01 Thread dtsmarin
Oops! Wrong minimal example! #(define enh-acc (lambda (grob) (let* ((stencil (ly:accidental-interface::print grob)) (new-stil (grob-interpret-markup grob (markup #:hspace 1 #:musicglyph "accidentals.flat"

Re: \tweak Accidental stencil within chord

2019-05-01 Thread David Kastrup
dtsmarin writes: > This was an example to show what I'm after. > I need to *change* the stencil (e.g. flat to be sharp ) not the colour etc. > I know how to change stencil for a single accidental with \override but > \tweak Accidental.stencil doesn't work. Minimal example exhibiting the

Re: \tweak Accidental stencil within chord

2019-05-01 Thread dtsmarin
This was an example to show what I'm after. I need to *change* the stencil (e.g. flat to be sharp ) not the colour etc. I know how to change stencil for a single accidental with \override but \tweak Accidental.stencil doesn't work. The closest I've got is this: #(define rhomb-acc (lambda

Re: \tweak Accidental stencil within chord

2019-05-01 Thread David Kastrup
dtsmarin writes: > Is it possible to tweak the stencil for an accidental within a chord? > > Something similar in functionality with: > \tweak Stem.color #red > \tweak Beam.color #green c8 e > 4 Uh, what is wrong with exactly that? -- David Kastrup

Re: ly:version? unbound variable

2019-05-01 Thread Thomas Morley
Am Mi., 1. Mai 2019 um 19:40 Uhr schrieb David Kastrup : > > Stefano Troncaro writes: > > > Hi everyone! According to this page in the manual > > > > the function ly:version? should be implemented, but

\tweak Accidental stencil within chord

2019-05-01 Thread dtsmarin
Is it possible to tweak the stencil for an accidental within a chord? Something similar in functionality with: \tweak Stem.color #red \tweak Beam.color #green c8 e 4 -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___

Re: ly:version? unbound variable

2019-05-01 Thread David Kastrup
Stefano Troncaro writes: > Hi everyone! According to this page in the manual > > the function ly:version? should be implemented, but the example given fails > with the error 'unbound variable:

ly:version? unbound variable

2019-05-01 Thread Stefano Troncaro
Hi everyone! According to this page in the manual the function ly:version? should be implemented, but the example given fails with the error 'unbound variable: ly:version?' which suggests it's not. I'm

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread Jacques Menu
>> The pitch to use for \transposition should correspond to the real >> sound heard when a c' written on the staff is played by the >> transposing instrument. This pitch is entered in absolute mode, so an >> instrument that produces a real sound which is one tone higher than >> the printed music

Re: \transposedQuoteDuring

2019-05-01 Thread Kieren MacMillan
Hi Pierre-Luc, > Is there a way to transpose a quotation, say, an octave higher ? The only way I know is to transpose the quote: \addQuote "someNotes" \someNotes \addQuote "someNotes_8vb" \transpose c c, \someNotes That being said, I would love an option to write \addQuote c c,

Re: \transposedQuoteDuring

2019-05-01 Thread Saul Tobin
I usually use \ottava and \omit the OttavaBracket. On Wed, May 1, 2019, 6:54 AM Pierre-Luc Gauthier wrote: > Hi there, > > Is there a way to transpose a quotation, say, an octave higher ? > > m.e.g.: > > \version "2.19.83" > > quoted = {c'4 d' e' f' g'} > \addQuote "quoted" \quoted > > quoting

Re: \transposedQuoteDuring

2019-05-01 Thread David Kastrup
Pierre-Luc Gauthier writes: > Hi there, > > Is there a way to transpose a quotation, say, an octave higher ? > > m.e.g.: > > \version "2.19.83" > > quoted = {c'4 d' e' f' g'} > \addQuote "quoted" \quoted > > quoting = \quoteDuring "quoted" {s1} > > \new Staff \with {instrumentName = "Quoted"}

Re: \transposedQuoteDuring

2019-05-01 Thread Malte Meyn
Am 01.05.19 um 15:53 schrieb Pierre-Luc Gauthier: Hi there, Is there a way to transpose a quotation, say, an octave higher ? I used the following code some years ago. IIRC you can call \color-music-if-point-and-click f. e. in a \layout { \context { \Voice … } } block to get grey quotes.

\transposedQuoteDuring

2019-05-01 Thread Pierre-Luc Gauthier
Hi there, Is there a way to transpose a quotation, say, an octave higher ? m.e.g.: \version "2.19.83" quoted = {c'4 d' e' f' g'} \addQuote "quoted" \quoted quoting = \quoteDuring "quoted" {s1} \new Staff \with {instrumentName = "Quoted"} \quoted \new Staff \with {instrumentName = "Quoting"}

Re: get space left in markup function

2019-05-01 Thread David Kastrup
Robert Kubosz writes: > Hello! > > I have a markup function and inside this function I need to know how much > free space is left on page. (The space left parameter displayed with > annotate-spacing = ##t). Can anyone tell me how to get this parameter in > markup function? At the time markups

get space left in markup function

2019-05-01 Thread Robert Kubosz
Hello! I have a markup function and inside this function I need to know how much free space is left on page. (The space left parameter displayed with annotate-spacing = ##t). Can anyone tell me how to get this parameter in markup function? -- Sent from:

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread Lukas-Fabian Moser
The LPNR: The pitch to use for |\transposition| should correspond to the real sound heard when a |c'| written on the staff is played by the transposing instrument. This pitch is entered in absolute mode, so an instrument that produces a real sound which is one tone higher than the printed

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread David Kastrup
Jacques Menu writes: >> Le 1 mai 2019 à 10:01, David Kastrup a écrit : >> >> Jacques Menu writes: >> >>> Unfortunately, \transposition can only be used when the notes are written >>> in « >>> instrument » pitch, not concert pitch. >> >> Says who? > > The LPNR: > > The pitch to use for

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread Jacques Menu
> Le 1 mai 2019 à 10:01, David Kastrup a écrit : > > Jacques Menu writes: > >> Unfortunately, \transposition can only be used when the notes are written in >> « >> instrument » pitch, not concert pitch. > > Says who? The LPNR: The pitch to use for \transposition should correspond to the

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread Lukas-Fabian Moser
Hi, Am 01.05.19 um 09:55 schrieb Jacques Menu: Unfortunately, \transposition can only be used when the notes are written in « instrument » pitch, not concert pitch. BTW, it could be better named as something like \transposingInstrument, it seems. I started by writing the code to obtain the

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread David Kastrup
Jacques Menu writes: > Unfortunately, \transposition can only be used when the notes are written in « > instrument » pitch, not concert pitch. Says who? > BTW, it could be better named as something like > \transposingInstrument, it seems. Why? > I started by writing the code to obtain the

Re: MIDI instrument for oboe d'amore

2019-05-01 Thread Jacques Menu
Unfortunately, \transposition can only be used when the notes are written in « instrument » pitch, not concert pitch. BTW, it could be better named as something like \transposingInstrument, it seems. I started by writing the code to obtain the same score as the manuscript I’m using, where the