[icon]

GNU LilyPond

Welcome to the home of the GNU Music Typesetter

What is LilyPond
General information
Simple examples
Complex examples
Download
GNU/Linux binaries
Windows
Source code
Documentation
Tutorial
Manual
Glossary
other ...

Support
Mailing lists
Search
WikiWiki
FAQs

External sites
lilypond.org/development
lilypond.org/stable
ftp.lilypond.org
Mutopia
Other music online

Node:Miscellaneous Scheme functions, Previous:Font metrics, Up:Internals



Miscellaneous Scheme functions

ly-warn msg Function
Scheme callable function to issue the warning msg.

ly-version Function
Return the current lilypond version as a list, e.g. (1 3 127 uu1).

ly-gulp-file name Function
Read the file named name, and return its contents in a string. The file is looked up using the lilypond search path.

dir? Function
type predicate. A direction is a -1, 0 or 1, where -1 represents left or down and 1 represents right or up.

ly-number->string num Function
converts num to a string without generating many decimals. It leaves a space at the end.

set-lily-option sym val Function
Set a global option for the program. Supported options include
midi-debug
If set to true, generate human readable MIDI

This function is useful to call from the command line: lilypond -e "(set-lily-option 'midi-debug #t)"

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to lilypond@packages.debian.org

Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.4.12 (stable-branch) by

Anthony Fok <lilypond@packages.debian.org>, Tue Mar 12 01:35:39 2002 HKT.