[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MIDI
From: |
Carlo Stemberger |
Subject: |
Re: MIDI |
Date: |
Tue, 6 Jun 2006 14:37:09 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Graham Percival <gpermus <at> gmail.com> writes:
>
>
> On 26-May-06, at 3:58 AM, Carlo Stemberger wrote:
>
> > Erroneous output: file MIDI
>
> What's wrong with the midi output, and could you supply a smaller
> example?
>
> However, be aware that midi support in lilypond is limited.
>
> Cheers,
> - Graham
>
-----
Erroneous output: file MIDI
Using MS Windows Home Edition
Lilypond version: 2.8.4
----
The problem persists also with the 2.8.4 version. I realized this code, a
little shorter than the first I sent:
\version "2.8.4"
violinoI = \new Voice {
\relative c'' {
\set Staff.midiInstrument = "violin"
\key a \major
\time 4/4
fis(\p b,) ~ b\< \grace { b8[( cis b ais b] } d8.\!\> b16
a?2)\! r
b4( eis,) ~ eis \grace { eis8[( fis eis\< dis eis]\! } fis8.\>
d16
cis2)\! r
d2.( cis4
b2) r
\bar"||"
R1
r2 fis''4 fis
r fis r fis
r8 fis r fis r fis r fis
\bar"|."
}
}
violinoII = \new Voice {
\relative c' {
\set Staff.midiInstrument = "violin"
\key a \major
\time 4/4
<fis a>2.\p gis4( ~
gis a) r2
<b, eis>2.^>\> a4(\!
g cis) r2
r gis?4( a)
fis'( b,) r2
\bar"||"
R1
a'4 a a a
r a r a
r8 a r a r a r a
\bar"|."
}
}
viola = \new Voice {
\relative c' {
\set Staff.midiInstrument = "cello"
\clef alto
\key a \major
\time 4/4
b2.(\p d4
cis2) r
d,2.^>\> d8.(\! fis16)
g4( fis) r2
fis4( gis?2 a4
a2) r
\bar"||"
r2 b'4 b
b b b b
r b r b
r8 b r b r b r b
\bar"|."
}
}
cello = \new Voice {
\relative c {
\set Staff.midiInstrument = "cello"
\clef bass
\key a \major
\time 4/4
d2.\p( e4)
eis( fis) r2
g,2.^>\>( a4\!
ais2) r2
b4( e,) ~ e \grace { e8[(\< fis e dis e]\! } fis8.\> cis16)\!
d?2 r2
\bar"||"
d''4 d d d
d d d d
r d r d
r8 d r d r d r d
\bar"|."
}
}
\score {
\new StaffGroup {
<<
\violinoI
\violinoII
\viola
\cello
>>
}
\layout { indent = 0\cm }
\midi { \tempo 4=60 }
}
----
I also realized the same code, but with only the notes (without slurs, ties,
etc.):
\version "2.8.4"
violinoI = \new Voice {
\relative c'' {
\set Staff.midiInstrument = "violin"
\key a \major
\time 4/4
fis b, b \grace { b8[ cis b ais b] } d8. b16
a2 r
b4 eis, eis \grace { eis8[ fis eis dis eis] } fis8. d16
cis2 r
d2. cis4
b2 r
\bar"||"
R1
r2 fis''4 fis
r fis r fis
r8 fis r fis r fis r fis
\bar"|."
}
}
violinoII = \new Voice {
\relative c' {
\set Staff.midiInstrument = "violin"
\key a \major
\time 4/4
<fis a>2. gis4
gis a r2
<b, eis>2. a4
g cis r2
r gis4 a
fis' b, r2
\bar"||"
R1
a'4 a a a
r a r a
r8 a r a r a r a
\bar"|."
}
}
viola = \new Voice {
\relative c' {
\set Staff.midiInstrument = "cello"
\clef alto
\key a \major
\time 4/4
b2. d4
cis2 r
d,2. d8. fis16
g4 fis r2
fis4 gis2 a4
a2 r
\bar"||"
r2 b'4 b
b b b b
r b r b
r8 b r b r b r b
\bar"|."
}
}
cello = \new Voice {
\relative c {
\set Staff.midiInstrument = "cello"
\clef bass
\key a \major
\time 4/4
d2. e4
eis fis r2
g,2. a4
ais2 r2
b4 e, e \grace { e8[ fis e dis e] } fis8. cis16
d2 r2
\bar"||"
d''4 d d d
d d d d
r d r d
r8 d r d r d r d
\bar"|."
}
}
\score {
\new StaffGroup {
<<
\violinoI
\violinoII
\viola
\cello
>>
}
\layout { indent = 0\cm }
\midi { \tempo 4=60 }
}
----
The problem, in this case, concerns only the violin I.
I don't understand how is that (there are grace notes also into the cello part).
Bye
Carlo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: MIDI,
Carlo Stemberger <=