Re: [Frescobaldi] Re: Mac testers needed for Frescobaldi!
On Monday, May 12, 2014 12:44:14 AM UTC+2, Davide Liessi wrote: 2014-05-10 16:49 GMT+02:00 jef...@gmail.com javascript:: Did you uninstall and reinstall only Frescobaldi? You should try to uninstall Frescobaldi, Poppler and Qt and then reinstall Frescobaldi I uninstalled and reinstalled all of those (and probably some others too), but to no avail. It remains a total mystery to me how or why the Music Viewer stopped working for me and why I can't fix it via Homebrew. (I only installed Homebrew in order to use Frescobaldi.) In the end, though, this doesn't matter much since I will be using the standalone Mac app anyway. (This will really open it up to a lot more Mac users.) A packaging oversight, indeed; thanks for reporting. The behaviour is slightly different on my machine (PortMIDI installed via MacPorts is recognized by the application bundle), but I confirm that I didn't include PortMIDI in the bundle. I'll take care of this as soon as possible. Ah, that's great to hear! Looking forward to it. Thanks for your help. -- Jeff ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MIDI dynamics parsing error
Thomas Morley thomasmorle...@gmail.com writes: Sorry if I was not clear enough. I was looking for a method to circumvent the midi-error, but keep the visual output. Let me be a bit more verbose: The following gives nice visual output, though triggers an error with midi: { c'1\ c' c'\! } Inserting an expicit Dynamic resolves the midi-error, though, the Hairpin starts at the right of the DynamicText, ofcourse. { c'1\mf\ c' c'\! } Trying to remove the printed DynamicText via \hide or \omit or #point-stencil, leaves the Hairpin untouched, i.e. starting to the right of the now invisible or non-existent DynamicText-stencil. (Little different with \hide) { c'1-\hide\mf\ c' c'\! } { c'1-\omit\mf\ c' c'\! } { c'1-\tweak #'stencil #point-stencil \mf\ c' c'\! } The question then is what the right look is. If the right look is the one with the Midi error, and apparently it is what we get in other situations, then arguably the code for typesetting the hairpin should explicitly check for an _omitted_ stencil (one being #f) and in that case revert to the anchorless behavior. In short: if \omit does not do the trick now, I think it should (bug report?). We don't have a separate override shortcut for point-stencil in case one still wants an anchor around. The still-discussed appearance override would allow using something like \behold \markup \null \mf in this function if it is really necessary for some case. But I think that in the use case of \omit\mf, the desire really is to only have an acoustic representation without a visual impact. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: Mac testers needed for Frescobaldi!
On Mon, May 19, 2014 at 2:38 AM, Jeff Holland jeff...@gmail.com wrote: On Monday, May 12, 2014 12:44:14 AM UTC+2, Davide Liessi wrote: 2014-05-10 16:49 GMT+02:00 jef...@gmail.com: Did you uninstall and reinstall only Frescobaldi? You should try to uninstall Frescobaldi, Poppler and Qt and then reinstall Frescobaldi I uninstalled and reinstalled all of those (and probably some others too), but to no avail. In what order did you uninstall and reinstall? It's possible that some dependencies weren't met. It remains a total mystery to me how or why the Music Viewer stopped working for me and why I can't fix it via Homebrew. (I only installed Homebrew in order to use Frescobaldi.) Was this after a Mavericks upgrade? Some things seem to have changed in Mavericks... However, you should be able to fix this with a Homebrew reinstallation. In the end, though, this doesn't matter much since I will be using the standalone Mac app anyway. (This will really open it up to a lot more Mac users.) Hear, hear! Is the standalone Mac app ready for real use yet? I thought it wasn't. Best, -- Marnen Laibow-Koser mar...@marnen.org http://www.marnen.org ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Mac testers needed for Frescobaldi!
On May 19, 2014, at 8:24 AM, Marnen Laibow-Koser mar...@marnen.org wrote: Hear, hear! Is the standalone Mac app ready for real use yet? I thought it wasn’t. So far so good for me, I use it for all my Lilypond editing these days. The only problem I have run into is that running convert-ly from within Frescobaldi doesn’t work, complaining about zlib not being available (despite it being present on my Mac and other applications being able to use it). That may be something specific to my Mac and not to Frescobaldi. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: Mac testers needed for Frescobaldi!
2014-05-19 15:24 GMT+02:00 Marnen Laibow-Koser mar...@marnen.org: Hear, hear! Is the standalone Mac app ready for real use yet? I thought it wasn't. It is not, indeed. The main problems are: - PortMIDI is not included in the bundle, and even if it is included (with the appropriate option of py2app) Frescobaldi cannot see the MIDI ports provided by SimpleSynth or FluidSynth; - it is currently impossible to use convert-ly from the application bundle: the error I get is different from the one of Tim, and I don't have a confirmed diagnosis yet, but I suspect that they both are due to the wrong Python interpreter being invoked. Actually, apart from these problems, the application bundle is quite usable. I can't recommend it yet, but I really appreciate people testing it in everyday use. Best wishes. Davide [1] http://lists.gnu.org/archive/html/lilypond-user/2014-05/msg00265.html ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: MIDI dynamics parsing error
On Sun, 2014-05-18 at 10:40 -0700, Paul Morris wrote: Conor Cook wrote It is my impression that a decrescendo starts where you are and gets quieter. Does Lilypond not have a default (e.g. mf) MIDI dynamic like Sibelius? Good point. Wouldn't it make sense to just use a default volume for MIDI, if it has not been specified in the score with a dynamics mark, rather than issuing this warning? -Paul When this warning is shown, LilyPond will actually use the middle of the available note velocity range as the starting velocity (volume). (This is an exception to most other MIDI settings, such as the MIDI instrument, where no defaults are enforced if they are not set explicitly. However, for note velocities LilyPond likely needs to always use *some* value for MIDI output, which is probably why a default is used in this case.) However, one purpose of the warning is to direct the user's attention to input locations where the MIDI output is possibly not what the user might expect: for example, since every Voice has by default a separate dynamic performer for MIDI, the default volume can easily take effect accidentally in temporary polyphonic passages such as follows: \version 2.18.2 \score { \new Staff { \new Voice { % ... a long monophonic passage c'1\p \new Voice { c''2\ % starts at the default velocity, not \p g'2\! } \new Voice { c'1% this note also gets the default velocity } % ... continue with a single Voice } } \layout { } \midi { } } In this case the warning could be helpful in signaling the user that LilyPond may need some additional help in guessing the correct initial note velocities for the Voices in the temporary polyphonic passage. As to the original problem of including the \mf only in MIDI to suppress the warning, one could of course also use tags as a workaround, however at the cost of duplicating part of the music and the entire \score block (personally I nevertheless usually use this approach since, after the initial \score setup, it allows customizing MIDI output independently from the layout whenever needed): \version 2.18.2 \language english upper = \relative c { | gf16-. \f ef-. df-. cf-. bf ( \sf df cf af ) gf-. \sf ef-. df-. cf-. bf ( \sf df cf af ) | { \tag #'layout { bf4\ } \tag #'midi { bf4\mf\ } a16 ( \sf gf' f ef ) bf4 %{ \mf %} \ a16 ( \sf gf' f ef ) } \\ { af, f16 q q q a4 af f16 q q q a4 } } \score { \new Staff = up { \clef treble \keepWithTag #'layout \upper } \layout { } } \score { \new Staff = up { \keepWithTag #'midi \upper } \midi { \tempo 4 = 120 } } Now that I looked at the original example, it looks like this example also triggers the creation of separate dynamic performers for the upper and lower parts of the { ... } \\ { ... } passage. Therefore the crescendos in the upper part will probably have no effect on the notes in the lower part, all of which will then sound with the default volume (since no initial volume has been specified). If this is not what is intended (possibly not if looking at the typeset output), the explicit initial volume and the crescendos should be repeated also in the lower part to have them applied to these notes in MIDI... -- Heikki Tauriainen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Function for note string to fraction?
On 2014-05-15 15:17, Peter Bjuhr wrote: is there already a function that converts a string 4. to the fraction '3/8', or the other-way round? Maybe it's helpful to know that the string is intended for use with \note, e g \note #4. #UP and the fraction is intended for use with \set Timing.baseMoment, e g \set Timing.baseMoment = #(ly:make-moment 3/8) After some research I think I've found a way forward with this: In ' scm/define-markup-commands.scm' there's a function/procedure called 'parse-simple-duration', which is used to translate from '\note' to '\note-by-number'. In a similar way I could use that to create the arguments to 'ly:make-duration'. And from there it would be easy to get the moment with ' ly:duration-string'. This all leads to an additional question: Is it possible to include and use 'parse-simple-duration' in a local script (without copy and pasting it)? If it's not possible I will settle with using \note-by-number instead! For those of you which find it easier to read code than my ramblings, here is what I've got so far: #(define (note-to-moment notestr) (let ((parsed (parse-simple-duration notestr))) (ly:duration-length (ly:make-duration (car parsed) (cadr parsed) Best Peter ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How do you re-print instrument names for certain systems?
I have a score that looks like this. \score { \new ChoirStaff \new Staff \set Staff.instrumentName = #Soprano \new Voice = S \relative c'{ c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 |} \new Lyrics \lyricsto Soprano { \sopranoWords } \new Staff \set Staff.instrumentName = #Alto \new Voice = A \relative c'{ c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 |} \new Lyrics \lyricsto Alto { \altoWords } } This results in a score where the words Soprano and Alto are printed before the start of the two staffs for the first system. However, for certain subsequent systems, I would like the instrument names to be re-printed. How can I accomplish this? -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-do-you-re-print-instrument-names-for-certain-systems-tp162582.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: How do you re-print instrument names for certain systems?
Look for \set Staff.shortInstrumentName in the notational reference - that's probably what you're looking for. Best, Robert On 19 May 2014, at 23:18, Speldosa l4rs...@gmail.com wrote: I have a score that looks like this. \score { \new ChoirStaff \new Staff \set Staff.instrumentName = #Soprano \new Voice = S \relative c'{ c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 |} \new Lyrics \lyricsto Soprano { \sopranoWords } \new Staff \set Staff.instrumentName = #Alto \new Voice = A \relative c'{ c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 | c1 |} \new Lyrics \lyricsto Alto { \altoWords } } This results in a score where the words Soprano and Alto are printed before the start of the two staffs for the first system. However, for certain subsequent systems, I would like the instrument names to be re-printed. How can I accomplish this? -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-do-you-re-print-instrument-names-for-certain-systems-tp162582.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: How do you re-print instrument names for certain systems?
Thanks! That did the trick! -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-do-you-re-print-instrument-names-for-certain-systems-tp162582p162584.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
Temporary disable \RemoveEmptyStaffContext for individual staffs
Im using the \RemoveEmptyStaffContext command and it works exactly as I expect it to. However, sometimes, I would like a certain staff to show up even though it only contains rests (for example, if a certain staff only is empty for a couple of bars, it might be more confusing to remove it and let it reappear later than to simple let it stay visible). Is it possible to override the \RemoveEmptyStaffContext temporary for a individual staffs? -- View this message in context: http://lilypond.1069038.n5.nabble.com/Temporary-disable-RemoveEmptyStaffContext-for-individual-staffs-tp162585.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: Function for note string to fraction?
Peter Bjuhr wrote: is there already a function that converts a string 4. to the fraction '3/8', or the other-way round? I don't think you need ly:duration-string; I think you can just skip that step. And as far as I know, you do need to copy out the definition of parse-simple-duration, and above it add: #(use-modules (ice-9 regex)) The whole thing will look like this: #(use-modules (ice-9 regex)) #(define (parse-simple-duration duration-string) Parse the `duration-string', e.g. ''4..'' or ''breve.'', and return a (log dots) list. (let ((match (regexp-exec (make-regexp (breve|longa|maxima|[0-9]+)(\\.*)) duration-string))) (if (and match (string=? duration-string (match:substring match 0))) (let ((len (match:substring match 1)) (dots (match:substring match 2))) (list (cond ((string=? len breve) -1) ((string=? len longa) -2) ((string=? len maxima) -3) (else (log2 (string-number len (if dots (string-length dots) 0))) (ly:error (_ not a valid duration string: ~a) duration-string #(define (note-to-moment notestr) (let ((parsed (parse-simple-duration notestr))) (ly:duration-length (ly:make-duration (car parsed) (cadr parsed) Then you would use it like this: \set Timing.baseMoment = #(note-to-moment 4.) Hope that helps. - Mark ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Function for note string to fraction?
2014-05-19 22:50 GMT+02:00 Peter Bjuhr peterbj...@gmail.com: On 2014-05-15 15:17, Peter Bjuhr wrote: is there already a function that converts a string 4. to the fraction '3/8', or the other-way round? Maybe it's helpful to know that the string is intended for use with \note, e g \note #4. #UP and the fraction is intended for use with \set Timing.baseMoment, e g \set Timing.baseMoment = #(ly:make-moment 3/8) After some research I think I've found a way forward with this: In ' scm/define-markup-commands.scm' there's a function/procedure called 'parse-simple-duration', which is used to translate from '\note' to '\note-by-number'. In a similar way I could use that to create the arguments to 'ly:make-duration'. And from there it would be easy to get the moment with ' ly:duration-string'. This all leads to an additional question: Is it possible to include and use 'parse-simple-duration' in a local script (without copy and pasting it)? Well, I would have no problem to c/p 'parse-simple-duration', though yes, it is possible: #(define (note-to-moment notestr) (let ((parsed ((@@ (lily) parse-simple-duration ) notestr))) (ly:duration-length (ly:make-duration (car parsed) (cadr parsed) #(write (note-to-moment 4.)) -- #Mom 3/8 Though, quoting guile-manual: — syntax: @@ module-name binding-name Refer to the binding named binding-name in module module-name. The binding must not have been exported by the module. This syntax is only intended for debugging purposes or as a last resort. !! Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Temporary disable \RemoveEmptyStaffContext for individual staffs
2014-05-20 0:32 GMT+02:00 Speldosa l4rs...@gmail.com: Im using the \RemoveEmptyStaffContext command and it works exactly as I expect it to. However, sometimes, I would like a certain staff to show up even though it only contains rests (for example, if a certain staff only is empty for a couple of bars, it might be more confusing to remove it and let it reappear later than to simple let it stay visible). Is it possible to override the \RemoveEmptyStaffContext temporary for a individual staffs? http://lsr.di.unimi.it/LSR/Item?id=312 might be of some help Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
accessing NoteHead from a merged note
Is there a way to access one NoteHead grob from another NoteHead grob that it is merged with? Like this: { \once \override NoteHead.after-line-breaking = #(lambda (grob) ; how to access the NoteHead grob of the ; c'' in the other voice from here? #f) c''4 } \\ { e' g' c''4 } This is related to this post: http://lists.gnu.org/archive/html/lilypond-devel/2014-05/msg00141.html Thanks - Mark___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Warning: Midi channels wrapped around Warrning Remapping modulo 16.
Dear Simon Thank you very much for your suggestion. I was trying to prepare a midi for a hymn with acompaniment, 4 channels for SATB and two for the accompaniment.In the accompaniment there are four voices ( but only two staves ). I used the {}{} construct to accommodate the extra voices but since I was getting the warning about the channels being remapped, I removed this consruct and replaced the consruct by 4 channels instead of two; I associated each voice with a channel not the staffThus there will be a maximum of 8 channels. Now I don't get a warning. But when I put the SATB on two staves instead of four the warning reappears. I find this behavior difficult to undererstand since *I *am not increasing the channels: as far as I can see the maximum no of channels is 8 . I will do some more work on my example to see what is happening, assuming that this is not a bug in lilypond. I will let you know if I solve it. Sebastian .l On Sun, May 18, 2014 at 6:54 AM, Simon Albrecht simon.albre...@mail.dewrote: Hello Sebastian, it seems to me like you would require more than 16 midi channels (which normally correspond to the staves in your score) and midi doesn’t support more than 16. So the output which would have gone to channel #17 is actually put into channel #1 (and inherits its instrument, dynamics etc. properties), #18 is redirected to #2 etc. (that’s the modulo 16 part). So either, if this isn’t a problem for you (because all staves use the same midi instrument for example), just ignore the warning [1] or try using an extra score for midi, which combines some of the staves into voices of one staff, so you don’t have more than 16 staves in total. HTH, Simon [1] or use the scheme function ly:expect-warning: #(ly:expect-warning MIDI channel wrapped around) #(ly:expect-warning remapping modulo 16) (somehow this doesn’t suppress all the warnings, but only the first one of a kind; I’ll ask about that in a separate mail) Am 17.05.2014 21:45, schrieb Sebastian Canagaratna: Hi: I'm using Lilypond 2.16.2 I get the above warning sometimes. Is this a bug? Or am I doing something wrong? I can't detect the error, and the midi seems OK. Sebastisn ___ lilypond-user mailing listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user ___ 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
[bug?] Unnecessary avoid-slur warning
It appears that LilyPond 2.18.2 prints a warning if a trill pitch occurs under a slur, regardless of the chance of collision. \relative c' { % OK \pitchedTrill d2\startTrillSpan ~ e d4. r8\stopTrillSpan % warning: Ignoring grob for slur: TrillPitchAccidental. avoid-slur not set? % But the slur is nowhere near colliding with the trill pitch accidental! c4 ( \pitchedTrill d4\startTrillSpan e ~ d4. ) r8\stopTrillSpan } This fixes it: \override TrillPitchAccidental.avoid-slur = #'inside But shouldn't this be a default? When would you seriously want a trill pitch accidental to be outside the slur? Not to mention that it would make no sense to put the trill pitch accidental outside, and the trill pitch head inside. Small issue, work-around-able, but seems a bit untidy. hjh ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user