Fix InstrumentSwitch grob definition.
[lilypond.git] / ly / festival.ly
blobf77b48f8e5f1cc7dd2653301f9bbbba67b19c32c
1 % festival.ly --- Festival singing mode output
3 % Copyright (C) 2006, 2007 Brailcom, o.p.s.
5 % Author: Milan Zamazal <pdm@brailcom.org>
7 % COPYRIGHT NOTICE
9 % This program is free software; you can redistribute it and/or modify
10 % it under the terms of the GNU General Public License as published by
11 % the Free Software Foundation; either version 2 of the License, or
12 % (at your option) any later version.
14 % This program is distributed in the hope that it will be useful, but
15 % WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 % or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 % for more details.
19 % You should have received a copy of the GNU General Public License
20 % along with this program; if not, write to the Free Software
21 % Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
23 \version "2.11.11"
25 #(use-modules (scm song))
27 % \festival #"filename" { \tempo N = X } { music }
28 festival =
29 #(define-music-function (parser location filename tempo music) (string? ly:music? ly:music?)
30 (output-file music tempo filename)
31 music)
33 % \festivalsyl #"filename" { \tempo N = X } { music }
34 festivalsyl =
35 #(define-music-function (parser location filename tempo music) (string? ly:music? ly:music?)
36 (set! *syllabify* #t)
37 (output-file music tempo filename)
38 music)