Re: BreathingSigns and automatic beams
On Mon, Jun 23, 2014 at 10:24 PM, David Kastrup d...@gnu.org wrote: You don't say which frustration. You apparently want to have automatic beams across breath marks. To me, that does not make a lot of sense. Sorry, I took out too much context from the original message. It's pretty common in horn music (etudes especially - probably other wind music as well) for a breath mark to suggest a possible place to take a breath. (It doesn't necessarily indicate a short pause or break.) Perhaps lilypond's breathe isn't quite right for what I need. Here's how the breath I'm wanting behaves: - The mark generally doesn't affect the music spacing or beaming in any way. - Horizontally it is at the end of a note's duration before the following note (or possibly over a bar line in tight situations). - Vertically it floats above beams and articulations, but below text and tempo markings. Generally you don't see breath marks and slurs together. I'm sure depending on the context it could go either inside or outside the slur. A regular text markup will get most of this except the horizontal positioning. Maybe I'll play with that to see if I can make it work. But since the beam engraver sits at Voice level, that's sort of easy to cheat around: ... breathe = \new Voice \breathe ... Of course, this does not follow \voiceOne/\voiceTwo settings. That's a creative workaround. For what I'm looking for there's only one voice so this would work fine. Thanks. -Jay ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: if/then/else in Lilypond with config file
Hello Johan, for the chords hiding this works perfectly, thank you. However, it doesn't work on the header. If I try to envelop header variables, it stops with an error: Starte lilypond-windows.exe 2.16.2 [score.ly]... »/Path_to_Dropbox/Temp/Lilypond_bool/score.ly« wird verarbeitet Analysieren... /Path_to_Dropbox/Temp/Lilypond_bool/score.ly:9:4: Fehler: syntax error, unexpected MUSIC_FUNCTION \ifDefinedThenElse #'displayHeader /Path_to_Dropbox/Temp/Lilypond_bool/score.ly:11:6: Fehler: syntax error, unexpected STRING title = Some title /Path_to_Dropbox/Temp/Lilypond_bool/score.ly:9:4: Fehler: Fehler gefunden, musikalischer Ausdruck wird ignoriert \ifDefinedThenElse #'displayHeader /Path_to_Dropbox/Temp/Lilypond_bool/score.ly:15:0: Fehler: syntax error, unexpected '}' } schwerer Fehler: gescheiterte Dateien: /Path_to_Dropbox/Temp/Lilypond_bool/score.ly It also doesn't work with the whole header enveloped. For minimal not-working example see [1] (also added error messages in comments). I've never written Scheme or LISP, so I can just speculate it's because \ifDefinedThenElse is defined as a music function, whereas header and header components aren't in music context. So your solution helped along the way and is already included into my newest project. Thank you for that. Still, the header I have to uncomment manually (RegEx that is). Best wishes Hartmut [1] https://www.dropbox.com/sh/w2ekud6e507asdh/AACeoYQVTP1_9qQjZ_eUyZDua -- Hartmut Leister haleis...@gmx.de ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BreathingSigns and automatic beams
- The mark generally doesn't affect the music spacing or beaming in any way. I can't believe that it doesn't affect spacing. As soon as you insert something visible into the score that has a timing value (and a breathing mark definitely has, if probably not specified exactly), it *must* take part of the horizontal formatting. You even give a hint how to position it: - Horizontally it is at the end of a note's duration before the following note (or possibly over a bar line in tight situations). Over a bar line? Can you show a real-world example of that in a printed edition? I've never seen that before. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BreathingSigns and automatic beams
On 24/06/14 08:13, Werner LEMBERG wrote: - The mark generally doesn't affect the music spacing or beaming in any way. I can't believe that it doesn't affect spacing. As soon as you insert something visible into the score that has a timing value (and a breathing mark definitely has, if probably not specified exactly), it *must* take part of the horizontal formatting. You even give a hint how to position it: I've not seen it officially printed either but I have had enough used brass scores to play from to know one when I see it. Also the myriad of teachers I had would use these 'marks' to show a beginner (like me) where the best place to take these breathes was based up on what was coming next or the rhythm of the piece etc. It doesn't have any musical timing in the caesura sense and ideally it is supposed to be 'hidden' from the listener - or to sound as natural as possible. When playing something like this, having these 'sign posts' dotted about gives you an idea of if you need to 'stop and fill the tank' (as one teacher put it) or if you can make it 'over the hill' to the next stop. Sort of a 'Last Breath before the Highway - next breath in 40 miles' :) - Horizontally it is at the end of a note's duration before the following note (or possibly over a bar line in tight situations). Over a bar line? Can you show a real-world example of that in a printed edition? I've never seen that before. I've never seen it printed but the few Trumpet teachers I had when learning to play would indicate it with a tick-like mark and bar breaks are more often the best place to take this sneaky breath than in a measure itself - it just depends. You take your air where you can! James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Fwd: Change TupletBracket slope?
Thank you Abraham, this is just what I need. Best, David On 23 June 2014 21:07, tisimst tisi...@gmail.com wrote: David, You can manually place the left and right ends of the bracket like this (and adjusting to taste): \version 2.19.8 { \clef bass { a, a4 } \\ { /*\once \override TupletBracket.positions = #'(-7 . -7)*/ \tuplet 6/4 { r16 g e d b, a, } } } http://lilypond.1069038.n5.nabble.com/file/n163571/flat-tuplet-bracket.png This is also true for beams and other kinds of notation objects like this. Regards, Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Change-TupletBracket-slope-tp163546p163571.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Double key signature
Hi All, On the french list we are working on a Merulo score with an 8 lines staff, 2 clefs and 2 key signature : * http://lilypond-french-users.1298960.n2.nabble.com/Portee-a-huit-lignes-deux-clefs-et-deux-bemols-tt7581415.html * http://lilypond-french-users.1298960.n2.nabble.com/file/n7581418/merulo.png Herewith is my last piece of code. As you can notice, I still have to manually set the distance between the key signatures. Has anyone any brilliant idea/other way how to come to this 8 lines staff ? Thanks in advance, Pierre \version 2.18.2 global = { \key d\minor \time 4/4 } high = \relative c' { c1 r4 b a g g1 } low = \relative c { f1 b r4 f e d } \score { \new Staff \with { \override StaffSymbol.line-count = #8 clefGlyph = #clefs.C clefPosition = #1 middleCPosition = #1 middleCClefPosition = #1 \override Clef.stencil = #(lambda (grob)(grob-interpret-markup grob #{ \markup\column { \fontsize # -1 { \musicglyph #clefs.C_change \vspace #-.32 \musicglyph #clefs.F_change } } #})) \override KeySignature.stencil = #(lambda (grob)(grob-interpret-markup grob #{ \markup\translate #'(-10 . -.01) \column { \score { \new Staff \global \layout { \context { \Score \omit StaffSymbol \omit Clef \omit TimeSignature } } } \vspace #-0.16 % !! à régler en fonction de l'armure !! \score { \new Staff \global \layout { \context { \Score \omit StaffSymbol \omit Clef \omit TimeSignature } } } } #})) } { \global \high \\ \low } \layout {} }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BreathingSigns and automatic beams
I can't believe that it doesn't affect spacing. As soon as you insert something visible into the score that has a timing value (and a breathing mark definitely has, if probably not specified exactly), it *must* take part of the horizontal formatting. You even give a hint how to position it: I've not seen it officially printed either but I have had enough used brass scores to play from to know one when I see it. Also the myriad of teachers I had would use these 'marks' to show a beginner (like me) where the best place to take these breathes was based up on what was coming next or the rhythm of the piece etc. I fully understand what you say, and similar symbols are used for singers, too, however, I think this somehow contradicts what lilypond is intended to do: engraving well-formatted music. It's not lilypond's job to imitate hand-written marks! In other words, I want to see some *printed* editions with such entries so that we can adjust lilypond accordingly, if necessary. In some Puccini scores, marks for possible breathing places are indicated by a small comma. Attached an example taken from the vocal score of Boheme. Werner ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Nifty trick with tags and \shape
Very cool! Thanks for sharing! I didn't realize you could do such a thing. I can see this coming in handy. -Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Nifty-trick-with-tags-and-shape-tp163576p163599.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Chord name on song section
Hi everyone, I have a song with various sections (intro, verse, chorus, ...) defined as variables. I would like to add chords on top of some of these sections. On the Lilypond manual all the examples add chords as a separate voice using to bound everything togheter. I have score, tabs and chords, so I need to do something like mainStaff = { \intro \chorus \verse \chorus } \score { \new ChordNames { \harmony } \new Staff { \mainStaff } \new TabStaff { \mainStaff } } This implies that I have defined the harmony for all of the song. How to define (and print) harmony for, say, just the intro? I can use markups, but I prefer something more elegant. Thanks! MIX ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
OT? Error importing Organ xml files made in Musescore
Hi all, can't understand why I can't import Organ xml files that I make in Musescore (I find it a lot esaier to write with a direct reading of what I' doing, then to load the xml files in Frescodaldi to get the graphical output). I get this error message: The file couldn't be converted. Error message: musicxml2ly: Lettura di MusicXML da /home/vincent/Musica/Cancella/c.xml ... musicxml2ly: Conversione nelle espressioni di LilyPond... REPEATED NINE TIMES Traceback (most recent call last): File /usr/bin/musicxml2ly, line 2986, in module main() File /usr/bin/musicxml2ly, line 2981, in main voices = convert (filename, options) File /usr/bin/musicxml2ly, line 2896, in convert update_score_setup (score, part_list, voices) File /usr/bin/musicxml2ly, line 2794, in update_score_setup score_structure.set_part_information (part_id, staves_info) File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1935, in set_part_information self.contents.set_part_information (part_id, staves_info) File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1774, in set_part_information c.set_part_information (part_name, staves_info) AttributeError: PartGroupInfo instance has no attribute 'set_part_information' Never had a problem with choir staves. What can I do? Many thanks. -- View this message in context: http://lilypond.1069038.n5.nabble.com/OT-Error-importing-Organ-xml-files-made-in-Musescore-tp163601.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Nifty trick with tags and \shape
James Harkins-2 wrote If you ever need the score and a transposed part to have a different slur shape in places... this does it :) Just had to share -- actually I wasn't entirely sure this would work, but it's perfect! hjh \version 2.18.2 \language english music = \relative c' { \tupletSpan 1*6/8 \tuplet 4/3 { cs4 \tag #'scoreOnly { \shape #'((0 . 0) (0 . 0) (0 . 1.2) (0 . -0.5)) Slur } \tag #'partOnly { \shape #'((-0.5 . 1.5) (0 . 0) (0 . 0) (0 . 1.0)) Slur } f,! ( d' e cs' b'2 g,4 ) } \tupletSpan \default } \score { \new Staff { \time 12/8 % from score in C \keepWithTag #'scoreOnly \music \bar || % transposed part with the same slur shape adjustment, VERY ugly \keepWithTag #'scoreOnly \transpose a c' \music \bar || % fixed \keepWithTag #'partOnly \transpose a c' \music \bar || } } ___ lilypond-user mailing list lilypond-user@ https://lists.gnu.org/mailman/listinfo/lilypond-user Interesting! I'll check this out tonight, that's pretty sweet! Thanks! - composer | sound designer LilyPond Tutorials (for beginners) -- http://bit.ly/bcl-lilypond -- View this message in context: http://lilypond.1069038.n5.nabble.com/Nifty-trick-with-tags-and-shape-tp163576p163602.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: OT? Error importing Organ xml files made in Musescore
On Tue, 2014-06-24 at 06:59 -0700, Son_V wrote: Hi all, can't understand why I can't import Organ xml files I would be interested to know how Denemo's musicxml import manages with your file - version 1.1.4 at least. Although not at all sophisticated I don't have any examples where it fails to produce at least the bulk of the music from a musicxml file (and then of course you have that music in LilyPond format). I realize you wouldn't want to use that route as a normal thing... (if you can send me the musicxml file, I can test importing it) regards Richard Shann that I make in Musescore (I find it a lot esaier to write with a direct reading of what I' doing, then to load the xml files in Frescodaldi to get the graphical output). I get this error message: The file couldn't be converted. Error message: musicxml2ly: Lettura di MusicXML da /home/vincent/Musica/Cancella/c.xml ... musicxml2ly: Conversione nelle espressioni di LilyPond... REPEATED NINE TIMES Traceback (most recent call last): File /usr/bin/musicxml2ly, line 2986, in module main() File /usr/bin/musicxml2ly, line 2981, in main voices = convert (filename, options) File /usr/bin/musicxml2ly, line 2896, in convert update_score_setup (score, part_list, voices) File /usr/bin/musicxml2ly, line 2794, in update_score_setup score_structure.set_part_information (part_id, staves_info) File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1935, in set_part_information self.contents.set_part_information (part_id, staves_info) File /usr/share/lilypond/2.16.2/python/musicexp.py, line 1774, in set_part_information c.set_part_information (part_name, staves_info) AttributeError: PartGroupInfo instance has no attribute 'set_part_information' Never had a problem with choir staves. What can I do? Many thanks. -- View this message in context: http://lilypond.1069038.n5.nabble.com/OT-Error-importing-Organ-xml-files-made-in-Musescore-tp163601.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BreathingSigns and automatic beams
On Tue, Jun 24, 2014 at 4:06 AM, Werner LEMBERG w...@gnu.org wrote: I fully understand what you say, and similar symbols are used for singers, too, however, I think this somehow contradicts what lilypond is intended to do: engraving well-formatted music. It's not lilypond's job to imitate hand-written marks! In other words, I want to see some *printed* editions with such entries so that we can adjust lilypond accordingly, if necessary. * http://imslp.org/wiki/200_%C3%89tudes_nouvelles_m%C3%A9lodiques_et_progressives_pour_cor_(Alphonse,_Maxime) - Book 4 #3 has some examples of breaths over bar lines (though it isn't very consistent). * http://imslp.org/wiki/Adagio_for_Horn_and_Piano,_Op.31_(Draeseke,_Felix) - The solo part has breath marks. None right over the bar line. (http://imslp.org/wiki/Romanze_for_Horn_and_Piano,_Op.32_(Draeseke,_Felix) is similar) * http://imslp.org/wiki/Nocturno,_Op.7_(Strauss,_Franz) - The breath marks are quite small in this one. * http://imslp.org/wiki/60_Etudes_for_Low-Horn,_Op.6_(Kopprasch,_Georg) - In the Gumbert edition he uses two different marks to indicate short quick breaths and bigger breaths. Many of these marks are directly over a bar line (see #13). -Jay ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chord name on song section
Carlo Vanoni vanoniiscrizi...@yahoo.it writes: This implies that I have defined the harmony for all of the song. How to define (and print) harmony for, say, just the intro? Specify the chords of the intro, and leave the rest empty? -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: BreathingSigns and automatic beams
At 13:06 24/06/2014 +0200, Werner LEMBERG wrote: It's not lilypond's job to imitate hand-written marks! In other words, I want to see some *printed* editions with such entries [sc. over bar lines] so that we can adjust lilypond accordingly, if necessary. In some Puccini scores, marks for possible breathing places are indicated by a small comma. I'm not sure whether this helps, but Elaine Gould writes (at p. 187) under Pauses / Break in sound: Place the comma and caesura just before a subsequent note or barline. [...] In a score, the comma, caesura and pause over a barline should appear at the top of each instrumental section only (so as not to be intersected by a barline). When not over a barline, place the symbol above every stave. This implies that she countenances such marks over barlines - but perhaps this sort of comma is a pause, not just a breathing mark. Brian Barker ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Chord name on song section
I've used two score sections in situations like this, but then you get separate midi files. Up to you. Knute Snortum (via Gmail) On Tue, Jun 24, 2014 at 8:35 AM, Johan Vromans jvrom...@squirrel.nl wrote: Carlo Vanoni vanoniiscrizi...@yahoo.it writes: This implies that I have defined the harmony for all of the song. How to define (and print) harmony for, say, just the intro? Specify the chords of the intro, and leave the rest empty? -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Mac testers needed for Frescobaldi! (again)
I installed the app. No problems at all. The app run smoothly. No problem on midi. No problem on import xml. great Enrico ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Mac testers needed for Frescobaldi! (again)
Davide, First, much thanks for your very patient responses to my SIP API errors with the Port version of Frescobaldi. I'm happy to report that the app bundle, thus far, works flawlessly so no further need for the Port install of Frescobaldi. I've opened some fairly hairy scores which use book structure and all works as expected. I have not, yet, tested the conversion apps. But for now all is working well. Best regards, Guy On Tuesday, June 17, 2014 10:17:29 AM UTC-5, Davide Liessi wrote: Dear FrescobaldiLilyPondMac users, some months ago I published a DMG disk image containing an experimental Frescobaldi.app bundle. Some packaging problems were reported ([1]): - lack of MIDI support (PortMIDI was not included), - impossibility to run convert-ly and musicxml2ly (the wrong Python interpreter was used for the scripts bundled in LilyPond.app). During the last days I was able to fix these problems (at least on my machine). I uploaded a new version of Frescobaldi.app, based on the newly released 2.0.16, at https://www.dropbox.com/s/whu5qnn5pys81ix/Frescobaldi-2.0.16-devapp-20140616.dmg The application contains some 64 bit code, so it won't run on machines with 32 bit CPU (I'll try to solve this in the next iteration). I would be very grateful if you could download the application, test it and report any issues. In particular you should test if MIDI output is working [2] and if you are able to update a file with convert-ly and to import a MusicXML file (example MusicXML files at [3]). The test should be harmless: the only collateral effect is that any change you'll make to the settings inside this application bundle will be picked up by your usual installation of Frescobaldi, since they'll share the same preferences file. [4] The previous tests revealed only the mentioned problems, so the application should be quite stable. However this application bundle is still considered experimental, so I don't recommend it for everyday use (although I really appreciate people testing it in everyday use cases). After the tests I advise you to delete the application bundle and wait for the official release. [5] Last but not least, I would like to thank once again the users who tested the previous version of the application. Best wishes. Davide [1] The splash screen bug (https://github.com/wbsoft/frescobaldi/issues/428) and some very critical usability problems (in particular compatibility with screen readers) were also reported, but they are certainly unrelated to the installation method, so I didn't address them. [2] I remind you that in order to have MIDI support FluidSynth/qsynth/SimpleSynth must be running and Frescobaldi must recognize the MIDI ports (you should either start *synth before Frescobaldi or refresh the MIDI ports in Frescobaldi's preferences). [3] http://www.musicxml.com/wp-content/uploads/2012/11/xmlsamples.zip [4] Actually, if your usual version of Frescobaldi is older than October 2013, your settings will become inaccessible from that version, while they will still be accessible from versions of the program newer than that date. But if you're running such an old version, you should seriously consider updating to the newly released 2.0.16 (it will be available through MacPorts in a few days): Frescobaldi has improved a whole lot in the last months! [5] To avoid messing with your current setup (except for the settings changes mentioned in [4]) and forgetting to delete the application bundle after the test, you can run the application directly from the disk image, without copying it to the /Applications directory. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Double key signature
Pierre Perol-Schneider pierre.schneider.paris at gmail.com writes: On the french list we are working on a Merulo score with an 8 lines staff, 2 clefs and 2 key signature As you can notice, I still have to manually set the distance between the key signatures. LilyPond supports custom key signatures, and will print this for d\minor if you ask for an extended range of printed flats: \new Staff \with { \override StaffSymbol.line-count = #8 \override KeySignature.flat-positions = #'((-7 . 6)) \override KeyCancellation.flat-positions = #'((-7 . 6)) % presumably sharps are also printed in both octaves \override KeySignature.sharp-positions = #'((-6 . 7)) \override KeyCancellation.sharp-positions = #'((-6 . 7)) \override Clef.stencil = # (lambda (grob)(grob-interpret-markup grob #{ \markup\combine \musicglyph #clefs.C \translate #'(0.9 . -2) \musicglyph #clefs.F #})) clefPosition = #1 middleCPosition = #1 middleCClefPosition = #1 } { \key d\minor \time 4/4 R1 } You might like \translate, in units of staff spaces, in place of \vspace. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: temporarily disable Dot_column_engraver?
Mark Polesky markpolesky at gmail.com writes: Normally, the dots on dotted notes in different voicesshould be aligned The textbooks say we should set dots set independently for each voice https://code.google.com/p/lilypond/issues/detail?id=2200 But slightly-misaligned dots in some cases drew some complaints, so LilyPond sets all voices' dots in one column by default. Is theresome override to tell LilyPond: In this voice, stop using the staff's Dot_column_engraver, and start using the Voice's*own* Dot_column_engraver, which I could then revert when I'm done with the small notes? Put the small notes in a temporary Voice and give that Voice a Dot_column_engraver. Having this engraver in both a Voice and Staff is not problem here. You get two DotColumns, but that is what you want, and the Dots that are caught by the DotColumn in the Voice are not caught again by that in the Staff. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user