midi volume single note
I have a long note that I would like it starts playing \ and it ends \ (in the midi). I tried this but without success: \version "2.19.80" right = \relative c'' { c1 ~ c1 } dynamics = { s4\f\> s4 s4 s4 s4 s4 s4 s4\! \p } \score { \new Staff \with { midiInstrument = "accordion"} \new Voice <<\right \dynamics>> \midi {} \layout {} } Did I make any error or does exist any escamotage to do it? Thank you, g. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Strange behaviour
What I want is to effectively have two voices in the second bar -- The first time through fits the d4 r4 r4 e8 e tune and the second uses d4 ( a8) a4 d4 e8 e I'm copying a sheet that used diminished size notes for the alternate, so I figured, "OK, use grace notes" But for some reason that I don't understand, the a4 generates both a small note _and_ a full size one -- the "curlys" around the a4 d4 were my attempt to force my will -- but Lilypond politely ignored them. melody = \relative c' { \clef treble \key d \major \time 2/2 \repeat volta 2 { d2 \slurDashed d4 ( d) | d4 ( \grace a8 ) \grace{ a4 d4} r4 r4 e8 e } \bar "|." } I had tried voices previously, but found the explanations in the documentation insufficient -- the attempt simply barfed or refused generate what I expected. I'm using dashed slurs since it makes more sense if I need to ignore them in a subsequent verse. Cheers, -Don It would be good to understand how to insert an occasional bar with an alternate voice -- much vocal music uses a consistent chord progression and accompaniment -- but varies the melody to fit the lyric. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Different behavior of \partcombine + \change Staff in 2.19
In order to cleanly manage wind parts sharing staves in an orchestral score, I have been using a pattern like the following throughout my projects: \paper { indent = 2.5\cm short-indent = 1.5\cm } global = { s1*4 \break s1*4 \break s1*4 } bsnI = \relative { \tag #'score { \partcombineApart \oneVoice \dynamicDown } R1 | \resetRelativeOctave c c4 d e f | g4 f e d | R1 | \tag #'score \partcombineUnisono \resetRelativeOctave c c4 d e f | g4 f e d | } bsnII = \relative { \tag #'score { \change Staff = "Bsn2" \oneVoice } \resetRelativeOctave c c4 d e f | g4 f e d | R1*2 | c4 d e f | g4 f e d | } \score { \new StaffGroup \with { instrumentName = "Bassoon " shortInstrumentName = "Bsn. " } << \new Staff = "Bsn1" \with { instrumentName = \markup\column { "1" "2" } shortInstrumentName = \markup\column { "1" "2" } \clef bass } << \global \partcombine \bsnI \bsnII >> \new Staff = "Bsn2" \with { instrumentName = "2" shortInstrumentName = "2" \clef bass \override VerticalAxisGroup.remove-empty = ##t \override VerticalAxisGroup.remove-first = ##t } \global >> \layout { \context { \StaffGroup \override InstrumentName.self-alignment-X = #0 } \context { \Staff \override InstrumentName.self-alignment-X = #1 } } } If you compile this in 2.18, it works beautifully because after the beginning, no further Staff changes are required — the partcombiner automatically pulls the second part into the primary staff whenever it is set to unisono, soloII, or chords mode. In 2.19, however, you'll see that the unison passage displays on both staves, while still putting "a2" above the primary staff. This changed behavior breaks a tremendous amount of my code in a way that isn't easy to cleanly fix. Is this change intended? Is there a way I can salvage the old behavior? By the way, if you compile my example code above, you might notice "warning: cannot find context to switch to," yet the actual output finds a context to switch to just fine. Is there a way to get rid of this? I get hundreds of these whenever I compile my projects, and it makes it hard to find genuine errors. Thanks. -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unwanted spacing in text
BIngo! Worked great! Many thanks! On 11/12/17 6:44 AM, David Kastrup wrote: William Zeitlerwrites: For a title I want the Latin word "Aenigma", using a unicode character for the initial "AE" ligature. It works fine except for an unsightly space between the "AE" character and the subsequent plain text. How do I fix this? Thanks! william zeitler --- \version "2.18.2" \header { title = \markup { \char ##x00c6 "nigma" } } Rather title = \markup \concat { \char ##x00c6 nigma } or simply title = "Ænigma" ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Harmonics and quoted music
David Kastrupwrites: > Shevek writes: > >> I just noticed that the following code works fine on 2.19, but crashes on >> 2.18 without an error message: >> >> \addQuote "test" { 2 } >> >> \new Staff { >> \quoteDuring #"test" { >> s2 >> } >> } >> >> I don't see anything about this in the 2.20 changes documentation. > > Fixes of bugs such as crashes are not part of the Changes documentation. > >> What's going on here? > > A crash. Not overly interested in tracking this one down, I'll readily > admit, since it isn't there any more. Actually, it sounds like it might have gotten fixed with commit 3d54e4a6f45ccfb3847290cd0bdbefe4d21d7924 Author: David Kastrup Date: Sat Feb 27 11:41:08 2016 +0100 Issue 4718/1: In-chord tie in cue causes segfault This extends transposition functionality from Music expressions to Prob in general since Stream_event also needs transposition in the context of quoted music. While at top level, Stream_event is processed using the container-agnostic transpose_mutable, this does not extend to the actual contents, and at least a Stream_event's articulation list does not consist of Music expressions but again of Stream_event elements. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Harmonics and quoted music
Shevekwrites: > I just noticed that the following code works fine on 2.19, but crashes on > 2.18 without an error message: > > \addQuote "test" { 2 } > > \new Staff { > \quoteDuring #"test" { > s2 > } > } > > I don't see anything about this in the 2.20 changes documentation. Fixes of bugs such as crashes are not part of the Changes documentation. > What's going on here? A crash. Not overly interested in tracking this one down, I'll readily admit, since it isn't there any more. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Harmonics and quoted music
I just noticed that the following code works fine on 2.19, but crashes on 2.18 without an error message: \addQuote "test" {2 } \new Staff { \quoteDuring #"test" { s2 } } I don't see anything about this in the 2.20 changes documentation. What's going on here? -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Scheme Help
2017-11-11 17:11 GMT+01:00 Benjamin Bloomfield: > I am trying to write a scheme to achieve the functionality I was asking > about in my earlier message. I think that I could do it with a simple > callback function on the NoteHead.transparent property and make the notehead > transparent if it is a breve that is preceded by another breve and not the > first note in its system. > > It's easy enough to determine whether the NoteHead is a breve in scheme, but > how do I determine whether it's the first of its system, and how do I > reference the NoteHead that comes immediately before it (if any) to > determine whether that is also a breve? > > Thanks! > > Benjamin Bloomfield Wouldn't you want any note at line-begin to be visible? So why check what's the preceding? For the other stuff you may find some procedures helpful, which David Nalesnik had coded: %% Thanks to David Nalesnik #(define (at-line-end? grob) (let* ((col (ly:item-get-column grob)) (ln (ly:grob-object col 'right-neighbor)) (col-to-check (if (ly:grob? ln) ln col))) (and (eq? #t (ly:grob-property col-to-check 'non-musical)) (= -1 (ly:item-break-dir col-to-check) #(define (at-line-beginning? grob) (let* ((col (ly:item-get-column grob)) (ln (ly:grob-object col 'left-neighbor)) (col-to-check (if (ly:grob? ln) ln col))) (and (eq? #t (ly:grob-property col-to-check 'non-musical)) (= 1 (ly:item-break-dir col-to-check) { \override NoteHead.after-line-breaking = #(lambda (grob) (ly:grob-set-property! grob 'color (cond ((at-line-end? grob) cyan) ((at-line-beginning? grob) red) (else '() \repeat unfold 150 c'1 } HTH, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unwanted spacing in text
> On Nov 12, 2017, at 12:12 PM, Cynthia Karlwrote: > > >> On Nov 12, 2017, at 10:35 AM, lilypond-user-requ...@gnu.org wrote: >> >> \version "2.18.2" >> >> \header { >> ? title = \markup { \char ##x00c6 "nigma" } >> } >> >> \score { >> ? \new Staff = \relative c' { c1 } >> } >> > If you’re using Frescobaldi, the easiest way is to go to "Tools/Special > Characters" and double-click on the AE ligature to insert it directly into > your string: > > title = \markup { "Ænigma” } > > There are no spacing problems with this. After you go to “Tools/Special Characters”, you must select “Latin-1 Supplement”. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unwanted spacing in text
> On Nov 12, 2017, at 10:35 AM, lilypond-user-requ...@gnu.org wrote: > > \version "2.18.2" > > \header { > ? title = \markup { \char ##x00c6 "nigma" } > } > > \score { > ? \new Staff = \relative c' { c1 } > } > If you’re using Frescobaldi, the easiest way is to go to "Tools/Special Characters" and double-click on the AE ligature to insert it directly into your string: title = \markup { "Ænigma” } There are no spacing problems with this. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Increasing spacing between staves
When I run into this problem, I just print an invisible note somewhere that forces more space between the staves. I believe I read about that solution somewhere on this forum years ago. -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unwanted spacing in text
shanewrites: > Unwanted spacing in text William Zeitler writes: >> >>> For a title I want the Latin word "Aenigma", using a unicode character >>> for the initial "AE" ligature. It works fine except for an unsightly >>> space between the "AE" character and the subsequent plain text. How do >>> I fix this? >>> >>> Thanks! >>> >>> william zeitler >>> >>> --- >>> >>> \version "2.18.2" >>> >>> \header { >>> title = \markup { \char ##x00c6 "nigma" } >>> } >> >> Rather title = \markup \concat { \char ##x00c6 nigma } >> >> or simply title = "Ænigma" > > > It could in some circumstances be poor spacing in the font itself. Is > there a tracking work around for such circumstances? The problem with imaginary problems is that there is no way to check whether an imaginary fix applies. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unwanted spacing in text
It could in some circumstances be poor spacing in the font itself. Is there a tracking work around for such circumstances? -Shane Brandes Sent from my T-Mobile 4G LTE Device Original message From: David KastrupDate: 11/12/17 9:44 AM (GMT-05:00) To: William Zeitler Cc: lilypond-user@gnu.org Subject: Re: Unwanted spacing in text William Zeitler writes: > For a title I want the Latin word "Aenigma", using a unicode character > for the initial "AE" ligature. It works fine except for an unsightly > space between the "AE" character and the subsequent plain text. How do > I fix this? > > Thanks! > > william zeitler > > --- > > \version "2.18.2" > > \header { > title = \markup { \char ##x00c6 "nigma" } > } Rather title = \markup \concat { \char ##x00c6 nigma } or simply title = "Ænigma" -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Unwanted spacing in text
William Zeitlerwrites: > For a title I want the Latin word "Aenigma", using a unicode character > for the initial "AE" ligature. It works fine except for an unsightly > space between the "AE" character and the subsequent plain text. How do > I fix this? > > Thanks! > > william zeitler > > --- > > \version "2.18.2" > > \header { > title = \markup { \char ##x00c6 "nigma" } > } Rather title = \markup \concat { \char ##x00c6 nigma } or simply title = "Ænigma" -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Unwanted spacing in text
For a title I want the Latin word "Aenigma", using a unicode character for the initial "AE" ligature. It works fine except for an unsightly space between the "AE" character and the subsequent plain text. How do I fix this? Thanks! william zeitler --- \version "2.18.2" \header { title = \markup { \char ##x00c6 "nigma" } } \score { \new Staff = \relative c' { c1 } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user