Re: Sibelius user looking for the easiest way to learn LilyPond
On Wed, Mar 14, 2012 at 1:29 AM, Francisco Vila paconet@gmail.com wrote: 2012/3/13 Tim Roberts t...@probo.com: Amen. There are people who tell me they can do data entry in Finale quite efficiently using a MIDI keyboard, but for me, from a standard computer keyboard, entering LilyPond data could not be more efficient. I used to master Finale's Speedy Entry and liked to sing and type Happy Birthday To You at the same time, starting together and ending together. Now I can do the same (the complete song -- pitches and durations) in LilyPond. I still have spare time to add dynamics and a fermata. Can you do the same with Handel's For unto us a child is born or Mozart's Kyrie from Requiem d-moll? ;) Personally i find typing Lily input a bit cumbersome. I mean, the keys used are scattered all over the keyboard (and shift is frequently needed); i've been thinking about devising a set of shortcuts to ease this, but now i'm too busy with Lily itself... I have some draft though, maybe it would be useful for Frescobaldi? cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Old style numerals for page numbers
Hi Ben, the problem is, that these markup-command allow a markup as argument, but they are expecting strings to process. So if you redefine the markup-command: --snip-- #(define-markup-command (oldStyleNum layout props str) (string-or-symbol?) Old-style numerals (if (symbol? str)(set! str (chain-assoc-get str props ))) (interpret-markup layout props (to-old-style str))) --snip-- and then use --snip-- \oldStyleNum #'page:page-number-string --snip-- in your header/footer-markup, it will process either the string or what is in the named property, #'page:page-number-string in this case. This redefined markup-command expects a string or a string in the named property. So this won't work for e.g. line-width, which is a number. If you only want to make old-style page-numbers, this might do the trick. If you need more, there has to be done a bit more. HTH cheers, Jan-Peter On 13.03.2012 15:34, Benjamin Bloomfield wrote: I am trying to figure out how I can get Old Style numerals to be used for the page numbers. I found some scheme code here (http://www.mrlauer.org/music/) that defines a markup command oldStyleNum that will replace any digit with the unicode string for the appropriate old style numeral. However, I don't know how to make this work with the page number, because when I try to put \oldStyleNum\fromproperty #'page:page-number-string the oldStyleNum command isn't getting the numeric string to process, but something else, and I don't really know scheme at all, and haven't been able to figure this out after looking at it for a few hours, and I thought someone else might know. What follows is sample code that shows old style numerals in the title and (unfortunately) regular numerals for the page number. Thanks, Ben - \version 2.14.2 % Michael's utilities %% UTF-8 utilities #(define (utf-8-list str) (define (numBytes leader) (cond (( leader #x80) 1) (( leader #xc0) (begin (stderr programming-error: bad utf- 8:~x\n leader) 1)) (( leader #xe0) 2) (( leader #xf0) 3) (( leader #xf8) 4) (else (begin (stderr programming-error: utf-8 too big:~x\n leader) 1 (define (helper start l n) (if (= n 0) start (helper (+ (* start #x40) (modulo (car l) #x40)) (cdr l) (- n 1 (define (utf-8-int l) (let* ((leader (car l)) (n (- (numBytes leader) 1)) (fac (/ #x80 (expt 2 n))) (rest (cdr l)) (result (helper (modulo leader fac) rest n))) result)) (define (toListHelper lst chars) (if (null? lst) (reverse chars) (let* ((c (utf-8-int lst)) (n (numBytes (car lst))) (t (list-tail lst n)) (newC (cons c chars))) (toListHelper t newC (toListHelper (map char-integer (string-list str)) '() )) %These are appropriate for Junicode, and other fonts. Override as necessary oldStyleZeroCode = ##xF730 smallCapsACode = ##xF761 %For Linux Libertine oldStyleZeroCodeLL = ##xE01A smallCapsACodeLL = ##xE051 #(define (change-char-helper aa test? offset) (if (string? aa) (let* ((chars (utf-8-list aa)) (tosc (map (lambda (c) (if (and (= c 127) (test? (integer-char c))) (ly:wide-char-utf-8 (+ c offset)) (if (and (= c 255) (= c 224)) (ly:wide-char-utf-8 (+ c offset)) (if (= c #x0153) (ly:wide-char-utf-8 #xF6FA) (ly:wide-char-utf-8 c) ) ) ) ) chars)) (newStr (apply string-append tosc))) newStr) aa) ) #(define (to-old-style str) (change-char-helper str char-numeric? (- oldStyleZeroCode (char-integer #\0 #(define (to-small-caps str) (change-char-helper str char-lower-case? (- smallCapsACode (char-integer #\a #(define-markup-command (realCaps layout props str) (markup?) Real small capitals (interpret-markup layout props (to-small-caps str))) #(define-markup-command (oldStyleNum layout props str) (markup?) Old-style numerals (interpret-markup layout props (to-old-style str))) #(define-markup-command (smallCapsOldStyle layout props str) (markup?) Real small caps and old-style numerals (interpret-markup layout props (to-old-style (to-small-caps str %%% #(define-public (bar-number-print grob) Print function for making oldStyle numbers. Useful for BarNumber, for example (let*
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
On Wed, Mar 14, 2012 at 1:16 AM, Francisco Vila paconet@gmail.com wrote: I think this is a matter of default settings and easily adjustable. It probably is (not sure about the PDF background, though); I was just testifying about the first-look appearance, with default colors. Ctrl+H or Edit- Replace Indeed. Since it wasn't to be found where I was used to, I overlooked it. (It's Ctrl-R on my distro.) Well there is a terminal in tools menu. Ditto. (Still can't find it in 2.0.2, it must be a recent addition.) It is, go to LilyPond Preferences and set Save If Possible. Oh, yet another thing Wilbert had already thought of. (I had seen this option but didn't quite understand it before.) - the PDF preview offers less features than before (thanks to the kpdf component I could just select an area with the right-button and copy it as an image). I can do that with current version. I stand corrected. (I guess I hadn't even tried as soon as I saw it wasn't KDE's PDF component anymore...) Are we talking about the same program? There's been a Windows port for a time now. I gave a talk for my colleagues and installed Fresco+Lily in minutes for all. Nice. (Wilbert should definitely provide self-contained Lily+Fresco bundles, that has the potential to be a huge success!) Okay then, I guess I'll have to go and write a new review for the LilyReport :-) Thanks for your reply, Valentin. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
2012/3/14 Valentin Villenave valen...@villenave.net: On Wed, Mar 14, 2012 at 1:16 AM, Francisco Vila paconet@gmail.com wrote: I think this is a matter of default settings and easily adjustable. It probably is (not sure about the PDF background, though); Attached. :-) -- Francisco Vila. Badajoz (Spain) www.paconet.org , www.csmbadajoz.com attachment: fresco-pink.png___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.0.4
On Mon, Mar 12, 2012 at 9:50 AM, Wilbert Berendsen wbs...@xs4all.nl wrote: Please let me know the things you miss most! Note that F2 is only (roughly) one year old and really written from scratch, the first commit is of Nov 11, 2012. I intend to keep developing and adding new features. I think the current technical infrastructure and code setup is very nice. I miss: - superb look of the previous version. It was really pro and when i saw it i instantly knew that Frescobaldi is a great tool. Not every program is a joy to /look at/ :) - tabs on sides and bottom - it would be great to combine tabs and movable frames. I also liked menu layout a lot (i fell in love with Frescobaldi when i wanted to change something and went straightly to Settings-Configure Frescobaldi-the thing i wanted. It was uber cool and fully intuitive; much better than LilyPondTool UI). - the new Compile but don't save behavior is quite surprising (and I've found myself loosing more than one score because of it). I'm not saying it's bad or absurd, it's just unexpected (and should be optional IMO). It is, go to LilyPond Preferences and set Save If Possible. maybe this should be the default? (IIUC how this works) Many things are high on the TODO list, and all the needed infrastructure is already there: Out of things you mentioned, i'm interested in two: - folding in editor that's truly a must-have. - editing through the Music View (i.e. drag objects to attach them to another note or to insert offset overrides) that'd be great! If you make it possible to tweak slurs via pdf preview (showing some Bezier curve handles to manipulate) it would be an instant killer feature! cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: ANN: Frescobaldi 2.0.4
Hello, 2012/3/14 Janek Warchoł janek.lilyp...@gmail.com: On Mon, Mar 12, 2012 at 9:50 AM, Wilbert Berendsen wbs...@xs4all.nl wrote: Please let me know the things you miss most! Note that F2 is only (roughly) one year old and really written from scratch, the first commit is of Nov 11, 2012. I intend to keep developing and adding new features. I think the current technical infrastructure and code setup is very nice. I miss: https://github.com/wbsoft/frescobaldi/issues This is where you need to put this stuff, so Wilbert can keep track of it. -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
Hi all, Thanks go to Valentin for taking the time for a consise first review :-) Here are some answers to questions and additions. Also note that F2 is only one year old and should be developed further, I think it has a very solid code foundation right now with Python and Qt4. :) Op Tue, 13 Mar 2012 20:07:41 +0100 Valentin Villenave valen...@villenave.net schreef: - aesthetically speaking, the difference is huge and the interface looks a lot less pretty (pinkish background in the PDF preview: wtf?). This can be adjusted (of course :-) although I'm all in favor of a better default value! - the source code window sports less pleasant colors (plain blue/red/black instead of KDE's pastel tones). The default colors can be changed. I based my colors on the KDE ones, but I probably used to have a different color scheme in KDE :-) There is theme support for the color scheme. But I probably should implement importing/exporting schemes, so some nice color schemes could make it to the Frescobaldi website! - the search function is now just that: no searchreplace. There is Edit-Replace. It also support regular expressions and replacing in the selection. - no more tabs on the side and the bottom: making frames appear/disappear is a lot less intuitive: you have to **close** frames, not merely **hide** them (I was used to hiding the log window, but closing it makes less sense to me -- sure, I could just use the keyboard shortcut but then I'd have to learn it first ;-) Yes the tabs were nice, but the Qt-provided dock widgets are more flexible in layout: you can drag the tools in rows or columns, or drop one tool on another to make a tabbed tool view. - no more terminal frame (unlike LilyPondTool, where the log window may be used as a terminal emulator). There is a command Tools-Open Command Prompt that opens a terminal window in the correct directory. But a built-in console could be implemented, maybe even combining a operating system shell and a Python shell to test new Frescobaldi features. - no more integrated file browser (the documents frame isn't half as useful) A filebrowser would certainly be nice. Currently I just use Ctrl+O :) and also the Sessions menu. - the new Compile but don't save behavior is quite surprising (and I've found myself loosing more than one score because of it). I'm not saying it's bad or absurd, it's just unexpected (and should be optional IMO). This behaviour is the same as in Frescobaldi 1, but you can force Frescobaldi to save a document first by checking the Save document if possible option in the LilyPond preferences. This saves the document if it is modified and has already a filename. - the intelligent-indenting awesomeness now looks a bit less intelligent. (Where's my Ctrl-I?) Tab and Shift-tab handle the indent, Ctrl+I inserts a plain Tab. To keep Frescobaldi simple its indenting defaults to the LilyPond-recommended way of indenting. But you can override the behaviour by placing document variables in the document (see manual-editor-document variables). - the PDF preview offers less features than before (thanks to the kpdf component I could just select an area with the right-button and copy it as an image). I put much love in the PDF view to make it better than the old one (I hope ;-) You can copy images: drag a square with the right button or Shift-left button, and then choose Copy to Image in the context menu or the Edit menu. It even copies images in a specified DPI setting, instead of the current scale! You can drag both the image or the image's file, and also specify the antialiasing, background color (which in the Copy to Image dialog defaults to white :-) and whether to auto-crop the image. And did you notice the magnifying glass? Ctrl+Click in the Music View! The old pdf view did not support finding point and click objects (due to Okular limitations), but the new one has: Ctrl+J highlights the object the text cursor is at. - the MIDI player looks gorgeous (but I never use it). It has some nice features: it displays the current measure number and the time. You can quickly find music by dragging the timer knob. - the Preferences window has more colors and icons, but somehow feels less complete (a lot of the old one was Kate's preferences, where you could fine-tune your level of indenting, etc.) I tried to make the config pages simple and not too crowded. But I think an 'Editor' page is needed, with settings related to editing behaviour, indenting etc. That being said, there still are a lot of nice touches and afterthoughts that embody the Frescobaldi spirit and show how generously and intelligently you care about your users' every need or whim: snippets, special chars, run LilyPond with English messages, etc. It's so brillantly thought it's disarming. Please take a look at the snippets manager, it is quite powerful and also powers the File-New from template menu. It has support for python scripts as well and some
Re:Sibelius user looking for the easiest way to learn LilyPond
Hello, while beeing a newbie at both Sibelius and Lilypond, and already embracing the magical freedom superiority of the latest, i recently had to make a transcript from a manuscript, and for that i used Sibelius, because i needed to produce sibelius files. This way i could enter the text by typing on a midi keyboard and not really looking at the resulting score, while looking at the original. I think it would have been slower if i had needed to input it as text. So, there may still be cases where WYSIWYG is still more convenient.My point might be irrelevant, because i'm not an experienced user in any of those environments. Maybe there is way to do such a thing in LilyPond ? i know Frescobaldi exists and does maybe allow such a thing, but i'm on mac and don't know anything about compiling outside macports so... and i use lilypond tools, don't hink it does allow midi keyboard input. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: difficulty filling the whole page
Jean-Alexis Montignies j...@montignies.info writes: Sorry for the late reply I'm really over-busy these times. The documentation is usually well written but I find myself browsing many pages before finding something, even if it's something I know it exists and I already used. For instance for sizes. May be a graphic annotated with spacing value names (for staves, systems, paper...) would be a good summary. And for the page count, I didn't thought of looking in other \paper variables, may be an entry could be in fitting music on fewer pages. Did you look in the index? -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: articulate.ly with rall not working?
Peter Chubb peter.ch...@nicta.com.au writes: Looks like there's been a semantic change in Lilypond. It used to be you could \set tempoWholesPerMinute = 60 or similar anywhere in the Lilypond input and the result would be a tempo change at that point. It looks as if now there's a different event, TempoChangeEvent, that does the work. I'll have a go at changing articulate to fix this. The information is still in tempoWholesPerMinute I think, it is just that you need a tempoChangeEvent to get it to the Midi. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Add more space between arbitrary groups of notes
Hello all, I make scores where two lyrics lines share the same notes but have different note groupings. Here is an example. \version 2.14.2 melody = \relative c'' { \cadenzaOn \phrasingSlurUp \slurDown g2 (a4 \(bes!) a2\) a8 ([g] f4) g1 (\(g4. f8 e4 d\) d8 \([e] f4\) e2 \(f g1\) d4 \(g2\) a1 e4 \(f2\)) d1 \bar |. } text = \lyricmode { la -- pa -- pa la -- la } textI = \lyricmode { la2 pa1 la2 la1 \skip1 la2 la1 \skip1 la2. pa1 pa2. la1 } \score{ \new Staff = mymusic \new Voice = one { \melody } \new Lyrics \lyricsto one \text \new Lyrics \with { alignAboveContext = mymusic } \lyricmode {\set associatedVoice = #melody \textI} } I use phrasing slurs for the upper line of lyrics to show how the notes are grouped for it and I have to use lyricmode and explicit lyrics duration for it. Now I want to add some space between each note group, belonging to upper lyrics. I've tried to use spacer rests and add s1 between each of the groups. That looks better, but 1) I must add \skip1 between each syllable, belonging to textI (upper lyrics). 2) Sometimes spacer rest doesn't add desired amount of a space and adding another s1 does nothing. I have three wishes that I can't accomplish: 1) I'd like be able to add more space between notes where s1 doesn't help. 2) I'd like to get rid of extra skips in lyrics, 3) The best I could wish - keeping the spaces, get rid of explicit syllable durations in upper lyrics (textI) at all. Even first of them would be much of help. Thank you, Svetlana. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Beam Length Query
Hi all, I think it's a tribute to the lilypond documentation that it's a rare instance when I can't find the answer to my questions there; however, this is one of those rare instances :) I'm trying to find a way in which to extend a beam horizontally so that it spans the full duration of a note. I suppose that in an ideal world this would mean a beam spanner covering \afterGrace. Is is possible to somehow (via scheme perhaps) grab the position of a grace note and extend the beam right-extent (or some such) to this position? Or is there some other way in which I can tackle this problem? Below is a mock up of the sort of thing I'm after (though obviously the positioning here is just effected by altering Stem #'stencil): \version 2.14 \relative c'' { g8[ \once \override Stem #'layer = #2 \once \override Stem #'stencil = #ly:text-interface::print \once \override Stem #'text = \markup \combine \raise #2 \override #'(thickness . 1) \draw -line #'(0 . 1.9) \combine \fontsize #-4 \raise #2 \center -align \with -color #white \draw -circle #0.25 #0.5 ##f \combine \raise #2 \draw -circle #0.5 #0.035 ##f \combine \raise #1.775 \fontsize #-9 \typewriter \center -align 1 \raise #4.25 \fontsize #-7 \translate #'(0.00525 . 0) \left -align \musicglyph #flags.u3 \once \override NoteHead #'transparent = ##t g] \bar | } #(set-global-staff-size 32) any help would be greatly appreciated, piaras hoban ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
On Wed, Mar 14, 2012 at 1:18 PM, Wilbert Berendsen wbs...@xs4all.nl wrote: And did you notice the magnifying glass? Ctrl+Click in the Music View! Very cool! May i suggest making it's default settings 600 px wide and 350% zoom? cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Add more space between arbitrary groups of notes
Hello, On 14 March 2012 08:07, Svetlana eurid...@yandex.ru wrote: Hello all, I have three wishes that I can't accomplish: 1) I'd like be able to add more space between notes where s1 doesn't help. See http://lists.gnu.org/archive/html/lilypond-user/2012-03/msg00379.html This might help. I cannot help you with the others :/ -- -- James ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
Op Wed, 14 Mar 2012 14:07:06 +0100 Janek Warchoł janek.lilyp...@gmail.com schreef: Very cool! May i suggest making it's default settings 600 px wide and 350% zoom? What is a nice magnifier size and scale depends on the screen size. I use Frescobaldi on an Asus EEEPC with 1024*600 :) So I think one must just go once through the Frescobaldi settings pages and hack it all up to your liking :) With best! -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
Op Wed, 14 Mar 2012 13:18:47 +0100 Wilbert Berendsen wbs...@xs4all.nl schreef: - no more integrated file browser (the documents frame isn't half as useful) A filebrowser would certainly be nice. Currently I just use Ctrl+O :) and also the Sessions menu. Replying to self: Frescobaldi 1.2 had no filebrowser; you probably are thinking of the Kate filebrowser back in the old days when LilyKDE (Frescobaldi's predecessor) was a Kate plugin. But I have been thinking of adding a fileview of the current document's directory, where clicking a .LY file would open it, and clicking PDF's or MIDI's would open them. This would ease dragging files out of Frescobaldi. Although you can also drag the PDF or MIDI just by dragging the icon from the toolbar or MIDI player. -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Beam Length Query
Hi all, I think it's a tribute to the lilypond documentation that in 2/3 years of Lilypond usage this is my first time feeling the need to post a question here. I'm trying to find a way in which to extend a beam horizontally so that it spans the full duration of a note. I suppose that in an ideal world this would mean a beam spanner covering \afterGrace. Is is possible to somehow (via scheme perhaps) grab the position of a grace note and extend the beam right-extent (or some such) to this position? Or is there some other way in which I can tackle this problem? Below is a mock up of the sort of thing I'm after (though obviously the positioning here is just effected by altering Stem #'stencil): \version 2.14 \relative c'' { g8[ \once \override Stem #'layer = #2 \once \override Stem #'stencil = #ly:text-interface::print \once \override Stem #'text = \markup \combine \raise #2 \override #'(thickness . 1) \draw-line #'(0 . 1.9) \combine \fontsize #-4 \raise #2 \center-align \with-color #white \draw-circle #0.25 #0.5 ##f \combine \raise #2 \draw-circle #0.5 #0.035 ##f \combine \raise #1.775 \fontsize #-9 \typewriter \center-align 1 \raise #4.25 \fontsize #-7 \translate #'(0.00525 . 0) \left-align \musicglyph #flags.u3 \once \override NoteHead #'transparent = ##t g] \bar | } #(set-global-staff-size 32) any help would be greatly appreciated, piaras hoban -- View this message in context: http://old.nabble.com/Beam-Length-Query-tp33501067p33501067.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
James Harkins jamshark70 at gmail.com writes: http://www.dewdrop-world.net/words/blog5.php/2011/07/11/ the-year-s-over-and-done I digress a bit in the text, but the point is the 3/8 bar. In Finale, I'm quite sure you would have to spend(waste) time adjusting the horizontal position of one or the other voice *and* some of the dots. Off topic, LilyPond now places the dots equally-spaced from the noteheads, in that particular example. http://code.google.com/p/lilypond/issues/detail?id=2200 Previously, LilyPond put them all in one column because that was easier to program than figuring out when dots need to avoid noteheads in another voice. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
midiInstrument changes play one note too late.
Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike %% Minimal Example %% BUG? Midi instrument changes are delayed by one note. mymusic = { \set midiInstrument = acoustic grand c'1^pno. | % midi ok \set midiInstrument = cello d'1^cel. | % wrong : midi plays piano. \set midiInstrument = acoustic grand e'1^pno. | % wrong : midi plays cello c'1^pno. | % midi ok } \score { \new Voice = Test { \mymusic } \layout {} \midi { % This lets us specify instrument in melody \context { \Staff \remove Staff_performer } \context { \Voice \consists Staff_performer } } } \version 2.15.33 Cheers, Mike midi_late_instrument_change.midi Description: MIDI audio ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: articulate.ly with rall not working?
On 13.03.2012 03:52, Peter Chubb wrote: Thomas == Thomas Morley thomasmorle...@googlemail.com writes: Thomas \version 2.14.2 \include articulate.ly Thomas \score { \unfoldRepeats \articulate \relative c' { c8-. d-. Thomas e-. f-. g-.-rall f-. e-. d-. c-. d-. e-. f-. g-. Thomas f-. e-. d-. c1-. } Thomas \midi { } } The rallentendo actually does happen, but at the tempo you're going, it's not paticularly deep. If I add a \displayLilyMusic before the \unfoldRepeats I see: { { c'8*1/2 r } { d' r } { e' r } { f' r } { \set tempoWholesPerMinute = #(ly:make-moment 9 1 0 1) { g'-rall r } } { f' r } { e' r } { d' r } { c' r } { d' r } { e' r } { f' r } { g' r } { f' r } { e' r } { d' r } { c'1*1/2 r } } Note the setting of tempoWholesPerMinute. This corresponds to a 40% slowdown. The default is MM crotchet=60, this should slow down to about MM crotchet=36. However, note this is the *only* tempo adjustment --- you need to start with a tempo. I suggest \version 2.14.2 \include articulate.ly \score { \displayLilyMusic\unfoldRepeats \articulate \relative c' { \set tempoWholesPerMinute = #(ly:make-moment 4 80) c8-. d-. e-. f-. g-.-rall f-. e-. d-. c-. d-. e-. f-. g-. f-. e-. d-. c1-. } \midi { } } -- Dr Peter Chubbpeter.chubb AT nicta.com.au http://www.ssrg.nicta.com.au Software Systems Research Group/NICTA Hm. I see two problems: 1. Did I understand right, that -rall changes the tempo in a single step? That’s more like “subito meno mosso” than “rallentando”, isn’t it?. 2. \set tempoWholesPerMinute doesn’t have any effect in the midi output. Is that a bug or a misunderstanding? I use Lilypond 2.14.2-1 Linux 64. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
vic hug xelnagazch...@hotmail.com writes: while beeing a newbie at both Sibelius and Lilypond, and already embracing the magical freedom superiority of the latest, i recently had to make a transcript from a manuscript, and for that i used Sibelius, because i needed to produce sibelius files. This way i could enter the text by typing on a midi keyboard and not really looking at the resulting score, while looking at the original. I think it would have been slower if i had needed to input it as text. So, there may still be cases where WYSIWYG is still more convenient. Huh? That has nothing to do with WYSIWYG. It has to do with Midi input. And I certainly would prefer LilyPond in such a workflow since, as opposed to WYSIWYG, I have a chance to see what actually ended up in my score as opposed to what appears like that. The currently available tools for Midi input into LilyPond leave a lot to be desired, no question about that. Try Rosegarden for a somewhat better quantization with export into LilyPond. But that's not exactly an interactive workflow. At some point of time, I plan to do an Emacs extension that works more seriously than existing possibilities. But we are not there yet. My point might be irrelevant, because i'm not an experienced user in any of those environments. Maybe there is way to do such a thing in LilyPond ? i know Frescobaldi exists and does maybe allow such a thing, but i'm on mac and don't know anything about compiling outside macports so... and i use lilypond tools, don't hink it does allow midi keyboard input. There is a section in the manual about Midi input tools if I remember correctly. Most are not really fun to work with. I'd guess that something like Rosegarden is your best bet currently. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On Tue, Mar 13, 2012 at 5:26 PM, Michael Ellis michael.f.el...@gmail.com wrote: Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike %% Minimal Example %% BUG? Midi instrument changes are delayed by one note. mymusic = { \set midiInstrument = acoustic grand c'1^pno. | % midi ok \set midiInstrument = cello d'1^cel. | % wrong : midi plays piano. \set midiInstrument = acoustic grand e'1^pno. | % wrong : midi plays cello c'1^pno. | % midi ok } \score { \new Voice = Test { \mymusic } \layout {} \midi { % This lets us specify instrument in melody \context { \Staff \remove Staff_performer } \context { \Voice \consists Staff_performer } } } \version 2.15.33 Wow. It's rare not to get a response from this list. Did I phrase the question incredibly poorly? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Blank pages within a score Version 2.14.2
I have found that page-turn-breaking does not do all that I need. When there are many movements not all the page turns are convenient. When using two-sided there are times when I would like to insert a blank page between movements to reduce page turns to a minimum. So far all attempts to insert a blank page have failed - is there a way of doing this? Secondly I would like to be able to have a frontispiece with text and graphics - again I cannot see if this can be done - is there a way that I just haven't found? Thank you for any help... regards Peter Gentry ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
Wilbert Berendsen wbs...@xs4all.nl writes: Op Wed, 14 Mar 2012 14:07:06 +0100 Janek Warchoł janek.lilyp...@gmail.com schreef: Very cool! May i suggest making it's default settings 600 px wide and 350% zoom? What is a nice magnifier size and scale depends on the screen size. xdpyinfo [...] screen #0: dimensions:1280x800 pixels (339x212 millimeters) resolution:96x96 dots per inch [...] I use Frescobaldi on an Asus EEEPC with 1024*600 :) So I think one must just go once through the Frescobaldi settings pages and hack it all up to your liking :) Most windowing systems provide the respective data for a good first educated guess. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Point-and-click on Frescobaldi?
Op Sat, 10 Mar 2012 13:13:05 -0500 Father Gordon Gilbert fatherg...@gmail.com schreef: Yes, changing a note and recompiling did the trick, thanks! I had done a convert-ly and recompiled, and I suppose that's why it pointed down to where the changes were listed. Indeed changes a convert-ly run the whole document (if you click OK in the convert-ly dialog). When that happens, the point and click locations are lost. This is because the editor (a component in Qt4) looses the positions of all text cursors when the whole document text is replaced. Text cursors remember their position in a document while it is being edited, that's why I use them for point and click (which was in Frescobaldi 1 called smart point and click). But when a region of text is deleted, all cursors that were in it, now point to the place the deleted region started. When then new text is inserted, all cursors move to the end of the inserted position. This is Qt4 behaviour, even when you delete a region and then undo it, the point and click positions are lost. But simply recompiling (even without changing a note) updates the PDF and that triggers a re-load of the point and click positions. -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
On 14 March 2012 03:01, Keith OHara k-ohara5...@oco.net wrote: Off topic, LilyPond now places the dots equally-spaced from the noteheads, in that particular example. http://code.google.com/p/lilypond/issues/detail?id=2200 Previously, LilyPond put them all in one column because that was easier to program than figuring out when dots need to avoid noteheads in another voice. What happens if I want the old behaviour? Do I have to move the Dot_column_engraver back to the Staff context and forgo the improvements in more complicated situations? The following example looks plain weird. I've never seen any hand-engraved music align dots like this. \relative c'' { c16.[ c32] } \\ { a2. } Cheers, Neil ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On 14-3-2012 14:30, Michael Ellis wrote: On Tue, Mar 13, 2012 at 5:26 PM, Michael Ellis michael.f.el...@gmail.com wrote: Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike Wow. It's rare not to get a response from this list. Did I phrase the question incredibly poorly? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user . Michael, Don't worry, IMHO your phrasing was perfectly clear. Sometimes it just takes more than a day for someone to notice a post, vaguely remembering reading something about it a while ago and than googling up the answer ;) But here it is: Yes it's an issue with lilypond, it is already known and there is a documented work-around in the issue. See http://code.google.com/p/lilypond/issues/detail?id=1661 for the details. regards, Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Old style numerals for page numbers
Wouldn't it be simpler to simply use a font that has old style figures? Shane On Wed, Mar 14, 2012 at 4:32 AM, Jan-Peter Voigt jp.vo...@gmx.de wrote: Hi Ben, the problem is, that these markup-command allow a markup as argument, but they are expecting strings to process. So if you redefine the markup-command: --snip-- #(define-markup-command (oldStyleNum layout props str) (string-or-symbol?) Old-style numerals (if (symbol? str)(set! str (chain-assoc-get str props ))) (interpret-markup layout props (to-old-style str))) --snip-- and then use --snip-- \oldStyleNum #'page:page-number-string --snip-- in your header/footer-markup, it will process either the string or what is in the named property, #'page:page-number-string in this case. This redefined markup-command expects a string or a string in the named property. So this won't work for e.g. line-width, which is a number. If you only want to make old-style page-numbers, this might do the trick. If you need more, there has to be done a bit more. HTH cheers, Jan-Peter On 13.03.2012 15:34, Benjamin Bloomfield wrote: I am trying to figure out how I can get Old Style numerals to be used for the page numbers. I found some scheme code here (http://www.mrlauer.org/music/) that defines a markup command oldStyleNum that will replace any digit with the unicode string for the appropriate old style numeral. However, I don't know how to make this work with the page number, because when I try to put \oldStyleNum\fromproperty #'page:page-number-string the oldStyleNum command isn't getting the numeric string to process, but something else, and I don't really know scheme at all, and haven't been able to figure this out after looking at it for a few hours, and I thought someone else might know. What follows is sample code that shows old style numerals in the title and (unfortunately) regular numerals for the page number. Thanks, Ben - \version 2.14.2 % Michael's utilities %% UTF-8 utilities #(define (utf-8-list str) (define (numBytes leader) (cond (( leader #x80) 1) (( leader #xc0) (begin (stderr programming-error: bad utf- 8:~x\n leader) 1)) (( leader #xe0) 2) (( leader #xf0) 3) (( leader #xf8) 4) (else (begin (stderr programming-error: utf-8 too big:~x\n leader) 1 (define (helper start l n) (if (= n 0) start (helper (+ (* start #x40) (modulo (car l) #x40)) (cdr l) (- n 1 (define (utf-8-int l) (let* ((leader (car l)) (n (- (numBytes leader) 1)) (fac (/ #x80 (expt 2 n))) (rest (cdr l)) (result (helper (modulo leader fac) rest n))) result)) (define (toListHelper lst chars) (if (null? lst) (reverse chars) (let* ((c (utf-8-int lst)) (n (numBytes (car lst))) (t (list-tail lst n)) (newC (cons c chars))) (toListHelper t newC (toListHelper (map char-integer (string-list str)) '() )) %These are appropriate for Junicode, and other fonts. Override as necessary oldStyleZeroCode = ##xF730 smallCapsACode = ##xF761 %For Linux Libertine oldStyleZeroCodeLL = ##xE01A smallCapsACodeLL = ##xE051 #(define (change-char-helper aa test? offset) (if (string? aa) (let* ((chars (utf-8-list aa)) (tosc (map (lambda (c) (if (and (= c 127) (test? (integer-char c))) (ly:wide-char-utf-8 (+ c offset)) (if (and (= c 255) (= c 224)) (ly:wide-char-utf-8 (+ c offset)) (if (= c #x0153) (ly:wide-char-utf-8 #xF6FA) (ly:wide-char-utf-8 c) ) ) ) ) chars)) (newStr (apply string-append tosc))) newStr) aa) ) #(define (to-old-style str) (change-char-helper str char-numeric? (- oldStyleZeroCode (char-integer #\0 #(define (to-small-caps str) (change-char-helper str char-lower-case? (- smallCapsACode (char-integer #\a #(define-markup-command (realCaps layout props str) (markup?) Real small capitals (interpret-markup layout props (to-small-caps str))) #(define-markup-command (oldStyleNum layout props str) (markup?) Old-style numerals (interpret-markup layout props (to-old-style str))) #(define-markup-command (smallCapsOldStyle layout props str) (markup?) Real small caps and old-style numerals
Re: Blank pages within a score Version 2.14.2
Message: 1 Date: Wed, 14 Mar 2012 14:21:28 - From: Peter Gentry peter.gen...@sunscales.co.uk To: lilypond-user@gnu.org Subject: Blank pages within a score Version 2.14.2 Message-ID: 95B3725ABDE2433BB4E51D0C33B05BE2@PeterVista Content-Type: text/plain; charset=us-ascii I have found that page-turn-breaking does not do all that I need. When there are many movements not all the page turns are convenient. When using two-sided there are times when I would like to insert a blank page between movements to reduce page turns to a minimum. So far all attempts to insert a blank page have failed - is there a way of doing this? Secondly I would like to be able to have a frontispiece with text and graphics - again I cannot see if this can be done - is there a way that I just haven't found? Thank you for any help... regards Peter Gentry Have you tried: \pageBreak \markup \pageBreak ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On Wed, Mar 14, 2012 at 11:38 AM, Hans Aikema hans.aik...@aikebah.net wrote: On 14-3-2012 14:30, Michael Ellis wrote: On Tue, Mar 13, 2012 at 5:26 PM, Michael Ellis michael.f.el...@gmail.com wrote: Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike Wow. It's rare not to get a response from this list. Did I phrase the question incredibly poorly? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user . Michael, Don't worry, IMHO your phrasing was perfectly clear. Sometimes it just takes more than a day for someone to notice a post, vaguely remembering reading something about it a while ago and than googling up the answer ;) But here it is: Yes it's an issue with lilypond, it is already known and there is a documented work-around in the issue. See http://code.google.com/p/lilypond/issues/detail?id=1661 for the details. regards, Hans Thanks, Hans. I did find that report while searching but I wasn't sure whether it was the same problem as the report dealt with mapping dynamic changes to parallel skip sequences. My report deals with instrument changes in single voice melodies. I'm not sure how I would go about implementing the suggested workaround for my application. I run into the problem primarily when transcribing individual choral parts for my section. It's nice in the midi output if cues from other parts are sounded by a different instrument. Since I don't have time to transcribe the entire score, it's not practical to use the built-in LilyPond cue methods, so I wrote my own that temporarily changes the instrument, shrinks the font, and changes the font color, thus: cueNotes= #(define-music-function (p l music) (ly:music?) for printing cue notes in teeny font in color #{ \set midiInstrument = #(cueInstrument 'get) \override Accidental #'color = #(x11-color 'maroon) \override Beam #'color = #(x11-color 'maroon) \override NoteHead #'color = #(x11-color 'maroon) \override Rest #'color = #(x11-color 'maroon) \override Slur #'color = #(x11-color 'maroon) \override Stem #'color = #(x11-color 'maroon) \override Tie #'color = #(x11-color 'maroon) \teeny $music \normalsize \revert Accidental #'color \revert Beam #'color \revert NoteHead #'color \revert Rest #'color \revert Slur #'color \revert Stem #'color \revert Tie #'color \set midiInstrument = #(mainInstrument 'get) % Note: cueInstrument and mainInstrument are scheme objects with a get method % that returns a string, e.g acoustic grand #}) and apply it like this: ... do4 sol mi do | \cueNotes { do^Sop. 8va re mi fa } | sol mi do2 | ... How would I go about applying the workaround from the bug report to this? In any case, this seems to me like a fairly serious defect. I hope it's on the list for 2.16. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On 14-3-2012 18:01, Michael Ellis wrote: On Wed, Mar 14, 2012 at 11:38 AM, Hans Aikemahans.aik...@aikebah.net wrote: On 14-3-2012 14:30, Michael Ellis wrote: On Tue, Mar 13, 2012 at 5:26 PM, Michael Ellis michael.f.el...@gmail.comwrote: Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike Wow. It's rare not to get a response from this list. Did I phrase the question incredibly poorly? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user . Michael, Don't worry, IMHO your phrasing was perfectly clear. Sometimes it just takes more than a day for someone to notice a post, vaguely remembering reading something about it a while ago and than googling up the answer ;) But here it is: Yes it's an issue with lilypond, it is already known and there is a documented work-around in the issue. See http://code.google.com/p/lilypond/issues/detail?id=1661 for the details. regards, Hans Thanks, Hans. I did find that report while searching but I wasn't sure whether it was the same problem as the report dealt with mapping dynamic changes to parallel skip sequences. My report deals with instrument changes in single voice melodies. You're correct Michael, I misread the report... but I think it's likely that the instrument change is 'a note too late' due to the same issue. I'll do some experimenting on it and will get back to you. regards, Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
separating design from pure score
Hello, I'm working on a project and i want to separate the design from score because i want to have a clear score so that in the future when i maybe want to change the design i dont have to change the score (something like html and CSS :) ). So when i include my score into my design file variables are included but score block also. Now when i what to change, for example, \mark \default to have a preety box i dont know where to put it. Is there a way not to include a score block but all variables, or insert stuff into a score block that is invisible to me? -- Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje. Izreke 12:18 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: separating design from pure score
On 3/14/2012 6:16 PM, Stjepan Horvat wrote: Hello, I'm working on a project and i want to separate the design from score because i want to have a clear score so that in the future when i maybe want to change the design i dont have to change the score (something like html and CSS :) ). So when i include my score into my design file variables are included but score block also. Now when i what to change, for example, \mark \default to have a preety box i dont know where to put it. Is there a way not to include a score block but all variables, or insert stuff into a score block that is invisible to me? I don't know if this is helpful or not, but when I'm coding something from an old part, or manuscript, I'll define: mBreak = \break ...and then use \mBreak to make the line breaks the same as the original, while I'm working on it, for easier error checking. Then when I'm done with the input I change the definition to: mBreak = {} ...and LilyPond decides where the line breaks should be. Could you do something like that to achieve what you're after? It's also possible to make layers and then put them together like this: something = { time and key signature info } somethingElse = { the music itself } somethingMore = { line breaks, rehearsal marks etc. } \score { \relative c { \set Score.skipBars = ##t \something % time sigs, key sigs \somethingElse % notes etc. \somethingMore % line breaks etc. } } Or am I not really understanding the question? -David ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: separating design from pure score
Stjepan Horvat zvanste...@gmail.com writes: Hello, I'm working on a project and i want to separate the design from score because i want to have a clear score so that in the future when i maybe want to change the design i dont have to change the score (something like html and CSS :) ). So when i include my score into my design file variables are included but score block also. Now when i what to change, for example, \mark \default to have a preety box i dont know where to put it. Is there a way not to include a score block but all variables, or insert stuff into a score block that is invisible to me? \layout { \context { \Score markFormatter = #format-mark-box-numbers } } In newer versions, it will work to write \layout { \set Score.markFormatter = #format-mark-box-numbers } So you can just pull in the \set command documented in URL:http://lilypond.org/doc/v2.14/Documentation/notation/bars#rehearsal-marks into your \layout block, and it will get translated into the first form automagically. Most of the layout stuff can be specified in the \layout block, and it has become easier in the most recent versions since you can just pull in most layout-changing _music_ here, and have it converted into the respective context definitions. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On 14-3-2012 18:37, Hans Aikema wrote: On 14-3-2012 18:01, Michael Ellis wrote: On Wed, Mar 14, 2012 at 11:38 AM, Hans Aikemahans.aik...@aikebah.net wrote: On 14-3-2012 14:30, Michael Ellis wrote: On Tue, Mar 13, 2012 at 5:26 PM, Michael Ellis michael.f.el...@gmail.comwrote: Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike You're correct Michael, I misread the report... but I think it's likely that the instrument change is 'a note too late' due to the same issue. I'll do some experimenting on it and will get back to you. regards, Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user . Michael, This looks like an issue with Quicktime: - When I play your midi it in Windows 7's Media player the instrument changes are at the right time. - When I convert it to a wave-file in Windows using Timidity++ the instrument changes at the right time - When I play it using Noteworthy Composer Viewer (http://www.noteworthysoftware.com/nwc2/viewer.htm) the instrument changes are at the right time - When I play it in Quicktime for Windows 7.7.1 (build 1680.42) the instrument changes a note too late - When I play it in Quicktime Player (7.6.6 (build 1710)) for Mac OS X (10.7.3) the instrument changes a note too late. If you ask me, I see a pattern there ;) regards, Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
On Wed, 14 Mar 2012 08:20:13 -0700, Neil Puttock n.putt...@gmail.com wrote: What happens if I want the old behaviour? Do I have to move the Dot_column_engraver back to the Staff context and forgo the improvements in more complicated situations? Yes. But, somebody made a suggestion on the original enhancement request that (if possible to implement) would give you aligned dots between voices when they would be near-aligned if set independently. Knowing that somebody wants a better solution, I re-opened the enhancement request. http://code.google.com/p/lilypond/issues/detail?id=2200 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
On 3/14/12 1:28 PM, Keith OHara k-ohara5...@oco.net wrote: On Wed, 14 Mar 2012 08:20:13 -0700, Neil Puttock n.putt...@gmail.com wrote: What happens if I want the old behaviour? Do I have to move the Dot_column_engraver back to the Staff context and forgo the improvements in more complicated situations? Yes. But, somebody made a suggestion on the original enhancement request that (if possible to implement) would give you aligned dots between voices when they would be near-aligned if set independently. Knowing that somebody wants a better solution, I re-opened the enhancement request. http://code.google.com/p/lilypond/issues/detail?id=2200 We should not re-open the original request. We should create a new issue. Thanks, Carl ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On Wed, Mar 14, 2012 at 2:50 PM, Hans Aikema hans.aik...@aikebah.net wrote: On 14-3-2012 18:37, Hans Aikema wrote: On 14-3-2012 18:01, Michael Ellis wrote: On Wed, Mar 14, 2012 at 11:38 AM, Hans Aikemahans.aik...@aikebah.net wrote: On 14-3-2012 14:30, Michael Ellis wrote: On Tue, Mar 13, 2012 at 5:26 PM, Michael Ellis michael.f.el...@gmail.com wrote: Is this a known problem? I don't see any prior reports online and I've been seeing it since at least 2.12 but assumed it was because I was doing some fairly complicated things. I took time to reduce it to a minimal example today. It's still present in 2.15.33 as shown by the example below. FWIW, I'm running OS X 10.6.7 and playing the midi with QuickTime. I'm attaching the midi file. Is there a workaround? Thanks, Mike You're correct Michael, I misread the report... but I think it's likely that the instrument change is 'a note too late' due to the same issue. I'll do some experimenting on it and will get back to you. regards, Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user . Michael, This looks like an issue with Quicktime: - When I play your midi it in Windows 7's Media player the instrument changes are at the right time. - When I convert it to a wave-file in Windows using Timidity++ the instrument changes at the right time - When I play it using Noteworthy Composer Viewer (http://www.noteworthysoftware.com/nwc2/viewer.htm) the instrument changes are at the right time - When I play it in Quicktime for Windows 7.7.1 (build 1680.42) the instrument changes a note too late - When I play it in Quicktime Player (7.6.6 (build 1710)) for Mac OS X (10.7.3) the instrument changes a note too late. If you ask me, I see a pattern there ;) regards, Hans Me, too. Thanks very much for digging into it. I confirmed that LilyPondTool's player doesn't have the problem on OS X. QMidi also seems ok. It's kind of wild that there are no reports when I search for QuickTime midi instrument change delay etc. Guess most Mac users don't listen very closely :-) Cheers, Mike ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: separating design from pure score
On 14-3-2012 19:16, Stjepan Horvat wrote: Hello, I'm working on a project and i want to separate the design from score because i want to have a clear score so that in the future when i maybe want to change the design i dont have to change the score (something like html and CSS :) ). So when i include my score into my design file variables are included but score block also. Now when i what to change, for example, \mark \default to have a preety box i dont know where to put it. Is there a way not to include a score block but all variables, or insert stuff into a score block that is invisible to me? If I understand your request correctly you're looking for a similar structure as what I'm working with for generating beamerslides of songs including their music. In that case the \include command is your friend. What I have in my projects: format/BaseBeamerslideDesign.ly contains - a \paper section containing lots of formatting settings - a \layout setting containing lots of formatting settings - an include for yet another lilypond file containing useful scheme functions such as the override-color-for-allgrobs scheme funtion I found in the LSR: http://lsr.dsi.unimi.it/LSR/Item?id=443 - variable definitions for a music staff (muziekbalk) and its associated lyrics (verstekst): muziekbalk = { \new Staff \new Voice = myMelody { \melodie } } verstekst = {\new Lyrics \lyricsto myMelody { \tekst }} format/BeamerRegular.ly contains - an include of format\BaseBeamerslideDesign.ly - a Score block combining the variables defined in BaseBeamerSlideDesign into an actual Score and override of the grob-colors to get colored output: === format/BeamerRegular.ly sample === \include BaseBeamerslideDesign.ly \score { \applyContext #(override-color-for-all-grobs white) \muziekbalk \verstekst } === end of format/BeamerRegular.ly === Then any song requiring the beamer slide format: - a \header block - a variable definition called 'melodie' (which is refered to in the format\BaseBeamerslideDesign.ly mentioned above) containing the melody of the song - a variable definition called 'tekst' which is refered to in the format\BaseBeamerslideDesign.ly mentioned above) containing the lyrics of the song - an include of the format/BeamerRegular.ly e.g.: === MySong.ly sample === \version 2.15.26 \header { title = Just some sample song } melodie = \relative c'' { \clef treble \time 4/4 \key c \major c d e f \bar |. } tekst = \lyricmode { this is a song } \include format/BeamerGewoon.ly === end of MySong.ly sample === The reason for the BeamerRegular.ly is that I also have separate files for BeamerNoBars, BeamerNoTimeSignature, BeamerNoTimeSignatureNoBars for different score-tweaks on different songs. All basic formatting is done in BaseBeamerslideDesign, the tweaks for outputting different score types for different subsets of my songs are in these additional lilypond format/*.ly files. The songs than include the appropriate 'tweaked' design from the format folder. Any design change (e.g. font-size, fonts to use, paper-sizing) I can do on BaseBeamerslideDesign and then I can just regenerate all the songs of my library to get updated sheet-music using the new layout. This 'layering' of definitions can be extended as much as one wants of course, such as for different score setups (I only have need for a single-voice score with accompanying lyrics), someone else might find a need to define eg a set of SATB choral score designs including the baseDesign for the basic layout settings. Which might lead to for example: - baseDesign.ly (font setup, paper setup, staff-sizing setup) - SATBScoreBase.ly (variable setup for the 4 voices and accompanying lyrics) - SATBScore-S-A-T-B-SLyrics.ly including the SATBScoreBase and containing a score-block with each voice on its own staff and only lyrics accompanying the Soprano voice - SATBScore-SA-TB-STLyrics.ly including the SATBScoreBase and containg a score-block with the voices two-by-two on staffs and lyrics accompanying the Soprano and Tenor voices - SATBScore-S-A-T-B-LyricsAll.ly including the SATBScoreBase and containing a score-block with each voice on its own staff and lyrics accompanying each of the voices regards, Hans Aikema ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On 14-3-2012 21:07, Michael Ellis wrote: Thanks very much for digging into it. I confirmed that LilyPondTool's player doesn't have the problem on OS X. QMidi also seems ok. It's kind of wild that there are no reports when I search for QuickTime midi instrument change delay etc. Guess most Mac users don't listen very closely Might also be Mac Lilypond users don't use Quicktime for MIDI playback and Quicktime users only use 'single-instrument-per-track' MIDI-files. regards, Hans ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [Frescobaldi] Re: ANN: Frescobaldi 2.0.4
On Wed, Mar 14, 2012 at 2:43 PM, David Kastrup d...@gnu.org wrote: Wilbert Berendsen wbs...@xs4all.nl writes: Op Wed, 14 Mar 2012 14:07:06 +0100 Janek Warchoł janek.lilyp...@gmail.com schreef: Very cool! May i suggest making it's default settings 600 px wide and 350% zoom? What is a nice magnifier size and scale depends on the screen size. True. xdpyinfo [...] screen #0: dimensions: 1280x800 pixels (339x212 millimeters) resolution: 96x96 dots per inch [...] I use Frescobaldi on an Asus EEEPC with 1024*600 :) So I think one must just go once through the Frescobaldi settings pages and hack it all up to your liking :) Most windowing systems provide the respective data for a good first educated guess. That would be nice. cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midiInstrument changes play one note too late.
On Wed, Mar 14, 2012 at 6:01 PM, Michael Ellis michael.f.el...@gmail.com wrote: I'm not sure how I would go about implementing the suggested workaround for my application. I run into the problem primarily when transcribing individual choral parts for my section. It's nice in the midi output if cues from other parts are sounded by a different instrument. Since I don't have time to transcribe the entire score, it's not practical to use the built-in LilyPond cue methods Hmm? IIRC to use the LilyPond method you don't need to transcribe the entire score, just the fragment you want to quote. Be sure to add appropriate number of skips to have it appear at the right moment. In any case, this seems to me like a fairly serious defect. I hope it's on the list for 2.16. I'm sorry if it will sound harsh, but compared to some other things i definitely won't call it serious... And it's not on the list for 2.16, unless you pay someone to fix it (i recommend David Kastrup). I hope this won't discourage you, but i don't expect it to be on 2.18 list, too - i guess it will be fixed in, like, 2 years or so. Our development resources are *really that limited*. So, please seriously consider fixing it yourself (we will provide basic guidance to you) or paying David. cheers, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Point-and-click on Frescobaldi?
Thanks, Wilbert, I had figured it was something like that, but I am too far from geeky to be able to implement something that complicated. I certainly do make use of it, though! I have another problem now, however. When I upgraded Lily to the latest (2.15.33) and began to use Fresco again to work on a new file, the whole thing seems broken! Not sure what I did, but in the compliation panel, all I get is the following: Starting lilypond-windows.exe. [file.ly]... Could not start lilypond-windows.exe. Please check path and permissions. I didn't *actively* do anything to the path or permissions, and I even tried uninstalling and reinstalling both Frescobaldi and LilyPond, with no improvement. Where to I look to find the problem, and how can I fix it? Holy Week is coming up, and I have some things I need to do! Help! Thanks for a fantastic program. Blessings, Gordon+ On 14/03/2012, Wilbert Berendsen wbs...@xs4all.nl wrote: Op Sat, 10 Mar 2012 13:13:05 -0500 Father Gordon Gilbert fatherg...@gmail.com schreef: Yes, changing a note and recompiling did the trick, thanks! I had done a convert-ly and recompiled, and I suppose that's why it pointed down to where the changes were listed. Indeed changes a convert-ly run the whole document (if you click OK in the convert-ly dialog). When that happens, the point and click locations are lost. This is because the editor (a component in Qt4) looses the positions of all text cursors when the whole document text is replaced. Text cursors remember their position in a document while it is being edited, that's why I use them for point and click (which was in Frescobaldi 1 called smart point and click). But when a region of text is deleted, all cursors that were in it, now point to the place the deleted region started. When then new text is inserted, all cursors move to the end of the inserted position. This is Qt4 behaviour, even when you delete a region and then undo it, the point and click positions are lost. But simply recompiling (even without changing a note) updates the PDF and that triggers a re-load of the point and click positions. -- Wilbert Berendsen (http://www.wilbertberendsen.nl) -- Fr. Gordon Gilbert Penetanguishene, ON ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Sibelius user looking for the easiest way to learn LilyPond
At Wed, 14 Mar 2012 12:00:47 -0400, lilypond-user-requ...@gnu.org wrote: On 14 March 2012 03:01, Keith OHara k-ohara5...@oco.net wrote: Off topic, LilyPond now places the dots equally-spaced from the noteheads, in that particular example. http://code.google.com/p/lilypond/issues/detail?id=2200 Previously, LilyPond put them all in one column because that was easier to program than figuring out when dots need to avoid noteheads in another voice. What happens if I want the old behaviour? Do I have to move the Dot_column_engraver back to the Staff context and forgo the improvements in more complicated situations? The following example looks plain weird. I've never seen any hand-engraved music align dots like this. \relative c'' { c16.[ c32] } \\ { a2. } I'll second that. Simplifying the example from my blog post: \relative c'' { \time 3/8 { d a'4. c g' } \\ { f, c'4. e b' } } In the first measure, if the dots for d a' appear above f, c', then the performer would have to use some extra brain cycles to figure out that they are rhythmic dots and not staccato. (Of course, syntactically the lower dot couldn't really be staccato, but it helps if the layout clarifies this.) I agree that the examples shown in the original report (especially the ones that look like they come from Bach solo violin pieces) are much improved, but this case would have to be a regression, I think. James -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user