Re: Music for the Martians?
In message [EMAIL PROTECTED], Arjan Bos [EMAIL PROTECTED] writes When trying to be helpful and create a patch, I noticed that the development switched from CVS to GIT. Why? Now I have to find out what git is, how it works and how to get it. First try Fink as that's the semi-default package manager on Darwin. It cannot connect to cvs to update itself. The error message tells me to try again later. Mmph, only later it still doesn't work. Turns out I have to run an update script that is almost guaranteed not to work and which should be babysitted for several hours. Hate. Maybe because GIT is a lot less work for main developers? With CVS, HanWen has to keep a master tree, and every time he updates, everyone else has to throw away their development tree, take a copy of his master, and merge all their changes back in. With GIT, when that happens, the other developers simply say merge all HanWen's changes into my tree - there is NO master tree. Makes life so much easier as the number of developers starts rising. Cheers, Wol -- Anthony W. Youngman - [EMAIL PROTECTED] ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music for the Martians?
Please find included the untested patch for more fingers. diff --git a/scm/output-lib.scm b/scm/output-lib.scm index 2978f3b..d92f30c 100644 --- a/scm/output-lib.scm +++ b/scm/output-lib.scm @@ -416,7 +416,7 @@ centered, X==1 is at the right, X == -1 (if ( digit 5) (ly:input-message (ly:event-property event 'origin) - Music for the martians)) + (string-append Warning: Fingering notation for finger number (number-string digit (number-string digit 10) )) And why it took so long: Mmph, Software hate alert! (Oh and please, do not answer this part as I won't react to it) Let me bore you with my rant on how to create a patch as requested: rant When trying to be helpful and create a patch, I noticed that the development switched from CVS to GIT. Why? Now I have to find out what git is, how it works and how to get it. First try Fink as that's the semi-default package manager on Darwin. It cannot connect to cvs to update itself. The error message tells me to try again later. Mmph, only later it still doesn't work. Turns out I have to run an update script that is almost guaranteed not to work and which should be babysitted for several hours. Hate. Then it turns out that Fink doesn't know about git either, so I have to get it myself. Grab the tar, put it in /usr/local/src/ and run ./configure. What? No configure? Why does it not adhere to some sane standards! Now I have to read the install file. Ok I have to run make configure first. Why didn't they do that for me in the release version? Hate. Make configure ./configure Make all docs make: *** [doc] Error 2. Turns out I don't have asciidoc and neither does fink. How stupid. So where do I find a correct version of asciidoc and why didn't ./configure tell me that I needed it? Hate. Where can I find has asciidoc? Stupid sourceforge has it which cannot handle its own bandwith. So I have to wait 25 minutes for it to download 743KBytes. On a 4Mbit ADSL line. I hate that! asciidoc requires python 2.4.2. How do I find out the version number? arjanbos$ python --version Unknown option: -- usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ... Try `python -h' for more information. I hate that when programs don't adhere to sane standards. arjanbos$ python -V Python 2.4.2 I have to install it like this: $ su # ./install.sh What? I don't even have a root account enabled on this machine! Why do you want me to become root you stupid program! So asciidoc is installed, Will git compile now? make[1]: xmlto: Command not found make[1]: *** [git-add.1] Error 127 Please? What is xmlto? Luckily fink knows about it. And apparently, it has to install 35 extra packages to do some simple xml. Then I have to checkout the source-code from git. This takes ages! What is it doing? Why does it have to resolve 14885 deltas when it could just get me the latest source? So finally I'm in a position where I can find the message, make the change and be done with it. So let git show the diff git diff diff --git a/scm/output-lib.scm b/scm/output-lib.scm index 2978f3b..4e2ac2a 100644 --- a/scm/output-lib.scm +++ b/scm/output-lib.scm @@ -416,7 +416,7 @@ centered, X==1 is at the right, X == -1 (if ( digit 5) (ly:input-message (ly:event-property event 'origin) - Music for the martians)) + (string-append Warning: Fingering notation for finger (number-string digit 10) )) Wait a minute! This is not right, I'm missing all kinds of closing parentheses, plus the rest of my patch. Why can't the diff of git do a wrap like emacs does? Now I have to pipe the output to a text file, open the text file and cut and paste it into this message. Why that extra step. Anyway, the complete and untested patch is at the top of this e-mail. So after 9 hours of swearing and hunting and waiting I was able to start looking at the patch. This is not why I switched to Mac OS X! It should just work! Maybe all those oss hackers have too much time on their hands, but I haven't! /rant But since LilyPond is such a wonderful piece of work, it was all worth it. Arjan On 25 nov 2006, at 1:03, Han-Wen Nienhuys wrote: Arjan Bos escreveu: So please remove it, or if it is felt that it is a just message, please state that it something like: Warning: fingering notation for finger number n. I vote for the latter. Patches/pushes appreciated. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com --- Don't put your trust in revolutions. They always come around again. That's why they're called revolutions. People die, and nothing changes. -- (Terry Pratchett, Night Watch) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo
Re: Music for the Martians?
Arjan Bos [EMAIL PROTECTED] writes: Mmph, Software hate alert! (Oh and please, do not answer this part as I won't react to it) Too late. So after 9 hours of swearing and hunting and waiting I was able to start looking at the patch. This is not why I switched to Mac OS X! Maybe you should ask Apple to fix common free software installation. There is no excuse why installing git should be more difficult than sudo apt-get install git Jan. -- Jan Nieuwenhuizen [EMAIL PROTECTED] | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music for the Martians?
So after 9 hours of swearing and hunting and waiting I was able to start looking at the patch. This is not why I switched to Mac OS X! I'll bet... look here: http://www.youtube.com/watch?v=9OCWnXNj42Umode=relatedsearch= and here: http://www.youtube.com/watch?v=Gfexq4Y7Dl4mode=relatedsearch= and here is something good about upgrading a mac: http://www.youtube.com/watch?v=MqApfSy3M1kmode=relatedsearch= I do like my macbook, mind you, since it gives me a sense of superiority to balance my personal shortcomings (like being the slimsmart guy in the ads) but just where did all that great Atari stuff go... Manuel ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music for the Martians?
On Thursday 23 November 2006 20:29, Arjan Bos wrote: On 23 nov 2006, at 3:10, Graham Percival wrote: I think this is referring to people with 6-fingers. Typing e8_1 means first finger; typing e8_1 prints 1 as a TextScript. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? Yes, but somebody was feeling creative when they wrote that code. :) What message do you propose to change it with? I thought about that and I know that it is non-sensical to have 6 in there as a finger indication. But I decided to put it in and it is right to put it in for my purpose, otherwise it wouldn't be in. So I feel that this message can be safely removed from lilypond. Oh, and 2.8 didn't have that message and I did not confuse myself with six fingers either there ;-) So please remove it, or if it is felt that it is a just message, please state that it something like: Warning: fingering notation for finger number n. Maybe also add a constructive hint, something like: Warning: fingering notation for finger number n. Did you intend to use \markup? where n is greater than 5, or 4 depending on the instrument being described. In guitar music, we normally only deal with four fingers as the thumb is at the other side of the neck. So here it would be appropriate to give the message at finger number 5. Since it's clearly instrument dependent, and lilypond doesn't know about the instrument that the music is intended for, it is a strong indication that you cannot tell when to display this warning. So this is in favour of removing it. BTW, I think I have heard of a professional pianist who had six fingers on one of his hands; he would have a valid excuse for writing 6. Luckily for him, it is fairly easy to manually \override Fingering.text to a similar function that doesn't give a warning. -- Erik ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Music for the Martians?
On 23 nov 2006, at 3:10, Graham Percival wrote: I think this is referring to people with 6-fingers. Typing e8_1 means first finger; typing e8_1 prints 1 as a TextScript. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? Yes, but somebody was feeling creative when they wrote that code. :) What message do you propose to change it with? I thought about that and I know that it is non-sensical to have 6 in there as a finger indication. But I decided to put it in and it is right to put it in for my purpose, otherwise it wouldn't be in. So I feel that this message can be safely removed from lilypond. Oh, and 2.8 didn't have that message and I did not confuse myself with six fingers either there ;-) So please remove it, or if it is felt that it is a just message, please state that it something like: Warning: fingering notation for finger number n. where n is greater than 5, or 4 depending on the instrument being described. In guitar music, we normally only deal with four fingers as the thumb is at the other side of the neck. So here it would be appropriate to give the message at finger number 5. Since it's clearly instrument dependent, and lilypond doesn't know about the instrument that the music is intended for, it is a strong indication that you cannot tell when to display this warning. So this is in favour of removing it. Groetjes, Arjan --- They both savoured the strange warm glow of being much more ignorant than ordinary people, who were only ignorant of ordinary things. -- Discworld scientists at work (Terry Pratchett, Equal Rites) --- It was funny how people were people everywhere you went, even if the people concerned weren't the people the people who made up the phrase people are people everywhere had traditionally thought of as people. And even if you weren't virtuous, as you had been brought up to understand the term, you did like to see virtue in other people, provided it didn't cost you anything. -- (Terry Pratchett, The Fifth Elephant) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music for the Martians?
Arjan Bos escreveu: So please remove it, or if it is felt that it is a just message, please state that it something like: Warning: fingering notation for finger number n. I vote for the latter. Patches/pushes appreciated. -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Music for the Martians?
Dear List, When upgrading from 2.8.6 to 2.10.0 one of my files was producing this strange error message: Preprocessing graphical objects... /Users/arjanbos/Music/Gitaarles/Boek-2/MusicForTheMartians.ly:12:28: Music for the martians e8_1 e_2 e_3 f_4 f_5 f _6 | What is music for the martians? The purpose of the file is to help beginning classical guitar players to understand a 6/8 beat. The numbers are there to indicate the counting. The solution I found is to simply put the f_6 as f_6. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? But I know that already, and obviously I want the 6 to be in, otherwise it wouldn't be in. So clearly it is not meant to indicate a finger, so I feel that the message can safely be removed from Lilypond. ;-) The smallest file I found to reproduce it is \version 2.10.0 \score { \context Staff = guitar { \key c \major \time 6/8 \relative c'' { e8_1 e_2 e_3 f_4 f_5 f_6 | } } } --- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Music for the Martians?
Dear List, When upgrading from 2.8.6 to 2.10.0 one of my files was producing this strange error message: Preprocessing graphical objects... /Users/arjanbos/Music/Gitaarles/Boek-2/MusicForTheMartians.ly:12:28: Music for the martians e8_1 e_2 e_3 f_4 f_5 f _6 | What is music for the martians? The purpose of the file is to help beginning classical guitar players to understand a 6/8 beat. The numbers are there to indicate the counting. The solution I found is to simply put the f_6 as f_6. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? But I know that already, and obviously I want the 6 to be in, otherwise it wouldn't be in. So clearly it is not meant to indicate a finger, so I feel that the message can safely be removed from Lilypond. ;-) The smallest file I found to reproduce it is \version 2.10.0 \score { \context Staff = guitar { \key c \major \time 6/8 \relative c'' { e8_1 e_2 e_3 f_4 f_5 f_6 | } } } --- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Music for the Martians?
Dear List, When upgrading from 2.8.6 to 2.10.0 one of my files was producing this strange error message: Preprocessing graphical objects... /Users/arjanbos/Music/Gitaarles/Boek-2/MusicForTheMartians.ly:12:28: Music for the martians e8_1 e_2 e_3 f_4 f_5 f _6 | What is music for the martians? The purpose of the file is to help beginning classical guitar players to understand a 6/8 beat. The numbers are there to indicate the counting. The solution I found is to simply put the f_6 as f_6. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? But I know that already, and obviously I want the 6 to be in, otherwise it wouldn't be in. So clearly it is not meant to indicate a finger, so I feel that the message can safely be removed from Lilypond. ;-) The smallest file I found to reproduce it is \version 2.10.0 \score { \context Staff = guitar { \key c \major \time 6/8 \relative c'' { e8_1 e_2 e_3 f_4 f_5 f_6 | } } } --- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music for the Martians?
[EMAIL PROTECTED] wrote: /Users/arjanbos/Music/Gitaarles/Boek-2/MusicForTheMartians.ly:12:28: Music for the martians e8_1 e_2 e_3 f_4 f_5 f _6 | What is music for the martians? I think this is referring to people with 6-fingers. Typing e8_1 means first finger; typing e8_1 prints 1 as a TextScript. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? Yes, but somebody was feeling creative when they wrote that code. :) What message do you propose to change it with? Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Music for the Martians?
For pedagogical purposes, ¿wouldn't it be better if the timing was shown in a different font than the font used for fingerings? Such as: %% \version 2.10.0 \score { \context Staff = guitar { \key c \major \time 6/8 \relative c'' { { e8 e e f f f } \\ { s8_\markup{\italic{1}} s8_\markup{\italic{2}} s8_\markup{\italic{3}} s8_\markup{\italic{4}} s8_\markup{\italic{5}} s8_\markup{\italic{6}} } } } } %% 2006/11/22, Graham Percival [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: /Users/arjanbos/Music/Gitaarles/Boek-2/MusicForTheMartians.ly:12:28: Music for the martians e8_1 e_2 e_3 f_4 f_5 f _6 | What is music for the martians? I think this is referring to people with 6-fingers. Typing e8_1 means first finger; typing e8_1 prints 1 as a TextScript. But what are martians and why are they playing my music? Shouldn't this message simply state that a 6 is a strange number to indicate a finger with? Yes, but somebody was feeling creative when they wrote that code. :) What message do you propose to change it with? Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- Daniel Tonda C. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user