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=`1000000
  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.

Reply via email to