Hi Albert,
there's no \score{ .. } in your version at all (it's missing the
backslash). Also, I don't think that the Staff works the way you had it
(missing curly brackets around the musical statement, which after all
consists of more than one commmand). Actually, you might as well loose
the \clef, too as it has no effect in a midi-only file ... and probably
the same is true for the \remove Time_signature_engraver statement ...
Try this:
\version "2.15.23"
\header { tagline = ##f }
mus = { <e g c'>1 }
\score {
\new Staff \with { \remove Time_signature_engraver } {
\clef bass
\transpose c' a \mus
}
\midi { }
}
or, (should produce the same midi file):
\version "2.15.23"
mus = { <e g c'>1 }
\score {
\new Staff \transpose c' a \mus
\midi { }
}
Best, Rob
On Fri, Jan 13, 2012, at 01:12 PM, Albert Frantz wrote:
> Hello,
>
> Can anyone help me out with a very basic question? I'm trying to generate
> MIDI
> output, and only MIDI, from this file:
>
> \version "2.15.23" \header { tagline = ##f } mus = { <e g c'>1 } score {
> \new
> Staff \with { \remove Time_signature_engraver } \clef bass \transpose c'
> a \mus
> }
>
> I tried the following:
>
> \version "2.15.23" \header { tagline = ##f } mus = { <e g c'>1 } score {
> \new
> Staff \with { \remove Time_signature_engraver } \clef bass \transpose c'
> a \mus
> \midi { } }
>
> ... but it results in:
>
> error: syntax error, unexpected \midi
>
> What is the correct MIDI syntax for this simple score? Many thanks in
> advance
> for any help.
>
>
> Kind regards,
>
> Albert
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user