Thnks for the answer !
Interesting, I have it in here, taken from some example
global = {
\time 4/4
\key a \major
\tempo 4=120
}
Time and tempo are there in midi but not the key.
David Kastrup <[email protected]> kirjoitti 16.2.2016 kello 10.48:
> Esko Teerilahti <[email protected]> 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
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user