[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: There is no key signature in the generated Midi file ?
From: |
Esko Teerilahti |
Subject: |
Re: There is no key signature in the generated Midi file ? |
Date: |
Tue, 16 Feb 2016 11:11:59 +0200 |
Sorry, missed the point, here it is as a whole
Esko
global = {
\time 4/4
\tempo 4=120
\key a\major
}
melody = \relative c'' {
\global
e4. e8~ e4. d8 r4 r8 e8 a4 h4 \bar ".|:"h4 cis8 cis8 r2|
r4 r8 e,8 a4 h8 c8~ c1~ c8 r8 r8 d,8 g4 a4 a4
h8 h8 r2 r4 r8 d,8 g4 a8 b8~ b2 d8 b8 f8 e8 r4 c4 b2 c4 b8 c8 r2 \break
r4 a4h8 a8 gis8 a8~ a2 gis8 h8 gis8 a8 r4 a4 h8 a8 h8 e8~ e2 e8 fis8 e8 d8 r2
r4 r8 a8~a4. as8~ as4. gis8 r4 r8 e'8 a4 h4
}
\score {
<<
\new Staff { \melody }
>>
\layout { }
\midi { }
}
David Kastrup <address@hidden> kirjoitti 16.2.2016 kello 11.05:
> Esko Teerilahti <address@hidden> writes:
>
>> Thnks for the answer !
>> Interesting, I have it in here, taken from some example
>>
>> global = {
>> \time 4/4
>> \key a \major
>> \tempo 4=120
>> }
>
> That's not an output producing example. Nobody can guess where you are
> going to call \global.
>
>> Time and tempo are there in midi but not the key.
>
> More likely time and tempo are in the _control_ track whereas the key
> (which needs not be the same across tracks) is in the individual
> instruments' tracks.
>
> --
> David Kastrup
- There is no key signature in the generated Midi file ?, Esko Teerilahti, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Pierre Perol-Schneider, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, David Kastrup, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Esko Teerilahti, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, David Kastrup, 2016/02/16
- Re: There is no key signature in the generated Midi file ?,
Esko Teerilahti <=
- Re: There is no key signature in the generated Midi file ?, David Kastrup, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Johan Vromans, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Teerilahti Esko, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, David Kastrup, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Esko Teerilahti, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Esko Teerilahti, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, David Kastrup, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Phil Holmes, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Urs Liska, 2016/02/16
- Re: There is no key signature in the generated Midi file ?, Esko Teerilahti, 2016/02/16