Re: Greetings and a question
> "Jan" == Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes: >> The workaround is to change the "< a' c >" that comes in the lilypond >> output to read "<< a' c >>". Jan> I guessed that much, but wanted to test it before making changes. Jan> It's a simple patch, see below, but I haven't been able to test it. Sorry I only got around to testing this now -- as I said, I don't use chords very often. You missed a place. ch = '' if str[:1] ==']': str = str[1:] - ch = '>>' + ch = '>>' end = 0 -- Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ ) (617) 661-8097 fax: (501) 641-5011 233 Broadway, Cambridge, MA 02139 ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
Laura Conrad writes: > I've hit that one (in 2.0); I was planning to report it after I had > a chance to check it on a more recent version. Ok. Next time, feel free to just report such a thing, as long as you mention the version. > The workaround is to change the "< a' c >" that comes in the lilypond > output to read "<< a' c >>". I guessed that much, but wanted to test it before making changes. It's a simple patch, see below, but I haven't been able to test it. Fixed in CVS. > My tunes aren't so simple, but I don't use chords very often That was what I meant of course, no offence intended! Greetings, Jan. Index: abc2ly.py === RCS file: /cvsroot/lilypond/lilypond/scripts/abc2ly.py,v retrieving revision 1.40 retrieving revision 1.41 diff -p -u -p -u -r1.40 -r1.41 --- abc2ly.py 19 Apr 2004 23:18:39 - 1.40 +++ abc2ly.py 1 Jul 2004 21:36:08 - 1.41 @@ -1190,18 +1190,18 @@ def try_parse_chord_delims (str, state): if state.next_bar: voices_append(state.next_bar) state.next_bar = '' - voices_append ('<') + voices_append ('<<') if str[:1] == '+': str = str[1:] if state.plus_chord: - voices_append ('>') + voices_append ('>>') state.plus_chord = 0 else: if state.next_bar: voices_append(state.next_bar) state.next_bar = '' - voices_append ('<') + voices_append ('<<') state.plus_chord = 1 ch = '' -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
> "Jan" == Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes: >> /home/dlphilp/BachCelloPrelude.ly:14:38: error: parse error, >> unexpected BAR, expecting NOTENAME_PITCH or DRUM_PITCH or '>': >> \time 4/4 \key d \major < \ba Jan> This is invalid lilypond syntax: you found a bug. I've hit that one (in 2.0); I was planning to report it after I had a chance to check it on a more recent version. Basically, any chord (ABC syntax "[A C]", for instance, is translated with single angle brackets, instead of double ones. The workaround is to change the "< a' c >" that comes in the lilypond output to read "<< a' c >>". This is a pain for the way I work, where I do the editing in ABC and look at the abc2ly/lilypond output. Jan> AFAIC, abc is mainly used for simple tunes. The multiple Jan> voices/chord syntax changed and abc2ly was apparrently not Jan> updated. My tunes aren't so simple, but I don't use chords very often, since I enter the voices separately. The particular case where I hit this problem this week had a bass voice that split for one note. Dave probably has a similar case, with a mostly monophonic cello part with a few double stops. -- Laura (mailto:[EMAIL PROTECTED] , http://www.laymusic.org/ ) (617) 661-8097 fax: (501) 641-5011 233 Broadway, Cambridge, MA 02139 ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
Dave Phillips writes: > I'll check out the CVS abc2ly today. Meanwhile, here's what's > happening with my current versions of things (Planet CCRMA RH9, > LilyPond 2.2.0) : Ok. > /home/dlphilp/BachCelloPrelude.ly:14:38: error: parse error, > unexpected BAR, expecting NOTENAME_PITCH or DRUM_PITCH or '>': > \time 4/4 \key d \major < \ba This is invalid lilypond syntax: you found a bug. AFAIC, abc is mainly used for simple tunes. The multiple voices/chord syntax changed and abc2ly was apparrently not updated. > I hope that helps. Going for the CVS abc2ly now... This won't help, same bug is probably in CVS. Could you please complete your bug report by posting the ABC source that triggers the bug? (attachments are not allowed on lilypond-user currently, due to limited spam filtering options). Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
Hi Jan: I'll check out the CVS abc2ly today. Meanwhile, here's what's happening with my current versions of things (Planet CCRMA RH9, LilyPond 2.2.0) : [EMAIL PROTECTED] dlphilp]$ abc2ly BachCelloPrelude.abc abc2ly from LilyPond 2.2.0 Parsing `BachCelloPrelude.abc'... Line ... lilypond output to: `BachCelloPrelude.ly'... [EMAIL PROTECTED] dlphilp]$ lilypond BachCelloPrelude.ly lilypond (GNU LilyPond) 2.2.0 Running lilypond-bin... Now processing `BachCelloPrelude.ly' Parsing... /home/dlphilp/BachCelloPrelude.ly:14:38: error: parse error, unexpected BAR, expecting NOTENAME_PITCH or DRUM_PITCH or '>': \time 4/4 \key d \major < \ba r "|." d'16 ^"A"( a'16 fis''16 -) [snip many similar messages] Backtrace: In /usr/share/lilypond/2.2.0/scm/music-functions.scm: 429: 1* (let ((es #) (e #)) (if (pair? es) (# m # ...)) ...) 431: 2* (if (pair? es) ((setter ly:music-property) m (quote elements) ...)) 432: 3 [ly:music-set-property! # elements ... 432: 4* [map # (#)] In /usr/share/guile/1.6/srfi/srfi-1.scm: 637: 5 (if (null? rest) (map1 f list1) ...) ... 624: 6 (let ((ret (list #))) (letrec ((lp #)) (lp (cdr ls) ret))) 624: 7* [list ... 624: 8* [voicify-music #] In /usr/share/lilypond/2.2.0/scm/music-functions.scm: 429: 9 (let ((es #) (e #)) (if (pair? es) (# m # ...)) ...) 433: 10* (if (ly:music? e) ((setter ly:music-property) m (quote element) ...)) 434: 11 [ly:music-set-property! # element ... 434: 12* [voicify-music #] 429: 13 (let ((es #) (e #)) (if (pair? es) (# m # ...)) ...) 431: 14* (if (pair? es) ((setter ly:music-property) m (quote elements) ...)) 432: 15 [ly:music-set-property! # elements ... 432: 16* [map # (#)] In /usr/share/guile/1.6/srfi/srfi-1.scm: 637: 17 (if (null? rest) (map1 f list1) ...) ... 624: 18 (let ((ret (list #))) (letrec ((lp #)) (lp (cdr ls) ret))) 624: 19* [list ... 624: 20* (f (car ls)) /usr/share/guile/1.6/srfi/srfi-1.scm:624:24: In expression (f (car ls)): /usr/share/guile/1.6/srfi/srfi-1.scm:624:24: Stack overflow lilypond: error: LilyPond failed on input file BachCelloPrelude (exit status 2) lilypond: warning: Running LilyPond failed. Rerun with --verbose for a trace. I hope that helps. Going for the CVS abc2ly now... Best, dp Jan Nieuwenhuizen wrote: Dave Phillips writes: Not so much success with abc2ly and musedata2ly What problems do you have, can you post an error log? abc2ly is used quite heavily, notably by Laura Conrad (see http://laymusic.org). As abc2ly is a python script, you may want to look at the latest version in CVS http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/lilypond/lilypond/scripts/abc2ly.py?rev=HEAD&content-type=text/x-python some problems were fixed recently. Greetings, Jan. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
Dave Phillips writes: > Not so much success with abc2ly and musedata2ly What problems do you have, can you post an error log? abc2ly is used quite heavily, notably by Laura Conrad (see http://laymusic.org). As abc2ly is a python script, you may want to look at the latest version in CVS http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/lilypond/lilypond/scripts/abc2ly.py?rev=HEAD&content-type=text/x-python some problems were fixed recently. Greetings, Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
Hi Ferenc: Thank you, that's just what I needed. I've "successfully" imported some MIDI files into LY format, and I started using the excellent emacs LilyPond mode. Very cool. Not so much success with abc2ly and musedata2ly, and I haven't figured out how to activate the LP mode in vi. Back to the hack... Best, dp Ferenc Wagner wrote: Dave Phillips <[EMAIL PROTECTED]> writes: My question now is whether this list is appropriate for questions regarding Denemo. Welcome! Some questions may be on topic here, while for the rest you can try Denemo's own mailing lists, see http://sourceforge.net/mail/?group_id=1952 ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Greetings and a question
Dave Phillips <[EMAIL PROTECTED]> writes: > My question now is whether this list is appropriate for questions > regarding Denemo. Welcome! Some questions may be on topic here, while for the rest you can try Denemo's own mailing lists, see http://sourceforge.net/mail/?group_id=1952 -- Feri. ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
Greetings and a question
Hello everyone: I'm currently writing a profile of LilyPond and am learning how to use it via the tutorial and other packaged documentation. I'm also testing the various input facilitators (NoteEdit, Denemo, emacs, vi, Rosegarden). Hopefully I'll be able to find answers here if/when I get snagged by difficulties, but so far things are going well. I'll be testing some of LilyPond's own input filters today. My question now is whether this list is appropriate for questions regarding Denemo. I've compiled the CVS sources with GTK2, but I'm receiving some errors I'd like to resolve and I've uncovered at least one fatal bug. I'm just not sure who gets the report... Anyway, LilyPond is great Linux software, my congratulations to all the developers for this excellent work. Best regards, Dave Phillips ___ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user