On 5 Feb 2009, at 12:46, Wilbert Berendsen wrote:

Op donderdag 05 februari 2009, schreef Padmavyuha:
Any ideas why I'm not getting midi, and is the error message relevant
to that, or is it to do with something else entirely?

Do you have a \midi { } command in your \score section?

see:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Creating-MIDI-files



Update: If I insert a \midi {} command in my .ly file, the midi file gets generated but lilypond stops at the error message after that and the .ps/.pdf files never get generated.

With verbose mode on in lilypond, the place where the process breaks if the midi command is live is:

MIDI output to `satb.midi'...Track... [0][1][2][3][4][5][6][7][8]]
warning: cannot find file: `'
error: failed files: ""

and if the midi command is commented out, it's:

Converting to `./satb.pdf'...
Invoking `gs -dSAFER -dDEVICEWIDTHPOINTS=595.28 - dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE - dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile="./satb.pdf" - c .setpdfwrite -f "satb.ps"'...GPL Ghostscript SVN PRE-RELEASE 8.57 (2007-03-15)
Copyright (C) 2007 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
WARNING: /Unicode /Decoding resource is not accessible but it is useful for generating ToUnicode CMap.
]
warning: cannot find file: `'
error: failed files: ""

I don't suppose there's any way to get lilypond to run the .ps/.pdf export before it runs the midi export, so that I can get all three :(

For the moment, I'm commenting out the \midi {} command while checking the pdf output.

- Padmavyuha


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to