Re: Lilypond to xml -singing voice festival
fresco wrote: David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN That is an error message when reading festival.ly, so it would appear that you are reading festival.ly at a nonsensical place or, less likely, with an incompatible version of LilyPond. Since you don't actually quote the resulting file after your changes, it is impossible to guess more than that. -- David Kastrup Thank you for replying! The following text is a midi-file imported into the lilypond-format. code \version 2.12.3-7 \header { } #(set-default-paper-size a4) StaffAVoiceA = \relative c' { e4 a a8 gis fis4 | % 2 e e e cis | % 3 d d fis fis | % 4 e gis a2 | % 5 e4 a a8 gis fis4 | % 6 e e e cis | % 7 d d fis fis | % 8 e gis a2 | % 9 e d' | % 10 cis4 a cis2 | % 11 b4 b8 b gis4 e | % 12 a cis e2 | % 13 e, d' | % 14 cis4 a cis2 | % 15 b4 b8 b gis4 e | % 16 a2 r2 | % 17 } StaffA = \new Staff \relative c' { \set Staff.instrumentName = Inst 1 \clef treble \time 4/4 \new Voice = one { \StaffAVoiceA } } \score { \StaffA \layout { } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33947637.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
fresco tuxs...@googlemail.com writes: fresco wrote: David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN That is an error message when reading festival.ly, so it would appear that you are reading festival.ly at a nonsensical place or, less likely, with an incompatible version of LilyPond. Since you don't actually quote the resulting file after your changes, it is impossible to guess more than that. How often are you going to repeat posting your request without quoting the resulting file after your changes? The file you quote does not contain any mention of festival.ly. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
fresco wrote: David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN That is an error message when reading festival.ly, so it would appear that you are reading festival.ly at a nonsensical place or, less likely, with an incompatible version of LilyPond. Since you don't actually quote the resulting file after your changes, it is impossible to guess more than that. -- David Kastrup Thank you for replying! The following text is a midi-file imported into the lilypond-format (test.ly) code \version 2.12.3-7 \header { } #(set-default-paper-size a4) StaffAVoiceA = \relative c' { e4 a a8 gis fis4 | % 2 e e e cis | % 3 d d fis fis | % 4 e gis a2 | % 5 e4 a a8 gis fis4 | % 6 e e e cis | % 7 d d fis fis | % 8 e gis a2 | % 9 e d' | % 10 cis4 a cis2 | % 11 b4 b8 b gis4 e | % 12 a cis e2 | % 13 e, d' | % 14 cis4 a cis2 | % 15 b4 b8 b gis4 e | % 16 a2 r2 | % 17 } StaffA = \new Staff \relative c' { \set Staff.instrumentName = Inst 1 \clef treble \time 4/4 \new Voice = one { \StaffAVoiceA } } \score { \StaffA \layout { } } code end So, the first stanza of the lyrics, I wanted to insert, is: Es zogen einst fünf wilde Schwäne, Schwäne leuchtend weiß und schön..etc. My question is: Where and how can I place \addlyrics and the \include festival.ly #(set! song:*debug* #f) \festival #test.xml { \tempo 4 = 100 } I do not know, if it is possible to create an .xml in this way, i.e. by importing a regular midi-file. By the way, I just want to use the singing voices for my animations with main actor Tux. http://www.dailymotion.com/user/tuxtrick/1 Kind regards, fresco Basically, the problem is solved. Thank you and kind regards fresco -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33863763.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
On Thu, May 17, 2012 at 05:07:03AM -0700, fresco wrote: fresco wrote: David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } Basically, the problem is solved. Could I ask for your help in documenting festival output? At the moment it's completely undocumented in lilypond: http://code.google.com/p/lilypond/issues/detail?id=1245 If you're willing to help us improve the docs, please consult with James (cc'd on this email). - Graham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
Graham Percival-3 wrote: On Thu, May 17, 2012 at 05:07:03AM -0700, fresco wrote: fresco wrote: David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } Basically, the problem is solved. Could I ask for your help in documenting festival output? At the moment it's completely undocumented in lilypond: http://code.google.com/p/lilypond/issues/detail?id=1245 If you're willing to help us improve the docs, please consult with James (cc'd on this email). - Graham ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user 1.Concerncing a festival output with regard to speech recognition you can watch my animation video: http://www.dailymotion.com/video/xqnjc2_german-teacher-tux-text-to-speech-exp_creation At the end of this video there are 3 pages of howto. 2.Concering a festival output with regard to a singing voice (in Linux), please read the following summary: == 1. Play a (music)XML-file with a festival command in Linux: == Open a terminal and insert: festival Then your prompt should look like this: festival Insert at this prompt the command: (tts /usr/share/doc/festival/examples/songs/daisy.xml 'singing) = 2. Create a WAV-File with a festival command in Linux of daisy.xml = Leave the festival prompt!!! (STRG and Z) Insert at the usual prompt: text2wave -mode singing /usr/share/doc/festival/examples/songs/daisy.xml -o /home/user/Desktop/daisy.wav“ Now you won't hear anything but the output file should be on your Desktop. Here is the text of the festival-file daisy.xml : code daisy.xml ?xml version=1.0? !DOCTYPE SINGING PUBLIC -//SINGING//DTD SINGING mark up//EN Singing.v0_1.dtd [] SINGING BPM=80 DURATION BEATS=1.0,1.0PITCH NOTE=F4,D4Daisy/PITCH/DURATION DURATION BEATS=1.0,1.0PITCH NOTE=Bb3,F3Daisy/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=G3Give/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=A3me/PITCH/DURATION DURATION BEATS=0.34PITCH NOTE=Bb3your/PITCH/DURATION DURATION BEATS=0.67,0.33PITCH NOTE=G3,Bb3answer/PITCH/DURATION DURATION BEATS=1.5PITCH NOTE=F3do/PITCH/DURATION REST BEATS=0.5/REST DURATION BEATS=1.0PITCH NOTE=C4I'm/PITCH/DURATION DURATION BEATS=1.0PITCH NOTE=F4half/PITCH/DURATION DURATION BEATS=1.0,1.0PITCH NOTE=D4,Bb3crazy/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=G3all/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=A3for/PITCH/DURATION DURATION BEATS=0.34PITCH NOTE=Bb3the/PITCH/DURATION DURATION BEATS=0.67PITCH NOTE=C4love/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=D4of/PITCH/DURATION DURATION BEATS=1.5PITCH NOTE=C4you/PITCH/DURATION REST BEATS=0.17/REST DURATION BEATS=0.33PITCH NOTE=D4we/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=Eb4don't/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=D4need/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=C4a/PITCH/DURATION DURATION BEATS=0.67,0.33PITCH NOTE=F4,D4stylish/PITCH/DURATION DURATION BEATS=0.33,1.0PITCH NOTE=C4,Bb3marriage/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=C4I/PITCH/DURATION DURATION BEATS=0.67PITCH NOTE=D4can't/PITCH/DURATION DURATION BEATS=0.33,0.67PITCH NOTE=Bb3,G3afford/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=Bb3a/PITCH/DURATION DURATION BEATS=0.33,1.17PITCH NOTE=G3,F3carriage/PITCH/DURATION REST BEATS=0.17/REST DURATION BEATS=0.33PITCH NOTE=F3but/PITCH/DURATION DURATION BEATS=0.67PITCH NOTE=Bb3you'll/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=D4look/PITCH/DURATION DURATION BEATS=0.67PITCH NOTE=C4sweet/PITCH/DURATION DURATION BEATS=0.33,0.67PITCH NOTE=F3,Bb3upon/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=D4the/PITCH/DURATION DURATION BEATS=0.34PITCH NOTE=C4seat/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=D4of/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=Eb4a/PITCH/DURATION DURATION BEATS=0.34,0.33,0.33PITCH NOTE=F4,D4,Bb3bicycle/PITCH/DURATION DURATION BEATS=0.67PITCH NOTE=C4built/PITCH/DURATION DURATION BEATS=0.33PITCH NOTE=F3for/PITCH/DURATION DURATION BEATS=1.0PITCH NOTE=Bb3two/PITCH/DURATION /SINGING code end of daisy.xml Kind regards, fresco -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33865852.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
fresco wrote: Hello! I've just registered and I am a newbie with regard to lilypond. 1. When I export the file with the following text (lily2.ly) to xml Code #(define version-seen? #t) \version 2.12.3-7 #(set! %load-path (cons .. %load-path)) \include festival.ly #(set! song:*debug* #f) \festival #lily2.xml { \tempo 4 = 100 } { \time 3/4 \relative { c2 e4 g2. } \addlyrics { play the game } \addlyrics { speel het spel } \addlyrics { joue le jeu } } Code end lilypond creates the file lily2.xml and I can listen to the singing voice by means of the festival command: festival (tts /...lily2.xml 'singing) But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN The follwing test-file c-bis-f.ly I created in NtEd and exported it to a lily-file: code \header { } #(set-default-paper-size a4) StaffAVoiceA = \relative c' { r1 | % 2 c4 d e f | % 3 } StaffA = \new Staff \relative c' {\clef treble \time 4/4 \new Voice = one { \StaffAVoiceA } } \score { \StaffA \layout { } } code end May be it's because of the missing \addlyrics??? kind regards, fresco OS Linux/Debian/XFCE4 I intend to use the singing voices for my animations with Tux as the main actor. http://www.dailymotion.com/user/tuxtrick/1 -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33858124.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Lilypond to xml -singing voice festival
Hello! I've just registered and I am a newbie with regard to lilypond. 1. When I export the file with the following text (lily2.ly) to xml Code #(define version-seen? #t) \version 2.12.3-7 #(set! %load-path (cons .. %load-path)) \include festival.ly #(set! song:*debug* #f) \festival #lily2.xml { \tempo 4 = 100 } { \time 3/4 \relative { c2 e4 g2. } \addlyrics { play the game } \addlyrics { speel het spel } \addlyrics { joue le jeu } } Code end lilypond creates the file lily2.xml and I can listen to the singing voice by means of the festival command: festival (tts /...lily2.xml 'singing) But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN The follwing test-file c-bis-f.ly I created in NtEd and exported it to a lily-file: code \header { } #(set-default-paper-size a4) StaffAVoiceA = \relative c' { r1 | % 2 c4 d e f | % 3 } StaffA = \new Staff \relative c' {\clef treble \time 4/4 \new Voice = one { \StaffAVoiceA } } \score { \StaffA \layout { } } code end May be it's because of the missing \addlyrics??? kind regards, fresco OS Linux/Debian/XFCE4 -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33852410.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN That is an error message when reading festival.ly, so it would appear that you are reading festival.ly at a nonsensical place or, less likely, with an incompatible version of LilyPond. Since you don't actually quote the resulting file after your changes, it is impossible to guess more than that. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN That is an error message when reading festival.ly, so it would appear that you are reading festival.ly at a nonsensical place or, less likely, with an incompatible version of LilyPond. Since you don't actually quote the resulting file after your changes, it is impossible to guess more than that. -- David Kastrup Thank you for replying! The following text is a midi-file imported into the lilypond-format (test.ly) code \version 2.12.3-7 \header { } #(set-default-paper-size a4) StaffAVoiceA = \relative c' { e4 a a8 gis fis4 | % 2 e e e cis | % 3 d d fis fis | % 4 e gis a2 | % 5 e4 a a8 gis fis4 | % 6 e e e cis | % 7 d d fis fis | % 8 e gis a2 | % 9 e d' | % 10 cis4 a cis2 | % 11 b4 b8 b gis4 e | % 12 a cis e2 | % 13 e, d' | % 14 cis4 a cis2 | % 15 b4 b8 b gis4 e | % 16 a2 r2 | % 17 } StaffA = \new Staff \relative c' { \set Staff.instrumentName = Inst 1 \clef treble \time 4/4 \new Voice = one { \StaffAVoiceA } } \score { \StaffA \layout { } } code end So, the first stanza of the lyrics, I wanted to insert, is: Es zogen einst fünf wilde Schwäne, Schwäne leuchtend weiß und schön..etc. My question is: Where and how can I place \addlyrics and the \include festival.ly #(set! song:*debug* #f) \festival #test.xml { \tempo 4 = 100 } I do not know, if it is possible to create an .xml in this way, i.e. by importing a regular midi-file. By the way, I just want to use the singing voices for my animations with main actor Tux. http://www.dailymotion.com/user/tuxtrick/1 Kind regards, fresco -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33861235.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lilypond to xml -singing voice festival
David Kastrup wrote: fresco tuxs...@googlemail.com writes: But when I try to insert: \include festival.ly #(set! song:*debug* #f) \festival #bach-präl.xml { \tempo 4 = 100 } into another file (see text below), I get error messages like: /usr/share/lilypond/2.12.3/ly/festival.ly:25:0: Fehler: syntax error, unexpected SCM_TOKEN That is an error message when reading festival.ly, so it would appear that you are reading festival.ly at a nonsensical place or, less likely, with an incompatible version of LilyPond. Since you don't actually quote the resulting file after your changes, it is impossible to guess more than that. -- David Kastrup Thank you for replying! The following text is a midi-file imported into the lilypond-format. code \version 2.12.3-7 \header { } #(set-default-paper-size a4) StaffAVoiceA = \relative c' { e4 a a8 gis fis4 | % 2 e e e cis | % 3 d d fis fis | % 4 e gis a2 | % 5 e4 a a8 gis fis4 | % 6 e e e cis | % 7 d d fis fis | % 8 e gis a2 | % 9 e d' | % 10 cis4 a cis2 | % 11 b4 b8 b gis4 e | % 12 a cis e2 | % 13 e, d' | % 14 cis4 a cis2 | % 15 b4 b8 b gis4 e | % 16 a2 r2 | % 17 } StaffA = \new Staff \relative c' { \set Staff.instrumentName = Inst 1 \clef treble \time 4/4 \new Voice = one { \StaffAVoiceA } } \score { \StaffA \layout { } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- View this message in context: http://old.nabble.com/Lilypond-to-xml--singing-voice-festival-tp33852410p33861291.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user