Re: Looking for proper beam grouping
Graham Percival wrote Sunday, March 29, 2009 4:12 AM On Sat, Mar 28, 2009 at 08:38:08PM +, Anthony W. Youngman wrote: In message <3cbf99092d5f4e77a0cae01edf7be...@trevorlaptop>, Trevor Daniels writes You'll be pleased to know the revert will not be required at all in 2.13.1 to obtain this beaming. It works fine now. But (as others have mentioned) why not in 2.12.3? imho it's a bug, and as such ought to be fixed. Due to limited resources, we're finished with 2.12. The next stable version, 2.14, will probably be out in 4-6 months. If you don't like this, then please volunteer to spend 10 hours a week backporting things to 2.12, plus something like 100 hours learning git, the lilypond build process, testing lilypond builds, etc. Also, this change is just one of many I made to the auto-beaming defaults in the same commit. These have the potential to change (that's a euphemism for screw-up) the beaming of existing scores. I do not intend to apply such a change to a stable release before it has been properly evaluated and tested in a development release; nor should you. Especially when there is a simple documented work-around. Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Looking for proper beam grouping
On Sat, Mar 28, 2009 at 08:38:08PM +, Anthony W. Youngman wrote: > In message <3cbf99092d5f4e77a0cae01edf7be...@trevorlaptop>, Trevor > Daniels writes >> >> You'll be pleased to know the revert will not be required >> at all in 2.13.1 to obtain this beaming. >> > It works fine now. But (as others have mentioned) why not in 2.12.3? > imho it's a bug, and as such ought to be fixed. Due to limited resources, we're finished with 2.12. The next stable version, 2.14, will probably be out in 4-6 months. If you don't like this, then please volunteer to spend 10 hours a week backporting things to 2.12, plus something like 100 hours learning git, the lilypond build process, testing lilypond builds, etc. And no, I'm not going to revisit this decision by people whining. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Strange Change Staff behavior
Alberto Simões alfarrabio.di.uminho.pt> writes: > > Hello. > > I am having a strange behavior with Change Staff. It is not easy to > explain as it is quite strange. Basically, I am having a voice defined > to be drawn on the lower staff, and it is appearing in the upper staff. > > As it is not easy to explain, I am sending the lilypond file in attach. > What is happening: lowerB voice is being drawn in the upper staff. > > Thanks for any help > Alberto Alberto, Are you using Windows? I ask, because when I compiled your file I got pages and pages of warnings. When a file is not working properly, if you're not using a terminal window to run LilyPond (so the warnings and errors show up on the screen), you should look at the .log file that is created. It will have information that will help you track down your error. There were lots of warnings, which appeared to me to be the result of not properly instantiating voices. So I went through your music and explicitly instantiated the voices, as recommended in the NR section on polyphony. I think it's working properly now. HTH, Carl \header { title = "Cristo Ressuscitou" composer = "J. dos Santos" poet = "P. Minhava" tagline = "Transcrita por Alberto Simões" ocasioes = "entrada" seccao = "entrada" } global = { \key ees \major \time 2/4 } melody = \relative c' { \clef treble \global \autoBeamOff r4\f ees8^\markup{Coro} g \bar "|:" bes bes g bes ees4( c) bes2 c4 f,( \break f8) g aes f bes4 ees8 c aes aes c aes f2 ees2 ~ ees8 \fermata d^\p d d g4 f8 f g g d d g g a a g2 ~ g8 a bes c d4 ees8 c d8 g, a bes c d ees c d4 bes8 bes g g f f g2 ~ g8 r ees g \bar ":|" } text = \lyricmode { A- le- lu- ia! A- le- lu- ia! Cris- to res- sus- ci- tou. A- le- lu- ia! A- le- lu- ia! Não pro- cu- reis en- tre_as som- bras a pes- so- a de Je- sus. Res- sus- ci- tou: e- ra_a Vi- da. Bri- lhe_en- tre vós: é a Luz. Bri- lhe_en- tre vós: é a Luz. A- le- } upperA = \new Voice = "upA" { \voiceOne \relative c' { r4 ees8[( g]\bar "|:" 4) g8[( bes] 4) c8[( ees] 4) ees8[( g] c[ bes aes g] f[ ees d c] bes4 ees8[( c] aes4) c8([ aes] f2 ees2 ~ ees8) \fermata d8([ d d] g4 f g d g a g2 ~ g8) a[( bes c] 4) ( ) ( ) ( ) ( ) ( 2) ~ 8 r ees[ g] \bar ":|" } } upperB = \new Voice = "upB" { \voiceTwo \relative c { \change Staff = "lower" ees4--( \change Staff = "upper" ees'4) 4 g c' ees' -- r4 -- r4 -- r -- r d2 bes ~ bes8 r c4( bes) c( b) c( bes) c( b) c( bes8) r8 r4 s2 s2 s2 s2 s2 s2 s4 ees } } upper = { \new Staff = "upper" \global \clef treble << \upperA \upperB >> } lowerA = \new Voice = "lowA" { \voiceOne \relative c' { s2 \bar "|:" s2 s2 s2 s2 s2 s2 s2 bes4 c8[( aes] g2) ~ g8 r r4 r8 d8[ d d] g4 f8[ f] g[ g] d[ d] g[ g] a[ a] g r8 r4 } } lowerB = \new Voice = "lowB" { \voiceTwo \relative c' { s2 \bar "|:" s2 s2 s2 s2 s2 bes2 ~ bes ~ bes4 bes,( ees) bes8[( g] ees)_\fermata s8 s4 g2 ~ g2 ~ g2 ~ g2 ~ g8 s8 s4 c'2 ~ c ~ c ~ c ~ c ~ c ~ c8 r8 s4 } } lower = { \new Staff = "lower" \global \clef bass << \lowerA \lowerB >> } \score { << \new Voice = "mel" { \autoBeamOff \melody } \new Lyrics \lyricsto mel \text \new PianoStaff << \upper \lower >> >> \layout { \context { \RemoveEmptyStaffContext } } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 63 4) } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Strange Change Staff behavior
2009/3/28 Neil Puttock : > I think you've uncovered a bug related to \change Staff here; if you > remove the \change Staff = "lower", the file compiles fine. Until > it's fixed you'll have to place the cross-staff notes in one of the > lower voices. > > Here's a snippet which may be a manifestation of the same bug, but > with slightly different results (taken from the regtest > spacing-knee-compressed.ly): Having looked at the source code, they're definitely the same bug. You can scrub the advice I gave above if you explicitly instantiate your voices, since this tricks the iterator into thinking it's already changed contexts when the first \change Staff comes along (it compares it to Voice rather than Staff). \version "2.12.2" \header { title = "Cristo Ressuscitou" composer = "J. dos Santos" poet = "P. Minhava" tagline = "Transcrita por Alberto Simões" ocasioes = "entrada" seccao = "entrada" } global = { \key ees \major \time 2/4 } melody = \relative c' { \clef treble \global \autoBeamOff r4\f ees8^\markup{Coro} g \bar "|:" bes bes g bes ees4( c) bes2 c4 f,( \break f8) g aes f bes4 ees8 c aes aes c aes f2 ees2 ~ ees8 \fermata d^\p d d g4 f8 f g g d d g g a a g2 ~ g8 a bes c d4 ees8 c d8 g, a bes c d ees c d4 bes8 bes g g f f g2 ~ g8 r ees g \bar ":|" } text = \lyricmode { A- le- lu- ia! A- le- lu- ia! Cris- to res- sus- ci- tou. A- le- lu- ia! A- le- lu- ia! Não pro- cu- reis en- tre_as som- bras a pes- so- a de Je- sus. Res- sus- ci- tou: e- ra_a Vi- da. Bri- lhe_en- tre vós: é a Luz. Bri- lhe_en- tre vós: é a Luz. A- le- } upperA = \new Voice \relative c' { r4 \voiceOne ees8[( g]\bar "|:" 4) g8[( bes] 4) c8[( ees] 4) ees8[( g] c[ bes aes g] f[ ees d c] bes4 ees8[( c] aes4) c8([ aes] f2 ees2 ~ ees8) \fermata d8([ d d] g4 f g d g a g2 ~ g8) a[( bes c] 4) ( ) ( ) ( ) ( ) ( 2) ~ 8 r ees[ g] \bar ":|" } upperB = \new Voice \relative c { \voiceTwo \change Staff = "lower" ees4(-- \change Staff = "upper" ees'4) 4 g c' ees' -- r4 -- r4 -- r -- r d2 bes ~ bes8 r c4( bes) c( b) c( bes) c( b) c( bes8) r8 r4 s2 s2 s2 s2 s2 s2 s4 ees } upper = { \global \clef treble << \upperA \\ \upperB >> } lowerA = \relative c' { s2 \bar "|:" s2 s2 s2 s2 s2 s2 s2 bes4 c8[( aes] g2) ~ g8 r r4 r8 d8[ d d] g4 f8[ f] g[ g] d[ d] g[ g] a[ a] g r8 r4 } lowerB = \relative c' { s2 \bar "|:" s2 s2 s2 s2 s2 bes2 ~ bes ~ bes4 bes,( ees) bes8[( g] ees)_\fermata s8 s4 g2 ~ g2 ~ g2 ~ g2 ~ g8 s8 s4 c'2 ~ c ~ c ~ c ~ c ~ c ~ c8 r8 s4 } lower = { \global \clef bass << \lowerA \\ \lowerB >> } \score { << \new Voice = "mel" { \autoBeamOff \melody } \new Lyrics \lyricsto mel \text \new PianoStaff << \new Staff = "upper" \upper \new Staff = "lower" \lower >> >> \layout { \context { \RemoveEmptyStaffContext } } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 63 4) } } } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Strange Change Staff behavior
2009/3/28 Alberto Simões : > Hello. > > I am having a strange behavior with Change Staff. It is not easy to > explain as it is quite strange. Basically, I am having a voice defined > to be drawn on the lower staff, and it is appearing in the upper staff. [copying to bug-lilypond] I think you've uncovered a bug related to \change Staff here; if you remove the \change Staff = "lower", the file compiles fine. Until it's fixed you'll have to place the cross-staff notes in one of the lower voices. Here's a snippet which may be a manifestation of the same bug, but with slightly different results (taken from the regtest spacing-knee-compressed.ly): << \new Staff ="rh" { s2 } \new Staff ="lh" { \repeat unfold 2 { \change Staff = "rh" a'8 \change Staff = "lh" a'8 } } >> The first note appears in the wrong stave, and the following error messages appear, warning: Change_iterator::process (): Staff = `lh': warning: cannot change `Staff' to `rh': not changing to same context type: Staff \change Staff = "rh" which suggests that the iterator has missed the first \change for some reason. Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: invisible slurs in tablature
Neil Puttock wrote: 2009/3/28 Grammostola Rosea : Hi, I want to get invisible slurs in tablature... how? Simply \override Slur #'transparent in the same way as you've done for the other objects in your TabStaff context. Why aren't you using ties though (http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-rhythms#Ties)? You're right, thanks! Btw it's time to make tablature with invisible Ties, Slurs, Dots, Stems etc. default imo. \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: invisible slurs in tablature
2009/3/28 Grammostola Rosea : > > Hi, > > I want to get invisible slurs in tablature... how? Simply \override Slur #'transparent in the same way as you've done for the other objects in your TabStaff context. Why aren't you using ties though (http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-rhythms#Ties)? Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat percent and chords
2009/3/28 Robin Bannister : > Neil Puttock wrote: >> >> it's possible to duplicate its code in Scheme: > > Or its appearance in markup ;-) > > simile = \markup { > \combine \translate #'(0.3 . 1.5) \draw-circle #0.2 #0 ##t \combine > \translate #'(1.7 . 0.5) \draw-circle #0.2 #0 ##t \rotate #90 > \translate#'(0 . 2) \beam #2 #-1 #0.5 } Heheh, that's much simpler, though it's not exactly the same as the real thing partly due to \beam using round-filled-box. :) Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
On 28 Mar 2009, at 22:32, Tim McNamara wrote: cd /applications That's odd, usually that would be: cd /Applications OS X's HFS+ filesystem is capitalization-challenged. cd / applications works as does cd /Applications. This is the case on Mac OS X 10.4, but I'm not sure under 10.5 - I run the case-sensitive (journaled), so I can't check - it would be fun to know. Case-insensitivity in the underlying Unix causes problems. Hans ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Strange Change Staff behavior
Hello. I am having a strange behavior with Change Staff. It is not easy to explain as it is quite strange. Basically, I am having a voice defined to be drawn on the lower staff, and it is appearing in the upper staff. As it is not easy to explain, I am sending the lilypond file in attach. What is happening: lowerB voice is being drawn in the upper staff. Thanks for any help Alberto -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal \version "2.12.2" \header { title = "Cristo Ressuscitou" composer = "J. dos Santos" poet = "P. Minhava" tagline = "Transcrita por Alberto Simões" ocasioes = "entrada" seccao = "entrada" } global = { \key ees \major \time 2/4 } melody = \relative c' { \clef treble \global \autoBeamOff r4\f ees8^\markup{Coro} g \bar "|:" bes bes g bes ees4( c) bes2 c4 f,( \break f8) g aes f bes4 ees8 c aes aes c aes f2 ees2 ~ ees8 \fermata d^\p d d g4 f8 f g g d d g g a a g2 ~ g8 a bes c d4 ees8 c d8 g, a bes c d ees c d4 bes8 bes g g f f g2 ~ g8 r ees g \bar ":|" } text = \lyricmode { A- le- lu- ia! A- le- lu- ia! Cris- to res- sus- ci- tou. A- le- lu- ia! A- le- lu- ia! Não pro- cu- reis en- tre_as som- bras a pes- so- a de Je- sus. Res- sus- ci- tou: e- ra_a Vi- da. Bri- lhe_en- tre vós: é a Luz. Bri- lhe_en- tre vós: é a Luz. A- le- } upperA = \relative c' { r4 ees8[( g]\bar "|:" 4) g8[( bes] 4) c8[( ees] 4) ees8[( g] c[ bes aes g] f[ ees d c] bes4 ees8[( c] aes4) c8([ aes] f2 ees2 ~ ees8) \fermata d8([ d d] g4 f g d g a g2 ~ g8) a[( bes c] 4) ( ) ( ) ( ) ( ) ( 2) ~ 8 r ees[ g] \bar ":|" } upperB = \relative c { \change Staff = "lower" ees4(-- \change Staff = "upper" ees'4) 4 g c' ees' -- r4 -- r4 -- r -- r d2 bes ~ bes8 r c4( bes) c( b) c( bes) c( b) c( bes8) r8 r4 s2 s2 s2 s2 s2 s2 s4 ees } upper = { \global \clef treble << \upperA \\ \upperB >> } lowerA = \relative c' { s2 \bar "|:" s2 s2 s2 s2 s2 s2 s2 bes4 c8[( aes] g2) ~ g8 r r4 r8 d8[ d d] g4 f8[ f] g[ g] d[ d] g[ g] a[ a] g r8 r4 } lowerB = \relative c' { s2 \bar "|:" s2 s2 s2 s2 s2 bes2 ~ bes ~ bes4 bes,( ees) bes8[( g] ees)_\fermata s8 s4 g2 ~ g2 ~ g2 ~ g2 ~ g8 s8 s4 c'2 ~ c ~ c ~ c ~ c ~ c ~ c8 r8 s4 } lower = { \global \clef bass << \lowerA \\ \lowerB >> } \score { << \new Voice = "mel" { \autoBeamOff \melody } \new Lyrics \lyricsto mel \text \new PianoStaff << \new Staff = "upper" \upper \new Staff = "lower" \lower >> >> \layout { \context { \RemoveEmptyStaffContext } } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 63 4) } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with jEdit
Father Gordon Gilbert wrote: Bertalan said I should install 4.3pre16, so I tried that, but I couldn't see a version for Ubuntu, so I picked the Java version, and although it said it installed it, I couldn't find any change in the version when I fired it up. Still 4.3pre13. Anybody any ideas how to install the latest on Ubuntu? Gordon+ Ok I just got the 4.3pre16 version and LilypondTool is there, just as Bertalan said. It's installed and working properly. I did have to go into the plugin options, choose Lilypond Tool, and set the correct path to Lilypond. It was trying to find Lilypond as if it were a Windows machine. Did you remove the old Jedit with your package manager before installing the new version? If not, that's probably why it still opens the pre13 version. BTW the Debian package is what you want for installing on Ubuntu. -- Jonathan Kulp http://www.jonathankulp.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Help with jEdit
If you install the beta of Ubuntu 9.04 it has jEdit 4.3pre16 in the distribution. You can upgrade to 9.04 (assuming you have a treasonably fast internet connection) by opening a terminal window and entering "sudo update-manager -d" (without the quotes). Nick From: lilypond-user-bounces+nick.payne=internode.on@gnu.org [mailto:lilypond-user-bounces+nick.payne=internode.on@gnu.org] On Behalf Of Father Gordon Gilbert Sent: Sunday, 29 March 2009 08:15 To: Jonathan Kulp Cc: lilypond-user@gnu.org Subject: Re: Help with jEdit Bertalan said I should install 4.3pre16, so I tried that, but I couldn't see a version for Ubuntu, so I picked the Java version, and although it said it installed it, I couldn't find any change in the version when I fired it up. Still 4.3pre13. Anybody any ideas how to install the latest on Ubuntu? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
On Mar 28, 2009, at 12:00 PM, James E. Bailey wrote: Am 27.03.2009 um 00:04 schrieb istlota: As it turns out, midi2ly is bundled inside of the MAC OS lilypond.app file. The trick is knowing how to access it. Here is a link to instructions on how to access midi2ly on a MAC: http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/ Setup-for-MacOS-X http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/ Setup-for-MacOS-X 1) Download the latest version of Python as described in the link. 2) Use Spotlight or Finder to figure out where lilypond.app is installed. On my Mac, no surprise, it is in my Applications folder. 3) Open a Terminal window and CD to the Applications window. In my case, I issued the following command: cd /applications That's odd, usually that would be: cd /Applications OS X's HFS+ filesystem is capitalization-challenged. cd / applications works as does cd /Applications. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with jEdit
Bertalan said I should install 4.3pre16, so I tried that, but I couldn't see a version for Ubuntu, so I picked the Java version, and although it said it installed it, I couldn't find any change in the version when I fired it up. Still 4.3pre13. Anybody any ideas how to install the latest on Ubuntu? Gordon+ On 28/03/2009, Jonathan Kulp wrote: > > Father Gordon Gilbert wrote: > >> Hi all, >> >> I've recently obtained a Compaq laptop with Windoze XP Home on one >> partition, and Ubuntu 8.10 on the other. I've successfully configured jEdit >> with the LilyPondTool plugin on the Windoze side, but I've just installed >> jEdit 4.3pre13 (from the distro) on the Ubuntu side. Now I've downloaded >> the plugin list, but I don't see LilyPondTool. Is there something I'm doing >> wrong? Or where else do I need to look? >> >> > I had the same problem. Couldn't find the plugin on the Ubuntu side. It's > not a big deal to me since I don't use JEdit but I was trying to show it to > one of my students. It worked on Windows so I just showed her on that side. > > Jon > -- > Jonathan Kulp > http://www.jonathankulp.com > -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cannot find property type-check for `no-spacing-rods'
In message , Kieren MacMillan writes That looks like my old (pre-recent-MetronomeMark improvements) function/macro for making tempo indications... And the error makes it look like it might be a bug in lily anyway, but I don't want to say that because I've been wrong too often - is the code looking for something called "type-check" that should be there and isn't? No... it's just indicating that this old code needs updating. Actually, it should be replaced entirely by a MetronomeMark-based function -- I've got a couple that I will be submitting to LSR soon. Actually, it's fairly new code :-) How "metronome" are your metronome functions? I'm just using it for text like "moderately fast". Cheers, Wol -- Anthony W. Youngman - anth...@thewolery.demon.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
invisible slurs in tablature
Hi, I want to get invisible slurs in tablature... how? This is my score: \header { title = "BLUE BOSSA" composer = "K. Dorham" } global = { \key c \minor \time 4/4 \partial 4 \override TabStaff.Stem #'transparent = ##t %% Makes stems transparent \override TabStaff.Beam #'transparent = ##t %% Makes beams transparent \override TabStaff.Dots #'transparent = ##t \set TabStaff.minimumFret = #3 } chordNames = \chordmode { \global % Akkoordnamen volgen. } jazzGuitar = \relative c' { \global % Muziek volgt hier. g4\4 | g'4.\1 f8\2 es d4 c8\3( c2.\3) bes4 as2) g'4.\1 f8\2( f1\2) g4.\1 es8\2 d\2 c4\3 bes8\3( bes2.\3) as4\4 g2\4 f'4.\2 es8( es1\2) es4.\2 des8\3 c8\3 bes4 as8\4( as2.\4) ges4\4 ges4\4 f8 bes( bes) f\4 as4\4( as1\4) as4\4 g8\4 bes8( bes4.) as8 as4 g8 bes8( bes4.) as8 g1( g2.) g4 } chordsPart = \new ChordNames \chordNames jazzGuitarPart = \new StaffGroup \with { %\consists "Instrument_name_engraver" %instrumentName = "Jazzgitaar" } << \new Staff \with { midiInstrument = "electric guitar (jazz)" } { \clef "treble_8" \jazzGuitar } \new TabStaff \with { stringTunings = #guitar-tuning } \jazzGuitar >> \score { << \chordsPart \jazzGuitarPart >> \layout { } \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 100 4) } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Looking for proper beam grouping
In message <3cbf99092d5f4e77a0cae01edf7be...@trevorlaptop>, Trevor Daniels writes Anthony W. Youngman Saturday, March 28, 2009 3:50 PM In message <73a00026c6f3454c9cf5c090b12d0...@trevorlaptop>, Trevor Daniels writes Just tried to do this (2.12.2) and I'm getting 6/8 beaming in a 3/4 passage :-( Am I doing anything stupid? voiceTimeSig = { \override Staff.TimeSignature #'style = #'() \key f \major \time 3/4 #(revert-auto-beam-setting '(end * * 3 4) 3 4) \set beatGrouping = #'(1 1 1) s2.*8 % mark 1 s2.*6 % mark 2 \time 2/4 s2 \time 4/4 s1 Not really stupid, as the same error catches everyone quite often. It's that Context thing again. From the way you are doing it I guess you are not placing the revert command in every Voice. But in this form it applies only to the Voice context in which it appears. To make the revert apply to every voice in a Staff you need to add 'Staff, and to make it apply to every Voice in every Staff you need to add 'Score, like this: #(revert-auto-beam-setting '(end * * 3 4) 3 4 'Score) Thanks. Also the \set beatGrouping is unnecessary - that is the default grouping in 3/4 time. You'll be pleased to know the revert will not be required at all in 2.13.1 to obtain this beaming. It works fine now. But (as others have mentioned) why not in 2.12.3? imho it's a bug, and as such ought to be fixed. Cheers, Wol -- Anthony W. Youngman - anth...@thewolery.demon.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Help with jEdit
Father Gordon Gilbert wrote: Hi all, I've recently obtained a Compaq laptop with Windoze XP Home on one partition, and Ubuntu 8.10 on the other. I've successfully configured jEdit with the LilyPondTool plugin on the Windoze side, but I've just installed jEdit 4.3pre13 (from the distro) on the Ubuntu side. Now I've downloaded the plugin list, but I don't see LilyPondTool. Is there something I'm doing wrong? Or where else do I need to look? I had the same problem. Couldn't find the plugin on the Ubuntu side. It's not a big deal to me since I don't use JEdit but I was trying to show it to one of my students. It worked on Windows so I just showed her on that side. Jon -- Jonathan Kulp http://www.jonathankulp.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
On 28 Mar 2009, at 20:27, James E. Bailey wrote: I haven't used that editor for a long time - I used the same setup on 10.4. Once one have done the UNIX setup chores, it is very convenient to run from Terminal. Very true, but a user new to lilypond and using OSX 10.4 won't know anything about UNIX setup chores. And it's a very steep learning curve. The hard parts are really in figuring out what I posted. Hans ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
Am 28.03.2009 um 20:14 schrieb Hans Aberg: On 28 Mar 2009, at 19:59, James E. Bailey wrote: Additionally, since midi2ly, like convert-ly, lilypond-book, and lilysong are python scripts, at least on OSX 10.4, in addition to installing a newer version of python, the first line of those files needs to be changed to: #!/usr/bin/env python When all this is done, you have a midi2ly which works as as any other UNIX program. Exactly, the user on 10.5, however is already accustomed to the fact that lilypond is a UNIX program. This is not true for the 10.4 user, where the lilypond editor still works, and has an "update syntax" option that does not work. I haven't used that editor for a long time - I used the same setup on 10.4. Once one have done the UNIX setup chores, it is very convenient to run from Terminal. Hans Very true, but a user new to lilypond and using OSX 10.4 won't know anything about UNIX setup chores. And it's a very steep learning curve. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
On 28 Mar 2009, at 19:59, James E. Bailey wrote: Additionally, since midi2ly, like convert-ly, lilypond-book, and lilysong are python scripts, at least on OSX 10.4, in addition to installing a newer version of python, the first line of those files needs to be changed to: #!/usr/bin/env python When all this is done, you have a midi2ly which works as as any other UNIX program. Exactly, the user on 10.5, however is already accustomed to the fact that lilypond is a UNIX program. This is not true for the 10.4 user, where the lilypond editor still works, and has an "update syntax" option that does not work. I haven't used that editor for a long time - I used the same setup on 10.4. Once one have done the UNIX setup chores, it is very convenient to run from Terminal. Hans ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat percent and chords
Neil Puttock wrote: it's possible to duplicate its code in Scheme: Or its appearance in markup ;-) simile = \markup { \combine \translate #'(0.3 . 1.5) \draw-circle #0.2 #0 ##t \combine \translate #'(1.7 . 0.5) \draw-circle #0.2 #0 ##t \rotate #90 \translate#'(0 . 2) \beam #2 #-1 #0.5 } Cheers, Robin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
Am 28.03.2009 um 18:50 schrieb Hans Aberg: On 28 Mar 2009, at 18:00, James E. Bailey wrote: Additionally, since midi2ly, like convert-ly, lilypond-book, and lilysong are python scripts, at least on OSX 10.4, in addition to installing a newer version of python, the first line of those files needs to be changed to: #!/usr/bin/env python When all this is done, you have a midi2ly which works as as any other UNIX program. Hans Aberg Exactly, the user on 10.5, however is already accustomed to the fact that lilypond is a UNIX program. This is not true for the 10.4 user, where the lilypond editor still works, and has an "update syntax" option that does not work. James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
On 28 Mar 2009, at 18:00, James E. Bailey wrote: Additionally, since midi2ly, like convert-ly, lilypond-book, and lilysong are python scripts, at least on OSX 10.4, in addition to installing a newer version of python, the first line of those files needs to be changed to: #!/usr/bin/env python On Mac OS X 10.5, there is a fairly up-to-date /usr/bin/python. I call this and other programs with scripts containing: exec /Applications/LilyPond.app/Contents/Resources/bin/midi2ly "$@" Possibly (I haven't checked it), one might change that on 10.4 to: alias python='env python' exec /Applications/LilyPond.app/Contents/Resources/bin/midi2ly "$@" and take down the python in Fink or MacPorts. One simple way to create them is, in Terminal, to go to the directory where you want to have the script (I put it in ~/local/bin/ as do not want to clutter ~) and type cat > midi2ly exec /Applications/LilyPond.app/Contents/Resources/bin/midi2ly "$@" ^D where the last is D. Then set it as executable by chmod +x midi.ly Edit the script your using open -a 'My Text Editor' midi2ly One needs to set the environmental variables, which can be done in .profile, or using the RCEnvironment from http://www.rubicode.com/Software/ . My .profile file uses the text below, which enables using programs in / usr/local, MacPorts, Fink, and user, plus MacTex. It might be useful to have a .bashrc file as well, as X11 doesn't read .profile (it doesn't make a bash login shell, see 'man bash'), which might contain: source ~/.profile That is, it just reads .profile. When all this is done, you have a midi2ly which works as as any other UNIX program. Hans Aberg # Add to end of searchpath: append_path() { if ! eval test -z "\"\${$1##*:$2:*}\"" -o -z "\"\${$1%%*:$2}\"" -o - z "\"\${$1##$2:*}\"" -o -z "\"\${$1##$2}\"" ; then eval "$1=\$$1:$2" fi } # Add to beginning of searchpath: prepend_path() { if ! eval test -z "\"\${$1##*:$2:*}\"" -o -z "\"\${$1%%*:$2}\"" -o - z "\"\${$1##$2:*}\"" -o -z "\"\${$1##$2}\"" ; then eval "$1=$2:\$$1" fi } # Set system searchpaths: # In the case a directory may exist (depending on the program) both with and without # parent directory 'share/' (like in the cae of MANPATH and INFOPATH), the 'share/' # version is put first, as it is what is used in /usr on Mac OS X FreeSD UNIX. # The idea is that if a program is somehow adapted to this platform, the the stuff will # be moved to the 'share/' variation, and should thus be ovverride the unadapted versions. PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin MANPATH=/usr/share/man:/usr/X11R6/man INFOPATH=/usr/share/info LIBPATH=/usr/lib:/usr/X11R6/lib # Prepend Fink searchpaths: test -r /sw/bin/init.sh && . /sw/bin/init.sh # Prepend MacPorts (former DarwinPorts) searchpaths: prepend_path PATH /opt/local/bin:/opt/local/sbin prepend_path MANPATH /opt/local/share/man:/opt/local/man prepend_path INFOPATH /opt/local/share/info:/opt/local/info prepend_path LIBPATH /opt/local/lib # Prepend MacTeX paths prepend_path PATH /usr/texbin prepend_path MANPATH /usr/local/texlive/2007/texmf/doc/man prepend_path INFOPATH /usr/local/texlive/2007/texmf/doc/info # Prepend /usr/local/ searchpaths: prepend_path PATH /usr/local/bin:/usr/local/X11R6/bin prepend_path MANPATH /usr/local/share/man:/usr/local/man prepend_path INFOPATH /usr/local/share/info:/usr/local/info prepend_path LIBPATH /usr/local/lib # Prepend $HOME searchpaths: prepend_path PATH $HOME/local/bin prepend_path MANPATH $HOME/local/share/man:$HOME/local/man prepend_path INFOPATH $HOME/local/share/info:$HOME/local/info prepend_path LIBPATH $HOME/local/lib # Export changed paths: export PATH export MANPATH export INFOPATH export LIBPATH ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Looking for proper beam grouping
Anthony W. Youngman Saturday, March 28, 2009 3:50 PM In message <73a00026c6f3454c9cf5c090b12d0...@trevorlaptop>, Trevor Daniels writes Carl, you wrote Tuesday, February 24, 2009 1:43 AM On 2/23/09 12:52 PM, "Maarten Deen" wrote: I have a piece of music in 3/4 which has bars like { d4. c8 b8. a16 } Lilypond groups the last three notes together, making it look like a 6/8 measure, but I want the c8 to be separate and only the b8. a16 to be grouped (like a proper 3/4 would look like). I've tried some settings, like #(override-auto-beam-setting '(end * * * *) 1 4) or \set beatGrouping = #'(4 4 4) but to no avail. The proper way to set beatGrouping is #'(1 1 1), which means group 1 beat, 1 beat 1 beat, where a beat is defined by the time signature as a 1/4 note. But this doesn't work properly, and it should. I think this is a bug in the autobeaming code. Could you please send a bug report to bug-lilypond? This is not a bug. There is still a general auto-beam setting for 3/4 time which inhibits beatGrouping. beatBrouping should work with the override #(revert-auto-beam-setting '(end * * 3 4) 3 4) I was waiting for 2.13 before I completed this work, as changing the default beaming did not seem right during a stable release. Just tried to do this (2.12.2) and I'm getting 6/8 beaming in a 3/4 passage :-( Am I doing anything stupid? voiceTimeSig = { \override Staff.TimeSignature #'style = #'() \key f \major \time 3/4 #(revert-auto-beam-setting '(end * * 3 4) 3 4) \set beatGrouping = #'(1 1 1) s2.*8 % mark 1 s2.*6 % mark 2 \time 2/4 s2 \time 4/4 s1 Not really stupid, as the same error catches everyone quite often. It's that Context thing again. From the way you are doing it I guess you are not placing the revert command in every Voice. But in this form it applies only to the Voice context in which it appears. To make the revert apply to every voice in a Staff you need to add 'Staff, and to make it apply to every Voice in every Staff you need to add 'Score, like this: #(revert-auto-beam-setting '(end * * 3 4) 3 4 'Score) Also the \set beatGrouping is unnecessary - that is the default grouping in 3/4 time. You'll be pleased to know the revert will not be required at all in 2.13.1 to obtain this beaming. HTH Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat percent and chords
2009/3/26 Kees Serier : > I have placed the \layout { ... } at several places in the ly files, and > replaced the two e:m chords with one > > \repeat percent 2 {e:m} > But nothing happens, I get no errors, and still 2 Em chords. > Any ideas? It won't work unless each chord is the duration of a full bar, since \percent repeat uses this to distinguish between slashes and percent symbols. It's probably rather an unsatisfactory solution anyway, since it depends on barlines being present (either added to the ChordNames context if it's on its own, or getting them from staves above/below). For technical reasons, you can't simply override the ChordName stencil using the percent repeat print-function (ly:multi-measure-rest::percent), but it's possible to duplicate its code in Scheme: percentStencil = #(lambda (grob) (define (sqr x) (* x x)) (let* ((font (ly:grob-default-font grob)) (dot (ly:font-get-glyph font "dots.dot")) (thick (ly:grob-property grob 'thickness)) (slope (ly:grob-property grob 'slope)) (dot-kern (- (ly:grob-property grob 'dot-negative-kern 0.75))) (width (/ 2 slope)) (x-ext (cons 0 (+ width (sqrt (+ (sqr (/ thick slope)) (* thick thick)) (y-ext (cons 0 (* width slope))) (slash (ly:make-stencil (list 'repeat-slash width slope thick) x-ext y-ext)) (stil (ly:stencil-combine-at-edge (ly:stencil-combine-at-edge slash X LEFT (ly:stencil-translate-axis dot 1.5 Y) dot-kern) X RIGHT (ly:stencil-translate-axis dot 0.5 Y) dot-kern))) stil)) \score { << \chords { c2 \once \override ChordName #'stencil = \percentStencil c \repeat percent 4 { e4:m } \repeat percent 2 { e1 } } \new Staff \relative c' { c2 c e1 | e | e } >> \layout { \context { \ChordNames \consists "Percent_repeat_engraver" \consists "Slash_repeat_engraver" \override RepeatSlash #'stencil = \percentStencil \override RepeatSlash #'slope = #1 } } } Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
Am 27.03.2009 um 00:04 schrieb istlota: As it turns out, midi2ly is bundled inside of the MAC OS lilypond.app file. The trick is knowing how to access it. Here is a link to instructions on how to access midi2ly on a MAC: http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/ Setup-for-MacOS-X http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/ Setup-for-MacOS-X 1) Download the latest version of Python as described in the link. 2) Use Spotlight or Finder to figure out where lilypond.app is installed. On my Mac, no surprise, it is in my Applications folder. 3) Open a Terminal window and CD to the Applications window. In my case, I issued the following command: cd /applications That's odd, usually that would be: cd /Applications 3) Confirm you can now access midi2ly by issuing the following command, which should display the usage screen for midi2ly: open lilypond.app/Contents/Resources/bin/midi2ly Again, that's odd. Usually this would be: open LilyPond.app/Contents/ Resources/bin/midi2ly… Except midi2ly isn't a program you open, like convert-ly, it's a script that's run on a file. Additionally, since midi2ly, like convert-ly, lilypond-book, and lilysong are python scripts, at least on OSX 10.4, in addition to installing a newer version of python, the first line of those files needs to be changed to: #!/usr/bin/env python James E. Bailey ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cannot find property type-check for `no-spacing-rods'
Hi Anthony, Oops - just found my code that's doing it - but I copied it from somewhere and don't understand what it's doing or why ... tempoMark = #(define-music-function (parser location markp) (string?) #{ \once \override Score . RehearsalMark #'self-alignment-X = #left \once \override Score . RehearsalMark #'no-spacing-rods = ##t \mark \markup { \small \bold $markp } #}) That looks like my old (pre-recent-MetronomeMark improvements) function/macro for making tempo indications... And the error makes it look like it might be a bug in lily anyway, but I don't want to say that because I've been wrong too often - is the code looking for something called "type-check" that should be there and isn't? No... it's just indicating that this old code needs updating. Actually, it should be replaced entirely by a MetronomeMark-based function -- I've got a couple that I will be submitting to LSR soon. Hope this helps, Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cannot find property type-check for `no-spacing-rods'
In message <9nk9hhd$hkzjf...@thewolery.demon.co.uk>, Anthony W. Youngman writes >Not sure if this belongs here or on -devel ... Oops - just found my code that's doing it - but I copied it from somewhere and don't understand what it's doing or why ... tempoMark = #(define-music-function (parser location markp) (string?) #{ \once \override Score . RehearsalMark #'self-alignment-X = #left \once \override Score . RehearsalMark #'no-spacing-rods = ##t \mark \markup { \small \bold $markp } #}) And the error makes it look like it might be a bug in lily anyway, but I don't want to say that because I've been wrong too often - is the code looking for something called "type-check" that should be there and isn't? > >But I've just looked in the log file and found this in there. V 2.12.2 on >Windows (same on V 2.11.59 - I've just upgraded to make sure it isn't a >known/fixed thingy). > >Bearing in mind I don't know what "no-spacing-rods" is, it's an error >internal to lily (which may or may not be something I've done :-) > >Relevant log contents follow: > >Interpreting music... >warning: cannot find property type-check for `no-spacing-rods' (backend- >type?). perhaps a typing error? >warning: doing assignment anyway >[8] >warning: cannot find property type-check for `no-spacing-rods' (backend- >type?). perhaps a typing error? >warning: doing assignment anyway >warning: cannot find property type-check for `no-spacing-rods' (backend- >type?). perhaps a typing error? >warning: doing assignment anyway >[16] >warning: cannot find property type-check for `no-spacing-rods' (backend- >type?). perhaps a typing error? >warning: doing assignment anyway >[24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][15 >2][152] > > >Cheers, >Wol -- Anthony W. Youngman - anth...@thewolery.demon.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: cannot find property type-check for `no-spacing-rods'
2009/3/28 Anthony W. Youngman : > Not sure if this belongs here or on -devel ... > But I've just looked in the log file and found this in there. V 2.12.2 on > Windows (same on V 2.11.59 - I've just upgraded to make sure it isn't a > known/fixed thingy). > > Bearing in mind I don't know what "no-spacing-rods" is, it's an error > internal to lily (which may or may not be something I've done :-) It's an obsolete property which was removed a while ago; there should be a convert-ly rule for it. Try replacing it (assuming it's set to #t) with the following: #'extra-spacing-width = #'(+inf.0 . -inf.0) Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Looking for proper beam grouping
In message <73a00026c6f3454c9cf5c090b12d0...@trevorlaptop>, Trevor Daniels writes > >Carl, you wrote Tuesday, February 24, 2009 1:43 AM > >> On 2/23/09 12:52 PM, "Maarten Deen" wrote: >> >>> I have a piece of music in 3/4 which has bars like { d4. c8 b8. a16 } >>> Lilypond groups the last three notes together, making it look like a >>>6/8 >>> measure, but I want the c8 to be separate and only the b8. a16 to be >>>grouped >>> (like a proper 3/4 would look like). >>> >>> I've tried some settings, like #(override-auto-beam-setting '(end * * * *) >>>1 >>> 4) >>> or \set beatGrouping = #'(4 4 4) but to no avail. >> >> The proper way to set beatGrouping is #'(1 1 1), which means group 1 >>beat, 1 >> beat 1 beat, where a beat is defined by the time signature as a 1/4 >>note. >> >> But this doesn't work properly, and it should. >> >> I think this is a bug in the autobeaming code. Could you please send >>a bug >> report to bug-lilypond? > >This is not a bug. There is still a general auto-beam >setting for 3/4 time which inhibits beatGrouping. > >beatBrouping should work with the override > >#(revert-auto-beam-setting '(end * * 3 4) 3 4) > > >I was waiting for 2.13 before I completed this work, as >changing the default beaming did not seem right during >a stable release. > Just tried to do this (2.12.2) and I'm getting 6/8 beaming in a 3/4 passage :-( Am I doing anything stupid? voiceTimeSig = { \override Staff.TimeSignature #'style = #'() \key f \major \time 3/4 #(revert-auto-beam-setting '(end * * 3 4) 3 4) \set beatGrouping = #'(1 1 1) s2.*8 % mark 1 s2.*6 % mark 2 \time 2/4 s2 \time 4/4 s1 Cheers, Wol -- Anthony W. Youngman - anth...@thewolery.demon.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
cannot find property type-check for `no-spacing-rods'
Not sure if this belongs here or on -devel ... But I've just looked in the log file and found this in there. V 2.12.2 on Windows (same on V 2.11.59 - I've just upgraded to make sure it isn't a known/fixed thingy). Bearing in mind I don't know what "no-spacing-rods" is, it's an error internal to lily (which may or may not be something I've done :-) Relevant log contents follow: Interpreting music... warning: cannot find property type-check for `no-spacing-rods' (backend-type?). perhaps a typing error? warning: doing assignment anyway [8] warning: cannot find property type-check for `no-spacing-rods' (backend-type?). perhaps a typing error? warning: doing assignment anyway warning: cannot find property type-check for `no-spacing-rods' (backend-type?). perhaps a typing error? warning: doing assignment anyway [16] warning: cannot find property type-check for `no-spacing-rods' (backend-type?). perhaps a typing error? warning: doing assignment anyway [24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][15 2][152] Cheers, Wol -- Anthony W. Youngman - anth...@thewolery.demon.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [SOLVED] Re: (simulating) a spanner with multiple "stops"
Thanks Wilbert, this looks quite useful. I could see it inconvenient if one wants both a textspanner in this way AND a decresc. But usable anyway. This puts me to wondering though: If dynamic spanners can be chained like this, how hard would it be to get textspanners to behave the same way? Anybody have any idea? Thanks! Neil On Fri, Mar 27, 2009 at 8:06 AM, Wilbert Berendsen wrote: > Op donderdag 26 maart 2009, schreef Wilbert Berendsen: >> I try to write something like: >> >> poco . . . . . a . . . . . . poco . . . . . . descresc. > > Solved, the trick is quite easy: > > \relative c' { > \set decrescendoSpanner = #'text > \set decrescendoText = "poco" > c\> c c c > \set decrescendoText = "a" > c\> c c c > \set decrescendoText = "poco" > c\> c c c > \set decrescendoText = "decresc." > c\> c\! c c > } > > Cc-ing Neil as this is usable maybe. > > best regards, > Wilbert Berendsen > > -- > Frescobaldi, LilyPond editor for KDE: http://www.frescobaldi.org/ > -- Neil Thornock, D.M. Assistant Professor of Music Composition/Theory Brigham Young University http://neilthornock.net ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using midi2ly
In message <191e48a7-f2c8-41cf-8b6e-b6ebec40d...@math.su.se>, Hans Aberg writes On 28 Mar 2009, at 13:08, Laura Conrad wrote: I might support that if we were setting the example by having an ly2musicXML, but we aren't. Normally one only provide converters to ones own source code format, so people get stuck with it: a form of competition limiting. And who do we have to blame for that ... Curiously, one of the major factors in WordPerfect's rise was the quality of its document converters - both in AND out. People bought a copy so they convert between other formats, and then because everybody had a copy everybody started using it as their main word processor instead of the competition. Cheers, Wol -- Anthony W. Youngman - anth...@thewolery.demon.co.uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using midi2ly
On 28 Mar 2009, at 13:08, Laura Conrad wrote: I might support that if we were setting the example by having an ly2musicXML, but we aren't. Normally one only provide converters to ones own source code format, so people get stuck with it: a form of competition limiting. Hans ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using midi2ly
On 28 Mar 2009, at 10:45, Graham Percival wrote: Frankly, I think we should just remove every *2ly convert apart from musicXML2ly. Nobody wants to work on them, so they just get gradually more and more broken over time. I think they should be there for the hope of somebody coming by in the future. Hans ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly on Mac OS X
As it turns out, midi2ly is bundled inside of the MAC OS lilypond.app file. The trick is knowing how to access it. Here is a link to instructions on how to access midi2ly on a MAC: http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/Setup-for-MacOS-X http://lilypond.org/doc/v2.13/Documentation/user/lilypond-program/Setup-for-MacOS-X 1) Download the latest version of Python as described in the link. 2) Use Spotlight or Finder to figure out where lilypond.app is installed. On my Mac, no surprise, it is in my Applications folder. 3) Open a Terminal window and CD to the Applications window. In my case, I issued the following command: cd /applications 3) Confirm you can now access midi2ly by issuing the following command, which should display the usage screen for midi2ly: open lilypond.app/Contents/Resources/bin/midi2ly -- View this message in context: http://www.nabble.com/midi2ly-on-Mac-OS-X-tp1883496p22732997.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: repeat percent and chords
Neil Puttock schreef: > 2009/3/23 Kees Serier : > > >> I changed the two e:m chords for the following: \repeat percent 2 {e:m} >> What happens is that in the second measure, instead of the percent sign, >> there is nothing (in the MIDI file no chord is played on that measure) >> > > There's no engraver in the ChordNames context to print the percent > sign; simply add the Percent_repeat_engraver: > > \layout { > \context { > \ChordNames > \consists "Percent_repeat_engraver" > } > } > > The percent sign will appear too low, but you can shift it manually > using 'Y-offset. > > Regards, > Neil > Neil, Thanks for your reply, I have placed the \layout { ... } at several places in the ly files, and replaced the two e:m chords with one \repeat percent 2 {e:m} But nothing happens, I get no errors, and still 2 Em chords. Any ideas? Regards, Kees ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Canorus -- help found
M Watts wrote: >/> / >/Try their website/ >/https://canorus.berlios.de/wiki/index.php/Main_Page/ That's where I started, of course. I downloaded the program from there, but I can't find anything like a user guide or tutorial. And the "User's guide" choice on the "Help" menu is grayed out. AFAICT, you're just supposed to know With the latest 0.7 release, available via wget http://download.berlios.de/canorus/canorus_0.7.R1002_source.tar.bz2 the help file gets built as part of the compile process, via a makefile which invokes lyx, in the doc/userguides directory (explained in the Readme) You need to build the docs first b4 building the app, otherwise the help menu remains greyed out. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-book setup for windows
Hello, thanks for the input. After some hours of working with latex and several editors on windows and mac I decided to take the easy road: OpenOffice with the OOoLilypond Macro. It works not always as I thought, but with time I will find some workarounds. Three reasons for the decision: 1. When I write a text I want to focus on the contents. I dont want to see all these formating tags. It is for me also much harder to proof read the text. 2. I am used to work with strongly structured contents.So I will develop my stylesheet and stick to it. It will be similar to the Lilypond-documentation. 3. Most importent: I have the possibility to export the notation and the text to pdf, html and xml. So when there is a need, I can switch back to LaTex. By the way this is for me the easiest way to produce incipits for my wiki. Thanks again Hajo --- ... indessen wandelt harmlos droben das Gestirn On Fri, Mar 27, 2009 at 2:37 PM, Carl D. Sorensen wrote: > > > > On 3/27/09 4:56 AM, "Hajo Dezelski" wrote: > >> I was afraid of that - back to square one - >> >> In the early 90s I had a quarrel with my former boss who wanted to >> force me to TeX and later LaTex and I, working on a Mac, was a vivid >> Wysiwyg advocator. I won. >> >> Now - I have yet not decided which output would be appropriate (pdf or >> html) so I will give it a try with Latex and WinEdt. Is there a >> "stylesheet" for the Lilypond Documentationproject which I can use as >> a starting point without the need to invent my own proper layout? >> >> @Carl: I am still switching between Mac and Windows (jEdit). What kind >> of system are you actually using on your Mac? > > I use Terminal and vim to do my LilyPond editing. I have two terminal > windows open: one with vim, and one with the lilypond command. I write the > file from the vim window, switch to the command window, hit the up arrow key > and the enter key, then switch to the Preview window to see how things came > out. > > I use Preview to display my PDF files. > > I use TeXShop form my LaTeX work. > > I've not done any work with lilypond-book; it's on my to-do list for my > hoped-for guitar songbook. > > As far as a starting point, try the two *.latex files found in > Documentation/user. That should get you started. > > HTH, > > Carl > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bug? Lines disappear with rhythmic staff
Trevor Daniels wrote: Peter Chubb wrote Saturday, March 28, 2009 8:44 AM That's right. I want no lines on the stave for the RhythmicStaff, but I do want lines for the Staff context, and no StaffGroup bracket. The OP didn't say so -- one is not a mind reader ;) Peter Have you tried setting 'line-count of StaffSymbol to 0 rather than removing Staff_symbol_engraver? Trevor Indeed, adding \override StaffSymbol #'line-count = #0 to the RythmicStaff's layout block immediately has things looking better -- but that left a ridiculously tall bar line at the end of the main staff. I tried taking the StaffGroup out altogether, as you don't need a StaffGroup bracket, which seems to "work fine" this time. -- \version "2.12.2" recscore= { \context RhythmicStaff = "tambour" { \override NoteHead #'style = #'cross \stemUp f4 f8 f8 \bar "|." } } lower = \context Staff = "recA" { \clef "G8" a''2 \bar "|." } \score { << \recscore \lower >> \layout { \context{ \RhythmicStaff \remove "Time_signature_engraver" % \remove "Staff_symbol_engraver" \remove "Clef_engraver" % \remove "Bar_engraver" \consists "Instrument_name_engraver" \override BarLine #'transparent = ##t \override StaffSymbol #'line-count = #0 } \context{ \Staff \remove "Time_signature_engraver" } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using midi2ly
> "Graham" == Graham Percival writes: Graham> Frankly, I think we should just remove every *2ly convert Graham> apart from musicXML2ly. Nobody wants to work on them, so Graham> they just get gradually more and more broken over time. I might support that if we were setting the example by having an ly2musicXML, but we aren't. Until then, I think we should keep anything that's usable, even if the patches don't always arrive in time so that people don't have to also run convert-ly. I do occasionally use midi2ly, but I can't claim that it really saves me much if any time, so I wouldn't be terribly upset if it disappeared. But abc2ly definitely saves time and trouble if you have ABC, and it does sort of get maintained, although mostly on a "this works because so-and-so needed it" basis. So if that went away before there was an abc2musicXML that was at least as goood as musicXML2ly, it would be a loss. There's a lot more ABC out there on the web than there is MusicXML. And probably more MIDI than there is ABC. And probably still more etf than there is musicXML, even though Finale users, unlike a lot of other transcribers, do have the musicXML option. -- Laura (mailto:lcon...@laymusic.org http://www.laymusic.org/ ) (617) 661-8097 233 Broadway, Cambridge, MA 02139 I suppose it can be said I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand I've stopped at a lot of green ones but never gotten credit for it. Glenn Gould, quoted in "A Romance on Three Legs" by Katie Hafner ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Help with jEdit
Hi all, I've recently obtained a Compaq laptop with Windoze XP Home on one partition, and Ubuntu 8.10 on the other. I've successfully configured jEdit with the LilyPondTool plugin on the Windoze side, but I've just installed jEdit 4.3pre13 (from the distro) on the Ubuntu side. Now I've downloaded the plugin list, but I don't see LilyPondTool. Is there something I'm doing wrong? Or where else do I need to look? Gordon+ -- Fr. Gordon Gilbert Penetanguishene, ON -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: odd configure error
On Sat, Mar 28, 2009 at 10:21:49AM +, Daniel Hulme wrote: > On Thu, Mar 26, 2009 at 09:06:22PM +0800, Graham Percival wrote: > > On Wed, Mar 25, 2009 at 07:08:40PM +0100, James E. Bailey wrote: > > > > > > GIT from git.sv.gnu.org > > > git clone git://git.sv.gnu.org/lilypond.git > > > > This does not set up easy pulling or pushing in the future, and > > generally assumes that people know how to use git. > I'm not sure what you mean by that. It sets up a remote named 'origin' > and `git pull` works just fine after that. In the general case, `git > push` also works if the remote repository given allows pushing. Huh. Is this new in git 1.6 ? The second-last time I set up git (which admittedly was in the 1.4 days), I had some problem with setting up pulling and pushing after doing a git clone. Admittedly, the problem could have been as simple as not having the correct location -- the URL for ssh is ssh://usern...@git.sv.gnu.org/srv/git/lilypond.git When I set git up on my new laptop a few months ago, it took me about an hour to realize that git push was failing because I had the URL wrong. (note the /src/git/ addition) > Anyway, a quick search of the shows that an option to git clone to only > track one branch was previously suggested and was thought to be a good > idea, so I'm sure they'd be happy to accept a patch to this end. I'm > willing to cook one up and act as liaison on the git mailing list if > we're agreed here that we need it. I definitely think that would be nice! Many contributors (include myself) get confused by the mixture of filesystem and database -- i.e. ~/src/lilypond/ might contain the main source, or the website source, etc. I'd rather have new contributors set up two git repos (~/src/lilypond/ and ~/src/lilypond-web/ ) and then get on with the business of writing patches for lilypond, not wading through git docs and/or feeling confused and helpless with git. In the near future, we'll split lilypond-web/ into a separate git tracker anyway... but translators may still want two separate directories. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: odd configure error
On Thu, Mar 26, 2009 at 09:06:22PM +0800, Graham Percival wrote: > On Wed, Mar 25, 2009 at 07:08:40PM +0100, James E. Bailey wrote: > > > > GIT from git.sv.gnu.org > > git clone git://git.sv.gnu.org/lilypond.git > > This does not set up easy pulling or pushing in the future, and > generally assumes that people know how to use git. I'm not sure what you mean by that. It sets up a remote named 'origin' and `git pull` works just fine after that. In the general case, `git push` also works if the remote repository given allows pushing. > It also downloads all branches, which in most cases is not necessary. That's true, but hardly a huge problem. It's the difference between a .git of 69MB and 110MB, which for many users is negligible; and as for time of checkout, it's long enough either way that you'd go and make a cup of tea while you were waiting. It's hardly enough to consider switching VCSes for, in any case. Anyway, a quick search of the shows that an option to git clone to only track one branch was previously suggested and was thought to be a good idea, so I'm sure they'd be happy to accept a patch to this end. I'm willing to cook one up and act as liaison on the git mailing list if we're agreed here that we need it. -- Kanga said to Roo, "Drink up your milk first, dear, and talk after- wards." So Roo, who was drinking his milk, tried to say that he could do both at once... and had to be patted on the back and dried for quite a long time afterwards. A. A. Milne, 'Winnie-the-Pooh' signature.asc Description: Digital signature ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Using midi2ly
On Sat, Mar 28, 2009 at 06:57:22AM +0100, Martin Tarenskeen wrote: > Which brings me to another question: why a version of midi2ly is > packaged with lilypond and still I have to use convert-ly ? Shouldn't > always midi2ly (and the other xxx2ly converters) be made compatible with > the lilypond version it is packaged with before releasing any official > new lilypond version release ? Or is that easier said than done ? Ah, laddie, ya do nae understan' tha difficulties. midi2ly has a hard road to hoe, and make no mistake! Doomed to remain a frog forever until somebody gives it a kiss... In slightly less "fake Scottish accent that turns into flowery (but normal) English in less than three sentences" language, yes this is simple. It'd take about 30 minutes for me to fix it, and perhaps 4 hours for somebody unfamiliar with the Contributor's Guide and python. *shrug* But hey, nobody cares about midi2ly. I'm certainly not willing to spend 30 minutes fixing it. If anybody wants to create and send patches, I'll evaluate and apply them if they work. Frankly, I think we should just remove every *2ly convert apart from musicXML2ly. Nobody wants to work on them, so they just get gradually more and more broken over time. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bug? Lines disappear with rhythmic staff
Peter Chubb wrote Saturday, March 28, 2009 8:44 AM That's right. I want no lines on the stave for the RhythmicStaff, but I do want lines for the Staff context, and no StaffGroup bracket. Peter Have you tried setting 'line-count of StaffSymbol to 0 rather than removing Staff_symbol_engraver? Trevor ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bug? Lines disappear with rhythmic staff
> "M" == M Watts writes: M> Peter Chubb wrote: >> I'm using the current 2.12.2 version of lilypond. The attached >> file yields, programming error: vertical alignment called before >> line-breaking and no lines on the staff. >> >> If I remove the \bar "|." the output is correct. M> For me, with 2.12.2 on Fedora 10, running your example yields tiny M> staff lines before the clef, but nothing after, and no StaffGroup M> bracket. That's right. I want no lines on the stave for the RhythmicStaff, but I do want lines for the Staff context, and no StaffGroup bracket. M> You seem to have removed the Staff_symbol_engraver from the M> RythmicStaff context -- I left the \bar "|." in, and commented out M> the line M> % \remove "Staff_symbol_engraver" M> , then all worked fine. Why does removing Staff_symbol_engraver from RhythmicStaff affect what happens to Staff??? And in any case it doesn't `work fine' -- you get a line on the RhythmicStaff. I want just the crossed notes. To see an image of what *should* happen, see http://www.mutopiaproject.org/ftp/ArbeauT/Orch/belle/belle-preview.png I'm trying to update this piece to current LilyPond. convert-ly on its own is insufficient: -- can't use TeX escapes for accents and en and em dashes -- it mucks up the addlyrics, so I had to change to a \lyricsto with a specific named Voice -- and the problem I'm having with removing the staff lines for the RhythmicStaff context. As I said, what I want to see is what you get if you remove \bar "|." in the minimal example --- as you can see in the mutopia PNG. -- Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au http://www.ertos.nicta.com.au ERTOS within National ICT Australia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user