Re: Tie multiple voice music contained in variable
Hi Gianmaria, Interesting, for me running 2.19.80 the first example does not compile, either. Was there a recent change regarding post-event handling? The problem is that the tie is not a separate expression that you could concatenate with other musical expressions like bla = { e'1 } foo = { ~ } bar = { e'2 } { \bla \foo \bar } (AFAIK with 2.19.x, not sure for more recent versions) Instead it is a post-event which is internally added to the 'articulations property of the NoteEvent to which the tie belongs. Compare: \version "2.19.80" foo = { e'1 ~ } bar = { e'1 } \displayMusic \foo \displayMusic \bar What are you trying to achieve? Your second example does not make much sense to me, because if you want to tie two equally long notes you would normally use chords for it I think: foo = { 1 ~ q1 } { \foo } Of course you could do: foo = { 1~ } bar = { 1 } { \foo \bar } Have a nice day, Michael Am 13.11.2019 um 08:38 schrieb Gianmaria Lari: The following code containing a tie between variables, compiles and works perfectly: \version "2.21.0" pa = {e'1} *{ \pa~\pa } * %here is the tie! Is there any way to do the same in case the variable contains two voices like in the following code? \version "2.21.0" pa = {<< {e'1}\\{c'1}>>} { \pa~ \pa } %this does not compile Thank you, g.
Re: Unwanted warning messages: omitting tuplet bracket
Tuesday, November 12, 2019, 8:37:13 PM, Thomas Morley wrote: > Am Di., 12. Nov. 2019 um 20:09 Uhr schrieb > Peter Toye : >> The following MWEs both give errors saying that a tuplet bracket has neither >> a beginning nor an end. IN the first one this is presumably because of the >> percent repeat sign, and in the second because of the silent notes. >> But the brackets are explicitly omitted so IMO the warning message should >> not be there. What do the experts think? ... >> Regards, >> Peter >> mailto:lilyp...@ptoye.com >> www.ptoye.com > At the stage where you omit the stencil, all needed calculations (to > print one) are already done. > The warning is thrown during this calculation, thus any attempt to > tackle the stencil will come too late to avoid the warning. Oh well, I'll just have to ignore the warning messages. It seemed a bit eccentric. > Though, if you want neither TupletBracket nor TupletNumber, why don't > you use scaled durations? I found it was easier to use a tuplet. Purely personal preference. But it's a good idea and I'll look at it. Thanks. > Cheers, > Harm Thanks, Peter
Re: Tie multiple voice music contained in variable
On Wed, 13 Nov 2019 at 10:01, Michael Käppler wrote: > Hi Gianmaria, > Interesting, for me running 2.19.80 the first example does not compile, > either. > Yes, I vaguely remember that version 2.21 manage differently ties/variable. And probably that was the reason why I decided to use it :) > Was there a recent change regarding post-event handling? > No idea about post-event handling. The problem is that the tie is not a separate expression that you could > concatenate with other > musical expressions like > [.] Thank you Michael for the explanations! > What are you trying to achieve? Your second example does not make much > sense to me, > because if you want to tie two equally long notes you would normally use > chords [] > You're right Michael; to tie two equally long notes I would use a chord. But my code was just a very simple example. Here it is the real situation. My phrase is in a variable. The end of the phrase is the following: [image: image.png] and that should be connected once with this [image: image.png] and once with this [image: image.png] Probably it doesn't exist a simple solution and the best would to keep the last measure outside the variable. Thank you Michael!! P.S. My apologies if I included the images in the email and not attached it it's for clarity. Please let me know if you lilypond email users always prefer to attach images at the end of the messages.
Re: Tie multiple voice music contained in variable
Michael you gave me the solution! Or at least you gave me the solution for my simple example. The following works! \version "2.21.0" pa = {<< {e'1*~*}\\{c'1*~*}>>} { \pa \pa } Now I have to try in my real file code but I don't see any reason why it should not work Thank you! g. On Wed, 13 Nov 2019 at 11:16, Gianmaria Lari wrote: > > On Wed, 13 Nov 2019 at 10:01, Michael Käppler wrote: > >> Hi Gianmaria, >> Interesting, for me running 2.19.80 the first example does not compile, >> either. >> > > Yes, I vaguely remember that version 2.21 manage differently > ties/variable. And probably that was the reason why I decided to use it :) > > >> Was there a recent change regarding post-event handling? >> > > No idea about post-event handling. > > > The problem is that the tie is not a separate expression that you could >> concatenate with other >> musical expressions like >> > [.] > Thank you Michael for the explanations! > > >> What are you trying to achieve? Your second example does not make much >> sense to me, >> because if you want to tie two equally long notes you would normally use >> chords [] >> > > You're right Michael; to tie two equally long notes I would use a chord. > But my code was just a very simple example. > > Here it is the real situation. My phrase is in a variable. The end of the > phrase is the following: > > [image: image.png] > and that should be connected once with this > > [image: image.png] > > and once with this > [image: image.png] > > Probably it doesn't exist a simple solution and the best would to keep the > last measure outside the variable. > Thank you Michael!! > > P.S. My apologies if I included the images in the email and not attached > it it's for clarity. Please let me know if you lilypond email users always > prefer to attach images at the end of the messages. >
Re: Tie multiple voice music contained in variable
On 2019-11-13 2:16 am, Gianmaria Lari wrote: Probably it doesn't exist a simple solution and the best would to keep the last measure outside the variable. Embedding the tie within the variable seems to work: \version "2.19.83" multipleVoiceWithUnterimnatedTie = \fixed c' { << { g4 a~ } \\ { e2 } >> } multipleVoiceFollowingPhraseI = \fixed c' { << { a2 } \\ { d4 f } >> } multipleVoiceFollowingPhraseII = \fixed c' { << { a4 b } \\ { f2 } >> } { \multipleVoiceWithUnterimnatedTie \multipleVoiceFollowingPhraseI \multipleVoiceWithUnterimnatedTie \multipleVoiceFollowingPhraseII } -- Aaron Hill
Re: Tie multiple voice music contained in variable
Am Mi., 13. Nov. 2019 um 11:17 Uhr schrieb Gianmaria Lari < gianmarial...@gmail.com>: P.S. My apologies if I included the images in the email and not attached it it's for clarity. Please let me know if you lilypond email users always prefer to attach images at the end of the messages. Please always attach and use plain text ;) Cheers, Harm >
Re: Tie multiple voice music contained in variable
On 2019-11-13 2:37 am, Aaron Hill wrote: On 2019-11-13 2:16 am, Gianmaria Lari wrote: Probably it doesn't exist a simple solution and the best would to keep the last measure outside the variable. Embedding the tie within the variable seems to work: \version "2.19.83" multipleVoiceWithUnterminatedTie = \fixed c' { << { g4 a~ } \\ { e2 } >> } multipleVoiceFollowingPhraseI = \fixed c' { << { a2 } \\ { d4 f } >> } multipleVoiceFollowingPhraseII = \fixed c' { << { a4 b } \\ { f2 } >> } { \multipleVoiceWithUnterminatedTie \multipleVoiceFollowingPhraseI \multipleVoiceWithUnterminatedTie \multipleVoiceFollowingPhraseII } (Fixed typo in quoted code above, which may help with future searches.) And you can use tags if you need the tie to be conditional: \version "2.19.83" multipleVoiceConditionalTie = \fixed c' { << { g4 \tag #'tie a~ \tag #'noTie a } \\ { e2 } >> } multipleVoiceFollowingPhraseI = \fixed c' { << { a2 } \\ { d4 f } >> } multipleVoiceFollowingPhraseII = \fixed c' { << { a4 b } \\ { f2 } >> } multipleVoiceFollowingPhraseIII = \fixed c' { << { b2 } \\ { g2 } >> } { \keepWithTag #'tie \multipleVoiceConditionalTie \multipleVoiceFollowingPhraseI \keepWithTag #'tie \multipleVoiceConditionalTie \multipleVoiceFollowingPhraseII \keepWithTag #'noTie \multipleVoiceConditionalTie \multipleVoiceFollowingPhraseIII } -- Aaron Hill
Re: Unwanted warning messages: omitting tuplet bracket
Hi Peter, If you leave out the 8 in the \tuplet 3/2 specification there is no issue. Would that be acceptable to you? Andrew % \language "english" { \omit TupletBracket \omit TupletNumber \clef "treble" \tuplet 3/2 { \repeat percent 4 {c'16 16 16 } } } { \omit TupletBracket \omit TupletNumber \clef "treble" \tuplet 3/2 { c'16 s16*11 } } %
Re: Tie multiple voice music contained in variable
Ciao Harm, P.S. My apologies if I included the images in the email and not attached it > it's for clarity. Please let me know if you lilypond email users always > prefer to attach images at the end of the messages. > > Please always attach and use plain text ;) > Well, I saw my beard well grown and clearly gray so I hoped it was time to try again to include images. I'm joking Harm Ciao, Gianmaria
Re: Tie multiple voice music contained in variable
Ciao Aaron, [] > And you can use tags if you need the tie to be conditional: > > > \version "2.19.83" > > multipleVoiceConditionalTie = \fixed c' { ><< { g4 \tag #'tie a~ \tag #'noTie a } \\ { e2 } >> > } > Yes, I didn't forget tags; but to me they are syntactically difficult to use. I always make million of mistakes before my code compiles correctly so I keep them as a last resort. Thanks a lot! Ciao, Gianmaria
Re: Tie multiple voice music contained in variable
On 2019-11-13 3:37 am, Gianmaria Lari wrote: Ciao Aaron, [] And you can use tags if you need the tie to be conditional: \version "2.19.83" multipleVoiceConditionalTie = \fixed c' { << { g4 \tag #'tie a~ \tag #'noTie a } \\ { e2 } >> } Yes, I didn't forget tags; but to me they are syntactically difficult to use. I always make million of mistakes before my code compiles correctly so I keep them as a last resort. Well, it turns out I forgot that \tag can be used as a post-event, which means my earlier snippet can be simplified: \version "2.19.83" multipleVoiceConditionalTie = \fixed c' { << { g4 a-\tag #'tie ~ } \\ { e2 } >> } multipleVoiceFollowingPhraseI = \fixed c' { << { a2 } \\ { d4 f } >> } multipleVoiceFollowingPhraseII = \fixed c' { << { a4 b } \\ { f2 } >> } multipleVoiceFollowingPhraseIII = \fixed c' { << { b2 } \\ { g2 } >> } { \multipleVoiceConditionalTie \multipleVoiceFollowingPhraseI \multipleVoiceConditionalTie \multipleVoiceFollowingPhraseII \removeWithTag #'tie \multipleVoiceConditionalTie \multipleVoiceFollowingPhraseIII } The advantage here is that you do not have to duplicate the final note/chord when defining the variable since only the tie itself is tagged. Also, it is not needed to use \keepWithTag since the tie would come along for the ride anyway. So then you only need to use \removeWithTag in the case when you want to omit the tie. -- Aaron Hill
Re: midiPanPosition in midi context block
On 11/11/2019 13:16, David Kastrup wrote: You seem to be hung a bit on my strong verbiage. It wasn't supposed to be a personal criticism but rather expressed my dismay that the combination of what LilyPond flags as problematic and what our manuals and examples suggest led to a result that I had not expected to see. I wasn't blaming you for it. Understood. Apologies if I came across as being a bit defensive. My goal in asking the question was to increase my understanding of lilypond, which I have done. Lilypond is phenomenal software. I am indebted to all who have contributed to it.
Display the control points of a slur
Hello, please consider this snippet: \relative c'' { \shape #'((0 . -1) (5.5 . -0.5) (-5.5 . -10.5) (0 . -5.5)) PhrasingSlur c8\( e b f d' a e g\)} Is there a helper function or some script for displaying the control points of the slur (for example with a red color)? Is it possible to display the coordinates near the points too? I found that: openlilylib/oll-misc | | | | | | | | | | | openlilylib/oll-misc Miscellaneous tools and functions for LilyPond. Contribute to openlilylib/oll-misc development by creating an ac... | | | But I can't figure how to use it in the previous snippet... Thanks
Re: Display the control points of a slur
Frescobaldi provides this with the Tools=>Layout Control mode. However chances are that it's broken in a versio accessible to you. Urs Am 13. November 2019 15:22:05 MEZ schrieb Paolo Prete : >Hello, >please consider this snippet: > >\relative c'' { \shape #'((0 . -1) (5.5 . -0.5) (-5.5 . -10.5) (0 . >-5.5)) PhrasingSlur c8\( e b f d' a e g\)} > >Is there a helper function or some script for displaying the control >points of the slur (for example with a red color)? Is it possible to >display the coordinates near the points too? >I found that: >openlilylib/oll-misc > >| >| >| >| | | > > | > > | >| >| | >openlilylib/oll-misc > >Miscellaneous tools and functions for LilyPond. Contribute to >openlilylib/oll-misc development by creating an ac... > | > > | > > | > > > > > >But I can't figure how to use it in the previous snippet... > >Thanks -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Re: Display the control points of a slur
Hello, I wonder if is there a script or a snippet for doing that without using Frescobaldi Il mercoledì 13 novembre 2019, 15:29:45 CET, Urs Liska ha scritto: Frescobaldi provides this with the Tools=>Layout Control mode. However chances are that it's broken in a versio accessible to you. Urs Am 13. November 2019 15:22:05 MEZ schrieb Paolo Prete : Hello, please consider this snippet: \relative c'' { \shape #'((0 . -1) (5.5 . -0.5) (-5.5 . -10.5) (0 . -5.5)) PhrasingSlur c8\( e b f d' a e g\)} Is there a helper function or some script for displaying the control points of the slur (for example with a red color)? Is it possible to display the coordinates near the points too? I found that: openlilylib/oll-misc | | | | | | | | | | | openlilylib/oll-misc Miscellaneous tools and functions for LilyPond. Contribute to openlilylib/oll-misc development by creating an ac... | | | But I can't figure how to use it in the previous snippet... Thanks -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
Mac OS 10.15 Catalina
What is the status of running Lilypond under Mac os 10.15 Catalina? Thanks. (Apologies if the answer is clearly posted on the website or Lilypond blog. I searched 20+ minutes without success. I cannot upgrade to Catalina until I know whether Lilypond will run. I found posting for folks running Lilypond in a virtual machine or Decker, but that's not my bag.)
Re: Display the control points of a slur
On 2019-11-13 6:32 am, Paolo Prete wrote: Hello, I wonder if is there a script or a snippet for doing that without using Frescobaldi Probably not perfect, but here's something you can fiddle with: \version "2.19.83" showControlPoints = #(grob-transformer 'stencil (lambda (grob orig) (define (draw-control-point pt) #{ \markup \translate $pt \with-color #red \draw-circle #0.15 #0 ##t #}) (define (draw-control-segment pt1 pt2) (let ((delta (cons (- (car pt2) (car pt1)) (- (cdr pt2) (cdr pt1) #{ \markup \translate $pt1 \with-color #'(1 .5 0) \draw-line $delta #})) (let* ((pts (ly:grob-property grob 'control-points)) (dots (map (lambda (pt) (grob-interpret-markup grob (draw-control-point pt))) pts)) (lines (map (lambda (pt1 pt2) (grob-interpret-markup grob (draw-control-segment pt1 pt2))) pts (cdr pts (ly:stencil-add (apply ly:stencil-add lines) (apply ly:stencil-add dots) orig \layout { \context { \Voice \override PhrasingSlur.stencil = #showControlPoints \override Slur.stencil = #showControlPoints \override Tie.stencil = #showControlPoints } } \fixed c' { g4\( a b2~ | b2( e'8 d') c'4\) } -- Aaron Hill
Re: Mac OS 10.15 Catalina
On 13/11/2019 10:14, Jeremiah Reilly wrote: What is the status of running Lilypond under Mac os 10.15 Catalina? Thanks. (Apologies if the answer is clearly posted on the website or Lilypond blog. I searched 20+ minutes without success. I cannot upgrade to Catalina until I know whether Lilypond will run. I found posting for folks running Lilypond in a virtual machine or Decker, but that's not my bag.) See the thread at https://lists.gnu.org/archive/html/lilypond-user/2019-10/msg00218.html Jon
Re: Display the control points of a slur
On 2019-11-13 7:00 am, Aaron Hill wrote: On 2019-11-13 6:32 am, Paolo Prete wrote: Hello, I wonder if is there a script or a snippet for doing that without using Frescobaldi Probably not perfect, but here's something you can fiddle with: Updated to ensure the stencil's extents are the same as the original also using a slightly cleaner approach: \version "2.19.83" showControlPoints = #(grob-transformer 'stencil (lambda (grob orig) (define (draw-control-point pt) #{ \markup \translate $pt \with-color #red \draw-circle #0.2 #0 ##t #}) (define (draw-control-segment pt1 pt2) (let ((delta (cons (- (car pt2) (car pt1)) (- (cdr pt2) (cdr pt1) #{ \markup \translate $pt1 \with-color #'(1 .5 0) \draw-line $delta #})) (let* ((pts (ly:grob-property grob 'control-points)) (dots (map draw-control-point pts)) (lines (map draw-control-segment pts (cdr pts (grob-interpret-markup grob #{ \markup \with-dimensions-from \stencil $orig \overlay { \overlay { $@lines } \overlay { $@dots } \stencil $orig } #} \layout { \context { \Voice \override PhrasingSlur.stencil = #showControlPoints \override Slur.stencil = #showControlPoints \override Tie.stencil = #showControlPoints } } \fixed c' { e4\( b2._~ | b2( e'8 c') a4\) } -- Aaron Hill
Re: Display the control points of a slur
Hi Aaron, thank you for this nice snippet! Jan-Peter Am 13.11.19 um 16:00 schrieb Aaron Hill: > On 2019-11-13 6:32 am, Paolo Prete wrote: >> Hello, >> I wonder if is there a script or a snippet for doing that without >> using Frescobaldi > > Probably not perfect, but here's something you can fiddle with: > > > \version "2.19.83" > > showControlPoints = #(grob-transformer 'stencil (lambda (grob orig) > (define (draw-control-point pt) > #{ \markup \translate $pt \with-color #red \draw-circle #0.15 #0 ##t > #}) > (define (draw-control-segment pt1 pt2) > (let ((delta (cons (- (car pt2) (car pt1)) (- (cdr pt2) (cdr pt1) > #{ \markup \translate $pt1 \with-color #'(1 .5 0) \draw-line > $delta #})) > (let* ((pts (ly:grob-property grob 'control-points)) > (dots (map (lambda (pt) > (grob-interpret-markup grob (draw-control-point pt))) > pts)) > (lines (map (lambda (pt1 pt2) > (grob-interpret-markup grob (draw-control-segment pt1 pt2))) > pts (cdr pts > (ly:stencil-add > (apply ly:stencil-add lines) > (apply ly:stencil-add dots) > orig > > \layout { \context { \Voice > \override PhrasingSlur.stencil = #showControlPoints > \override Slur.stencil = #showControlPoints > \override Tie.stencil = #showControlPoints > } } > > \fixed c' { g4\( a b2~ | b2( e'8 d') c'4\) } > > > > -- Aaron Hill
Re: In other news ...
- Original Message - From: "Urs Liska" To: "lilypond-user" Sent: Tuesday, November 12, 2019 4:26 PM Subject: In other news ... Is there any way we can make this (the project, not the post) more prominently advertise for LilyPond than putting it on http://lilypond.org/productions.html? Add it as a ponding? -- Phil Holmes
Re: Mac OS 10.15 Catalina
From: Jeremiah Reilly Date: Wednesday, November 13, 2019 at 3:14 AM To: Subject: Mac OS 10.15 Catalina What is the status of running Lilypond under Mac os 10.15 Catalina? Thanks. (Apologies if the answer is clearly posted on the website or Lilypond blog. I searched 20+ minutes without success. I cannot upgrade to Catalina until I know whether Lilypond will run. I found posting for folks running Lilypond in a virtual machine or Decker, but that's not my bag.) Search for 64-bit, and you’d find it. But putting a response on a thread with Catalina in a title is probably a good idea. You can get an installable LilyPond package created by Hans Aberg here: https://www.et.byu.edu/~sorensen/lilypond-devel-2.19.83_2.mpkg There is a 64-bit Frescobaldi installer for Version 2.20: https://github.com/frescobaldi/frescobaldi/releases/download/v2.20.0/Frescobaldi-2.20.0-x86_64.dmg HTH, Carl
Re: Cross-staff notes using only one music expression
On Tue, Nov 12, 2019 at 6:58 AM Paolo Prete wrote: > Hello, > > in the following snippet, I can obtain a cross-staff tremolo: > > http://lilybin.com/y4csd8/1 > > However, in this way, I'm forced to fill the "up" staff with invisible > rests ( in this case: s4. ) for the duration of the tremolo. Is there a > way to avoid this and use only one music expression for the cross-staff > notes? > > > Thanks > I am not a Lilypond expert, but I believe the answer is no. The reason is that in order to change staff to "up", Lilypond needs to have that staff "alive." If there is no "up" staff, then there is no way to change to it. --- Knute Snortum (via Gmail)
How to limit the NoteColumn shifting
Hi List, The NoteColumn default shifting is about #.5 ; I'd like to reduce it globally, let say by 2. How should I do? %% SNIP %% \version "2.19" \fixed c' { << { g'4*2 8 } \\ { g,4*2 8 } \\ %% Wanted: { %\override NoteColumn.force-hshift = #.25 b4*2 8 } \\ { % Wanted: %\override NoteColumn.force-hshift = #.5 \stemUp\shiftOnn d4*2 8 } >> } %% TIA, Cheers, Pierre
Re: Mac OS 10.15 Catalina
Jeremiah, Please keep discussion on the list so it can help others. From: Jeremiah Reilly Date: Wednesday, November 13, 2019 at 9:04 AM To: Carl Sorensen Subject: Re: Mac OS 10.15 Catalina Carl Thanks for the tips. Appreciated. The Frescobaldi Downloads page states "Install a copy of Lilypond as well." Not sure how that jives with Catalina. Sorry to be inept re packages and making from source. I am a musician, not a developer. Download the package from the link below. Double-click on it. It will open up a folder. Probably you will then double-click on the file in the folder to complete the installation. I can’t test the exact process because I don’t have Catalina (on purpose). https://www.et.byu.edu/~sorensen/lilypond-devel-2.19.83_2.mpkg You will probably need to change your security settings to allow you to open software from other than the App store (but you likely have already done that in order to install Frescobaldi. No building is required. You don’t need to be a developer. You just need to install both Frescobaldi and LilyPond, and then tell Frescobaldi where to find LilyPond (which is perhaps the problem you are facing). If so, open up Frescobaldi, then Preferences (under the Frescobaldi menu), then select LilyPond preferences. Click the Add button to the right of LilyPond versions to use, and browse to the installed LilyPond (somewhwere under /opt/local). HTH, Carl
Re: lilypond-user Digest, Vol 204, Issue 61
Hello, All! I've a snippet: \version "2.18.2" \new Staff { << \new Voice { \voiceOne s4 s8 \once \hideNotes \once \stemDown \once \override NoteColumn.force-hshift = #-0.7 g~ g g g4 } \new Voice { \voiceFour 4 q8 c2 } >> } The goal is to have the tie between the two g's in with the stems going in opposite directions. i haven't made a score in over a year, and i'm surprised i figured out this much! Is there another way that avoids the fiddly adjustments--or even using two voices? Thank you! bill
Re: Mac OS 10.15 Catalina
> On Nov 13, 2019, at 9:34 AM, Carl Sorensen wrote: > > You can get an installable LilyPond package created by Hans Aberg here: > > https://www.et.byu.edu/~sorensen/lilypond-devel-2.19.83_2.mpkg > > There is a 64-bit Frescobaldi installer for Version 2.20: > > https://github.com/frescobaldi/frescobaldi/releases/download/v2.20.0/Frescobaldi-2.20.0-x86_64.dmg I can confirm these work on Catalina.
MIDI and dynamics
Hello All, I'm trying to have dynamics affect the generated MIDI without success. The MWE below produces the MIDI shown even further below. The dynamic markings result in channel volume control messages being injected into the MIDI but always with the value of 0x64, regardless of the dynamic. I've read everything I could find about MIDI and dynamics and I've tried including the "articulate" script but it's always the same. I've looked at the .../scm/midi.scm file without finding anything that looks out of order. Any suggestions? Cheers Cam Farnell \version "2.18.2" \header { } \language "english" \score { { \clef "treble" \time 4/4 \relative c' { c4 d4\fff e4 f4\ppp } } \layout { } \midi { } } Midi file object Chunk `0: MThd Midi Header Chunk Format=`1 Ntrks=`2 Division=`384 Chunk `1: MTrk Midi Track Chunk Tick= `0, Status=FF, Meta. Sequence/track name. Text="control track" Tick= `0, Status=FF, Meta. Text event. Text="creator: " Tick= `0, Status=FF, Meta. Text event. Text="GNU LilyPond 2.18.2 " Tick= `0, Status=FF, Meta. Time signature. Values=`4 `2 `18 `8 Tick= `0, Status=FF, Meta. Set tempo. Value=`100 Tick= `0, Status=FF, Meta. End of track. Chunk `2: MTrk Midi Track Chunk Tick= `0, Status=B0, Control change. Controller=07, Value=64 Tick= `0, Status=90, Note-on. Key=3C, Velocity=5A Tick= `384, Status=90, Note-on. Key=3C, Velocity=00 Tick= `0, Status=B0, Control change. Controller=07, Value=64 Tick= `0, Status=90, Note-on. Key=3E, Velocity=6B Tick= `384, Status=90, Note-on. Key=3E, Velocity=00 Tick= `0, Status=90, Note-on. Key=40, Velocity=6B Tick= `384, Status=90, Note-on. Key=40, Velocity=00 Tick= `0, Status=B0, Control change. Controller=07, Value=64 Tick= `0, Status=90, Note-on. Key=41, Velocity=35 Tick= `384, Status=90, Note-on. Key=41, Velocity=00 Tick= `0, Status=FF, Meta. End of track.
Re: MIDI and dynamics
On 11/13/19, 1:54 PM, "Cam" wrote: Hello All, I'm trying to have dynamics affect the generated MIDI without success. The MWE below produces the MIDI shown even further below. The dynamic markings result in channel volume control messages being injected into the MIDI but always with the value of 0x64, regardless of the dynamic. I've read everything I could find about MIDI and dynamics and I've tried including the "articulate" script but it's always the same. I've looked at the .../scm/midi.scm file without finding anything that looks out of order. Any suggestions? I think you will find that the dynamics affect the Velocity of the individual notes, rather than the volume control messages. I don't have an opinion one way or another as to whether that is the right approach, but that is the implemented approach. This was previously discussed here : https://lists.gnu.org/archive/html/lilypond-user/2015-10/msg00093.html Carl
Re: MIDI and dynamics
On 2019-11-13 6:20 p.m., Carl Sorensen wrote: On 11/13/19, 1:54 PM, "Cam" wrote: Hello All, I'm trying to have dynamics affect the generated MIDI without success. The MWE below produces the MIDI shown even further below. The dynamic markings result in channel volume control messages being injected into the MIDI but always with the value of 0x64, regardless of the dynamic. I've read everything I could find about MIDI and dynamics and I've tried including the "articulate" script but it's always the same. I've looked at the .../scm/midi.scm file without finding anything that looks out of order. Any suggestions? I think you will find that the dynamics affect the Velocity of the individual notes, rather than the volume control messages. I don't have an opinion one way or another as to whether that is the right approach, but that is the implemented approach. This was previously discussed here : https://lists.gnu.org/archive/html/lilypond-user/2015-10/msg00093.html Carl Thanks. I had read while researching that it didn't affect note velocity so I wasn't even looking at them, but was then confused by the non changing volume control messages. All clear now, except for the spurious messages but they do no harm. Cheers Cam
Re: lilypond-user Digest, Vol 204, Issue 61
Am 13.11.19 um 20:43 schrieb bill wolf: Is there another way that avoids the fiddly adjustments--or even using two voices? You’ll need the two voices because of the opposite stem directions in the second half of the measure. However you can save some typing by using { } \\ { } instead of \new Voice and \voiceXXX settings. This also sets \voiceTwo internally instead of \voiceFour for the lower voice which makes the force-hshift unnecessary. \version "2.18.2" \new Staff { << { s4 s8 \once \hideNotes g~ g g g4 } \\ { 4 q8 c2 } >> }