Re: how to get more place for a textspanner
Stefan Thomas wrote: Dear Neil, thanks for Your answer, but: it still doesn't work as I expected. I got the warning : not a grob name, `Textspanner' Notice what letters should be uppercase and which should be lowercase! /Mats The modified snippet is: % begin %%% \version 2.12.2 musik = { \override TextSpanner #'(bound-details left text) = poco acc. \time 5/8 es8 ( \ \startTextSpan f fis \stopTextSpan \override TextSpanner #'(bound-details left text) = rit. a-- \startTextSpan gis -- ) \stopTextSpan } \new Staff { \clef bass \musik \override TextSpanner #'springs-and-rods = #ly:spanner::set-spacing-rods \override Textspanner #'minimum-length = #10 \musik } %% END %%% 2010/3/9 Neil Puttock n.putt...@gmail.com mailto:n.putt...@gmail.com On 7 March 2010 22:38, Stefan Thomas kontrapunktste...@googlemail.com mailto:kontrapunktste...@googlemail.com wrote: how can I get more space for the textspanner and its dashed line in the below quoted example? Try setting 'minimum-length, if you don't mind the note spacing being altered: % allow minimum-length to work \override TextSpanner #'springs-and-rods = #ly:spanner::set-spacing-rods % tweak length \override Textspanner #'minimum-length = #10 Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to get more place for a textspanner
Oh, sorry, I've been stupid. Thanks for the enligthenment! 2010/3/9 Mats Bengtsson mats.bengts...@ee.kth.se Stefan Thomas wrote: Dear Neil, thanks for Your answer, but: it still doesn't work as I expected. I got the warning : not a grob name, `Textspanner' Notice what letters should be uppercase and which should be lowercase! /Mats The modified snippet is: % begin %%% \version 2.12.2 musik = { \override TextSpanner #'(bound-details left text) = poco acc. \time 5/8 es8 ( \ \startTextSpan f fis \stopTextSpan \override TextSpanner #'(bound-details left text) = rit. a-- \startTextSpan gis -- ) \stopTextSpan } \new Staff { \clef bass \musik \override TextSpanner #'springs-and-rods = #ly:spanner::set-spacing-rods \override Textspanner #'minimum-length = #10 \musik } %% END %%% 2010/3/9 Neil Puttock n.putt...@gmail.com mailto:n.putt...@gmail.com On 7 March 2010 22:38, Stefan Thomas kontrapunktste...@googlemail.com mailto:kontrapunktste...@googlemail.com wrote: how can I get more space for the textspanner and its dashed line in the below quoted example? Try setting 'minimum-length, if you don't mind the note spacing being altered: % allow minimum-length to work \override TextSpanner #'springs-and-rods = #ly:spanner::set-spacing-rods % tweak length \override Textspanner #'minimum-length = #10 Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing School of Electrical Engineering Royal Institute of Technology (KTH) SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: mats.bengts...@ee.kth.se WWW: http://www.s3.kth.se/~mabe http://www.s3.kth.se/%7Emabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to get more place for a textspanner
kontrapunktstefan wrote: Dear Neil, thanks for Your answer, but: it still doesn't work as I expected. I got the warning : not a grob name, `Textspanner' out of the 8 times you wrote TextSpan 1 is mis-spelled! the diagnostics of lilypond seems quite accurate here! -- View this message in context: http://old.nabble.com/how-to-get-more-place-for-a-textspanner-tp27815206p27832530.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
lilypond-glyphs in other programs
Dear community, I would like to use single signs of the lilypond-font (e.g. the sharp-sign) in a text-programm, for example in open-office or in LaTex. I don't want to make musical examples, but single signs in text, I need it for the explanation of special symbols, like this way: The sign % here I would like to input lilypond's symbol for the quartertone-sharp a quarter-tone higher than the written note. Does someone know, how this can be done? ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: partcombine and/or engraver question
Hi Kieren, Well, I'm clueless about how to help with your issue. But congrats on the premiere/recording! On Mon, Mar 8, 2010 at 7:36 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi all, I write [and engrave] a lot of choral music. There's one big thing I want to do in Lilypond, and wanted to get some opinions on the matter... In my choral music, there are often large sections of unison and two-part writing, as well as four- and [complex] eight-part writing. That is to say, often the music can be completely represented on a single staff, but usually it needs two or three or four, and every once in a while it requires eight (i.e., one staff per vocal part). In a perfect world, I would like to indicate [in the .ly code] where a Voice *requires* its own Staff context, and then have Lilypond make the Staff-generating [partcombine?] decisions automatically, in order to get the best overall spacing. So (e.g.) if half-way through a system a unison section would [need to] break into four staves, either Lilypond would back-quote the unison music to fill the first half of the system, or insert a break at that point and respace the section accordingly, so that the split happens at the beginning of the new system. [I hope I've adequately explained what I'm looking for.] Right now, I'm using a somewhat complex combination of \quoteDuring [drawing from a unison variable] and manual breaks to accomplish this task. But I was hoping there might be a way to get it automated, mostly or fully. Since it would impact horizontal as well as vertical spacing, I imagine that: 1. The logic/algorithm/code would have to be in an engraver, and maybe even in C++, as opposed to in a Scheme function. 2. It might require multiple passes [like the old two-pass spacing macro]. 3. What I'm asking for might not be possible at all. Any suggestions or comments would be greatly appreciated. Cheers, Kieren. p.s. At the U.S. premiere (and CD recording) of my Fantasy Variations this past weekend in Arizona, I got more compliments on the score/parts -- yay, Lilypond! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- Neil Thornock, D.M. Check out the newly designed website! http://neilthornock.net Assistant Professor of Music Composition/Theory Brigham Young University ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Books, bookparts, includes: what?
Il giorno Sun, 07 Mar 2010 00:15:17 +0100 Giovanni Roversi giovi@gmail.com ha scritto: 2) Why does the table of contents go down on the page? Can we put it a bit upper? It goes down because of the \header block. In a previous private message I suggested you to remove it, but there's a much better solution. Keep the \header block and put this line in the \paper block (so you remove it from the first page but you can still use it in other places, for example you may want to print some header information in oddHeaderMarkup and evenHeaderMarkup...): \paper{ bookTitleMarkup = ##f } @Giovanni use Reply to All you sent a couple of emails just to me and I'm sure you wanted to send them to the list.. otherwise why using english? ;-) Ciao, Federico -- http://gnurag.net/blog/ http://fsfe.org/ http://groups.fsf.org/wiki/LibrePlanetItalia ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: About Timing_translator
Neil Puttock a écrit : On 4 March 2010 22:14, Philippe Hezaine philippe.heza...@free.fr wrote: Sorry to carry on a monologue but... I can even say that when I only write a single time signature like 3/4 in a single variable the resulting TimeSig in midicomp is 4/4 yet. Can you post a sample file? No, I don't want! For the next release the Gigsaw will integrate randomization. Kudos to Brett Stahlman who gives me a gvim function which works flawlessly so far. What a song and dance! You'll be able to destroy all the stuff! You're so strong. :-P Well! Seriously see below. ( And keep in mind the randomization is a real thing now) This reminds me of an old thread, http://lists.gnu.org/archive/html/bug-lilypond/2009-02/msg00144.html, where I couldn't verify the bug. One thing to note is that the Time_signature_performer lives in the Score context (unlike the Time_signature_engraver), so if you move it to the Staff context (with the Timing_translator), you should see separate time signatures in the midi output if you're typesetting polymetric music. Regards, Neil Keep cool. For standard midi output midicomp shows the right TimeSig. The interesting thing is when you use Timing-translator in a *midi* block. It seems layout block is not relevant. There are 2 examples: the .ly file is written in 3/4. 1. Timing-translator-ex-min-1-midi-block In this sample: \context { % \Score % \remove Timing_translator } is commented out and \context { \DrumStaff \consists Timing_translator } is active. I get the midicomp ascii file with a 4/4 TimeSig. (line 6) 2. Timing-translator-ex-min-2-midi-block Here all is active \midi { \context { \Score \remove Timing_translator tempoWholesPerMinute = #(ly:make-moment 110 4) } \context { \DrumStaff \consists Timing_translator } } and I get an ascii file without TimeSig. However if you look at the timestamps you'll see 4 beats. (They start from 00 to 03.) Notice the barcheck is commented out. Perhaps it's significant. If you want others samples with a different config don't hesitate to ask, it's so easy for me to get these ascii files. I'm your servant. As I said previously I hope it isn't a bug. Anyway midi output is OK. As if it was the most natural thing in the world Lilypond do all the maths with brilliance. Oh please, if you destroy all the stuff send me a post! :) -- Phil. Timing-translator-ex-min-1-midi-block.asc Description: PGP signature \version 2.12.2 #(ly:set-option 'delete-intermediate-files #t) pulse = \drummode { \time 3/4 \tempo 4 = 110 bd_\ff cymca_\mp8 r8 ss_\fff cab_\fff16 cab16_\mf cab8_\ff ss_\fff cab_\sf16 cab16_\mf r8 %| bd8_\ff r8 r2 %| \bar |. } \score { \new DrumStaff \new DrumVoice { \pulse } \layout { } \midi { \context { % \Score % \remove Timing_translator tempoWholesPerMinute = #(ly:make-moment 110 4) } \context { \DrumStaff \consists Timing_translator } } } Timing-translator-ex-min-2-midi-block.asc Description: PGP signature \version 2.12.2 #(ly:set-option 'delete-intermediate-files #t) pulse = \drummode { \time 3/4 \tempo 4 = 110 bd_\ff cymca_\mp8 r8 ss_\fff cab_\fff16 cab16_\mf cab8_\ff ss_\fff cab_\sf16 cab16_\mf r8 %| bd8_\ff r8 r2 %| \bar |. } \score { \new DrumStaff \new DrumVoice { \pulse } \layout { } \midi { \context { \Score \remove Timing_translator tempoWholesPerMinute = #(ly:make-moment 110 4) } \context { \DrumStaff \consists Timing_translator } } } ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Books, bookparts, includes: what?
Il giorno mar, 09/03/2010 alle 12.56 +0100, Federico Bruni ha scritto: Il giorno Sun, 07 Mar 2010 00:15:17 +0100 Giovanni Roversi giovi@gmail.com ha scritto: 2) Why does the table of contents go down on the page? Can we put it a bit upper? It goes down because of the \header block. In a previous private message I suggested you to remove it, but there's a much better solution. Keep the \header block and put this line in the \paper block (so you remove it from the first page but you can still use it in other places, for example you may want to print some header information in oddHeaderMarkup and evenHeaderMarkup...): \paper{ bookTitleMarkup = ##f } Ok, but I found another solution again: http://lsr.dsi.unimi.it/LSR/Item?id=368. I modified a little bit the code cancelling the scoreTitleMarkup = \markup \null, and I have also a more elegant score :D @Giovanni use Reply to All you sent a couple of emails just to me and I'm sure you wanted to send them to the list.. otherwise why using english? ;-) Ciao, Federico THAT'S why they didn't appear on the forum ;D Ciao, Giovanni ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: partcombine and/or engraver question
Hi Neil, Well, I'm clueless about how to help with your issue. But congrats on the premiere/recording! Thanks! When the CD is released, I'll be sure to let everyone know where to buy their obligatory 12-or-so copies. ;) Cheers, Kieren. On Mon, Mar 8, 2010 at 7:36 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi all, I write [and engrave] a lot of choral music. There's one big thing I want to do in Lilypond, and wanted to get some opinions on the matter... In my choral music, there are often large sections of unison and two-part writing, as well as four- and [complex] eight-part writing. That is to say, often the music can be completely represented on a single staff, but usually it needs two or three or four, and every once in a while it requires eight (i.e., one staff per vocal part). In a perfect world, I would like to indicate [in the .ly code] where a Voice *requires* its own Staff context, and then have Lilypond make the Staff-generating [partcombine?] decisions automatically, in order to get the best overall spacing. So (e.g.) if half-way through a system a unison section would [need to] break into four staves, either Lilypond would back-quote the unison music to fill the first half of the system, or insert a break at that point and respace the section accordingly, so that the split happens at the beginning of the new system. [I hope I've adequately explained what I'm looking for.] Right now, I'm using a somewhat complex combination of \quoteDuring [drawing from a unison variable] and manual breaks to accomplish this task. But I was hoping there might be a way to get it automated, mostly or fully. Since it would impact horizontal as well as vertical spacing, I imagine that: 1. The logic/algorithm/code would have to be in an engraver, and maybe even in C++, as opposed to in a Scheme function. 2. It might require multiple passes [like the old two-pass spacing macro]. 3. What I'm asking for might not be possible at all. Any suggestions or comments would be greatly appreciated. Cheers, Kieren. p.s. At the U.S. premiere (and CD recording) of my Fantasy Variations this past weekend in Arizona, I got more compliments on the score/parts -- yay, Lilypond! ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- Neil Thornock, D.M. Check out the newly designed website! http://neilthornock.net Assistant Professor of Music Composition/Theory Brigham Young University ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
how to get a jazz swing
Hi, I made a piece for double bass. How do I get a swing rhythm in the midi output? Thanks in advance, \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to get a jazz swing
On Tue, Mar 9, 2010 at 10:04 PM, rosea grammostola rosea.grammost...@gmail.com wrote: I made a piece for double bass. How do I get a swing rhythm in the midi output? Unfortunately you don't (yet): http://code.google.com/p/lilypond/issues/detail?id=687 Cheers, Valentin (PS. Now, there may be some Scheme magic to be found but I'm less than optimistic about it.) ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to get a jazz swing
Valentin Villenave wrote: On Tue, Mar 9, 2010 at 10:04 PM, rosea grammostola rosea.grammost...@gmail.com wrote: I made a piece for double bass. How do I get a swing rhythm in the midi output? Unfortunately you don't (yet): http://code.google.com/p/lilypond/issues/detail?id=687 Cheers, Valentin (PS. Now, there may be some Scheme magic to be found but I'm less than optimistic about it.) Thanks, mmh that's a pita.. Swing is used pretty often in midi of course. I hope there will be more hope soon. Now I maybe can fix something with qtractor from svn http://www.rncbc.org/drupal/node/184 \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
RE: how to get a jazz swing
rosea.grammost...@gmail.com wrote: I made a piece for double bass. How do I get a swing rhythm in the midi output? I'verelied on writing a separate part for the midi output that uses 6/8, 9/8 etc...instead of 2/4, 3/4...have to add lots of \times 2/3 {} code. It's brutal, yes, but if you already have the parts written for the PDF output it should not take long to make the special version. _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469227/direct/01/___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: RhythmicStaff Multimeasure Rests
On 7 March 2010 22:21, Jay Anderson horndud...@gmail.com wrote: On Fri, Mar 5, 2010 at 10:31 PM, Jay Anderson horndud...@gmail.com wrote: \version 2.13.15 \new RhythmicStaff { %\override Staff.MultiMeasureRest #'extra-offset = #'(0 . -1) R1 } Of course this doesn't quite work because all multi measure rests are moved and not just single whole measure rests. I've been messing with this: \override Staff.MultiMeasureRest #'extra-offset = #(lambda (grob) '(0 . -1)) I only want to return '(0 . -1) if the multi measure rest length is the same as the length of a full bar. To get at the measure length I need to do something like (ly:context-property context 'measureLength #f). How can I get at the context from a callback function like the one above? or is there a better way to move all full measure rests down? Try \override RhythmicStaff.MultiMeasureRest #'staff-position = #0.01 There's a nasty hack in ly:multi-measure-rest::print which changes the position of single full-bar rests if staff-position = #0 to ensure the default position is effectively staff-position = #2; setting it very slightly off tricks the code so it doesn't perform the shift. It's interesting to me that in this example the whole rest in the last measure works correctly: That's because it uses a different print function (ly:rest::print). Regards, Neil ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: lilypond-glyphs in other programs
Hello, I'm currently working on a LaTeX package that would allow to use Lilypond glyphs as characters, using special commands (like \fetasharp for sharp, and so on); it's based on the Harmony package (available from Ctan), but using Lilypond fonts in place of musixtex fonts. I need still lot of work, but here is an example of what it looks like at this time: %%% Code %%% \section{Indications de nuances} \begin{description} \item \fetap : doux, doucement (piano) \item \fetamp : modérément doux (mezzo piano) \item \fetamf : modérément fort (mezzo forte) \item \fetaf : fort (forte) \item \fetasfz : sforzando \end{description} %%% End Code %%% gives: http://old.nabble.com/file/p27842928/nuances.png I'll keep you posted about progress with that work. Philippe -- View this message in context: http://old.nabble.com/lilypond-glyphs-in-other-programs-tp27832865p27842928.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: how to get a jazz swing
Ed Ardzinski wrote: rosea.grammost...@gmail.com wrote: I made a piece for double bass. How do I get a swing rhythm in the midi output? I'verelied on writing a separate part for the midi output that uses 6/8, 9/8 etc...instead of 2/4, 3/4...have to add lots of \times 2/3 {} code. It's brutal, yes, but if you already have the parts written for the PDF output it should not take long to make the special version. mmh I do try it now with openoctave midi, a fork of Rosegarden: www.openoctave.org It has a swing option. \r ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: how to get a jazz swing
On Tue, Mar 9, 2010 at 4:58 PM, rosea grammostola rosea.grammost...@gmail.com wrote: Valentin Villenave wrote: On Tue, Mar 9, 2010 at 10:04 PM, rosea grammostola rosea.grammost...@gmail.com wrote: I made a piece for double bass. How do I get a swing rhythm in the midi output? Unfortunately you don't (yet): http://code.google.com/p/lilypond/issues/detail?id=687 Cheers, Valentin (PS. Now, there may be some Scheme magic to be found but I'm less than optimistic about it.) Thanks, mmh that's a pita.. Swing is used pretty often in midi of course. I hope there will be more hope soon. Now I maybe can fix something with qtractor from svn http://www.rncbc.org/drupal/node/184 Most, if not all, MIDI sequencers will let you humanize the playback, increasing or decreasing the amount of swing needed. -- Brett In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world. -- Jelaleddin Rumi ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: text in staff and markup text font=addlyric font
Ok, not exactly sure what that means in this case but looking through the manual I'm not able to understand the numeric values in terms of what they do/mean. So where's a good explanation? Also it sounds like (I hope I'm wrong) that you have to use the \override etc and extra-offset for each symbol/word and I really need it globally. And then is there somewhere that gives the font equivalents for #(set-global-staff-size 25) or any other for an example how to again globally alter the font size so that it matches the lyric font size? Since the global staff size seems to determine the lyric font size. Again, if I'm mislead please set me straight maybe I'm looking at this the wrong way. Thanks Jay On Sun, Mar 7, 2010 at 3:06 PM, James Bailey derhindem...@googlemail.comwrote: As I understand it, these kinds of things only work with extra-offset. On 07.03.2010, at 22:41, Jay Hamilton wrote: version 2.12.2 Subject: text in staff I want to place test inside the staff lines from the manual it looks like I should use some form of \once \override TextScript #'script-priority = # %(some number here) but it's not giving me a result that I can understand/use. Should I try using some sort of 'padding' verbage or what? And I need to have markup {Text} be the same size as \addlyric. But I don't understand how to figure out what the lyric size is I do have #(set-global-staff-size 25) Where do I look to figure this out Thanks Jay -- Jay Hamilton Sound and Silence www.soundand.com 206-328-7694 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- Jay Hamilton Sound and Silence www.soundand.com 206-328-7694 ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: RhythmicStaff Multimeasure Rests
On Tue, Mar 9, 2010 at 3:19 PM, Neil Puttock n.putt...@gmail.com wrote: \override RhythmicStaff.MultiMeasureRest #'staff-position = #0.01 Thanks. That works great. Now I just have to deal with \context{\RemoveEmptyRhythmicStaffContext} killing my settings. I remember following the discussion recently, but I couldn't find a bug. Was one written? It's especially annoying here. If I put this in a common file included by both the score and the part: \layout { \context { \RemoveEmptyRhythmicStaffContext } \context { \RhythmicStaff \override MultiMeasureRest #'staff-position = #0.01 } } Then the score looks fine, but since the bass drum (or triangle or other percussion instrument) rest for very long sections some of the lines in the part are taken out. The alternative is to move the RemoveEmptyRhythmicStaffContext to the score file and duplicate the multimeasure rest stuff below it again. This is what I'm doing. (Though I should probably put in some cues which would also fix this). The cleanest solution would be for either the RemoveEmptyRhythmicStaffContext to not kill settings or if there is only one staff in the score the RemoveEmptyRhythmicStaffContext would just not remove anything (or both of course). Really these are minor inconveniences. I just want to be sure bugs. Thanks. -Jay ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user