lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: There is no key signature in the generated Midi file ?


From: David Kastrup
Subject: Re: There is no key signature in the generated Midi file ?
Date: Tue, 16 Feb 2016 09:48:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Esko Teerilahti <address@hidden> writes:

> Hi !
>
> I noticed that there is no key signature in the midi file.

It is here.

The file

\version "2.18.2"

\score {
  {
    \key a\major
    c1
  }
  \midi { }
}

produces a Midi file that, printed with lilymidi --pretty, shows

Filename:     gaga.midi
MIDI format:  1 (one or more simultaneous tracks)
Divisions:    1536 per whole note
#Tracks:      2

Track 1:
    Time 0:
        Track name: control track
        Text:       creator: 
        Text:       GNU LilyPond 2.18.2           
        Time signature: 4/4, metronome 3/16
        Tempo:      1000000 msec/quarter
        End of Track

Track 2:
    Time 0:
        Track name: \new:
        Control mode change: 0, 7100
        Key signature: A major
        Note on: Channel 0, C3(48)
    Time 1536: 
        Note off: Channel 0, C3(48)
        End of Track

So you need to figure out why your program does not see this.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]