Re: Newbie problems

2013-04-15 Thread Paul Morris
On Apr 15, 2013, at 10:48 AM, Peter Toye lilyp...@ptoye.com wrote: One problem I'm having is that it's not easy to find things in the documentation. As with all language systems,. you spend an awful lot of time searching. I have had good luck searching the Notation Reference index page

Re: Proposed new available and recommended behavior of \relative

2013-03-10 Thread Paul Morris
On Mar 10, 2013, at 10:22 AM, David Kastrup d...@gnu.org wrote: The proposed convert-ly rule of issue 2329 converts everything it can interpret (which is the majority) to argumentless \relative. This conversion is needed for converting the LilyPond code base, and it should be available to

Re: Frescobaldi install (was: final score)

2013-03-10 Thread Paul Morris
On Mar 10, 2013, at 3:39 AM, flup2 phili...@philmassart.net wrote: But as soon as the macports installation is done (between 1 and 4 hours depending the computer age), anyone can create an .app bundle (I posted the way to do it) that only includes a launch script. Hi Philippe, Can you point

Re: Frescobaldi install (was: final score)

2013-03-10 Thread Paul Morris
On Mar 10, 2013, at 1:23 PM, flup2 phili...@philmassart.net wrote: #!/bin/sh cd /Applications/frescobaldi /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 frescobaldi Thank you for the instructions! When I installed frescobaldi, I just did the default install

Re: Frescobaldi install (was: final score)

2013-03-10 Thread Paul Morris
On Mar 10, 2013, at 4:08 PM, flup2 phili...@philmassart.net wrote: The opt/ etc. path and the frescobaldi command must be on the same line. They seem to be on 2 different lines in your command. Ah, right. The email formatting made it seem like they were on separate lines. I also realized

Re: Proposed new available and recommended behavior of \relative

2013-03-09 Thread Paul Morris
On Mar 9, 2013, at 4:47 AM, David Kastrup d...@gnu.org wrote: So that's the next step: opening the door on \relative { } again, or rather a different door with the same door handle. Interesting discussion. I like the new/proposed behavior for \relative { ... } (without reference pitch),

Re: Bar lines

2013-03-09 Thread Paul Morris
On Mar 8, 2013, at 1:21 AM, Janek Warchoł janek.lilyp...@gmail.com wrote: To be absolutely clear: i want both an 'end-bar' property and the thing mentioned above. To put it differently: i suggest to have an 'end-bar' property and set its default value to a function which returns |. for longer

Re: Proposed new available and recommended behavior of \relative

2013-03-09 Thread Paul Morris
On Mar 9, 2013, at 10:05 PM, Jim Long lilyp...@umpquanet.com wrote: I would rather not have convert-ly change any use of \relative with an explicit reference pitch. That was my thought too. Of course it would be possible, but since there would be no change to the usage of explicit reference

Re: final score

2013-03-04 Thread Paul Morris
On Mar 4, 2013, at 10:28 AM, Francisco Vila paconet@gmail.com wrote: What I really meant is that a monolithic, windows-style installer for Frescoaldi on MacOs is more important than one for GNU/Linux because GNU/Linux users are more likely to be able to face the rather challenging

Re: final score

2013-03-04 Thread Paul Morris
On Mar 4, 2013, at 10:39 AM, flup2 phili...@philmassart.net wrote: The best would be to create a Macport's port for Frescobaldi. I'll try to see if it's easy or not. I agree that this would really help and is a smart low-hanging-fruit approach. Thanks for looking into it. -Paul

Re: CPU usage and barchecks

2013-02-25 Thread Paul Morris
On Feb 25, 2013, at 2:48 PM, Antonio Gervasoni agervas...@gmail.com wrote: I wonder if a future version of Lilypond would be able to compile only the parts that change. Maybe with some kind of version control management incorporated into the software. Don't know why it wasn't included from the

Re: Mutopia

2013-02-23 Thread Paul Morris
New contributions will not be added until such a new team is in place, although I will try to continue to process updates to existing contributions where possible. This is from Chris Sawyer's message (copied below) to the Mutopia discussion list on November 25, 2012, in the thread Mutopia must

Re: No time signature or bar lines

2013-02-10 Thread Paul Morris
On Feb 10, 2013, at 12:22 AM, SoundsFromSound soundsfromso...@gmail.com wrote: Hmm, I think I maybe figured it out. Not 100% sure if it's the most lean, efficient code but this seems to work great for what I want: A solo piano piece with no barlines and no time signature. Looks fine to me.

Re: Changing the midpoint of a custom staff for stem direction purposes

2013-02-10 Thread Paul Morris
On Feb 10, 2013, at 6:09 PM, Eluze elu...@gmail.com wrote: I never used such transformations, but in /NR 1.6.2 Modifying single staves /(2.17.11) I found: The clef position and the position of middle C may need to be adjusted accordingly to fit the new lines. Thanks Eluze. I had

Re: No time signature or bar lines

2013-02-09 Thread Paul Morris
On Feb 9, 2013, at 6:53 PM, ivan.k.kuznet...@gmail.com wrote: (1) the example below is pretty much what I want expect that there is space where the time signature would normally go (I erase the time signature with \override TimeSignature #'transparent = ##t but the space is still there).

Changing the midpoint of a custom staff for stem direction purposes

2013-02-08 Thread Paul Morris
Hello everyone,Here's another obscure question. If you change the line-positions to create a custom staff, for example to have a 4-line staff, what is the best way to also change the "midpoint" of the staff, so that the stem directions are correct for the altered staff? (Notes should get upwards

Re: Space between Piano Staves

2013-02-03 Thread Paul Morris
On Feb 3, 2013, at 8:13 PM, Mark Stephen Mrotek carsonm...@ca.rr.com wrote: For what term/command do I search the online manual for directions to control the distance from one Piano staff to the next Piano staff? Hi Mark, I think you are looking for this:

Re: ledger line crash with very high notes in first chord of system

2013-01-30 Thread Paul Morris
On Jan 30, 2013, at 11:36 PM, Paul Morris p...@paulwmorris.com wrote: \set Staff.clefOctavation = #7 Actually, this should be: \set Staff.clefOctavation = #14 since the clef is two octaves higher, not one, right? -Paul___ lilypond-user mailing

Re: ledger line crash with very high notes in first chord of system

2013-01-30 Thread Paul Morris
so that the staff extends beyond it on the left. Cheers, -Paul On Mon, Jan 28, 2013 at 11:27 AM, Paul Morris p...@paulwmorris.com wrote: On Jan 28, 2013, at 11:24 AM, Eluze elu...@gmail.com wrote: adding \stopStaff \startStaff works Thanks! I also added an override to keep

Re: \bar|: \bar:|

2013-01-29 Thread Paul Morris
On Jan 28, 2013, at 10:25 PM, MING TSANG tsan...@rogers.com wrote: I try tools menu update with convert-ly I got the following error from frescobaldi. Hi Ming, Hmmm... it works for me. I do not know how to troubleshoot that error you got. I would try the Frescobaldi mailing list as

Re: ledger line crash with very high notes in first chord of system

2013-01-28 Thread Paul Morris
On Jan 28, 2013, at 5:32 AM, m...@mikesolomon.org wrote: I haven't completely wrapped my head around the best way to implement it, but it seems like one solution is overriding the stencil function of the LedgerLineSpanner to be continuous across notes. Hmmm... I tried overriding the line

Re: ledger line crash with very high notes in first chord of system

2013-01-28 Thread Paul Morris
On Jan 28, 2013, at 11:24 AM, Eluze elu...@gmail.com wrote: adding \stopStaff \startStaff works Thanks! I also added an override to keep the stems from being extended all the way down. Not sure if this is the best approach, but good to know how to use it. -Paul \version 2.16.1

Re: \bar|: \bar:|

2013-01-28 Thread Paul Morris
On Jan 28, 2013, at 8:47 PM, MING TSANG tsan...@rogers.com wrote: how do I run convert-ly using frescobaldi? Hi Ming, try: Tools menu -- Update with convert-ly... HTH, -Paul ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Writing markup in lisp

2013-01-26 Thread Paul Morris
Hello Alberto, Looks like you've already figured it out, but you can also wrap lilypond code in #{ ... #} to embed it in scheme code. This is particularly helpful for use with \markup. So I think the following should also work (although I haven't tried it): \set Staff.instrumentName =

Re: Writing markup in lisp

2013-01-26 Thread Paul Morris
Please disregard my last message. I now see that you wanted to use \markup in the following scheme code: \addInstrumentDefinition #contrabassoon #`((shortInstrumentName . Cbsn.)) So I think something like this should work: \addInstrumentDefinition #contrabassoon #`((shortInstrumentName .

Re: Writing markup in lisp

2013-01-26 Thread Paul Morris
On Jan 26, 2013, at 12:42 PM, David Kastrup d...@gnu.org wrote: Not quite: you'll need \addInstrumentDefinition #contrabassoon #`((shortInstrumentName . ,#{ \markup { ... } #} )) or you'll have the quoted equivalent of \markup in your definition. Thanks David!

Re: Mac MIDI synthesizer (was frescobaldi on mac)

2013-01-15 Thread Paul Morris
On Jan 15, 2013, at 4:47 AM, flup2 phili...@philmassart.net wrote: Each time Qsynth is launched, it uses a different port, obvisously; if you had to restart it, you need to click Refresh MIDI ports and choose another Fluidsynth occurrence (the port number is shown between parenthesis). Thank

Re: frescobaldi on mac

2013-01-14 Thread Paul Morris
Philippe's message inspired me to try again using Macports. It was *much* easier going than without Macports. python-poppler-qt is now working for me for PDF functionality, but I still have not been able to get the midi part (portmidi) to work. Jim, below are my notes on what I did, in

Re: frescobaldi on mac

2013-01-14 Thread Paul Morris
On Jan 14, 2013, at 4:00 PM, flup2 phili...@philmassart.net wrote: Here's the way I made MIDI work within Frescobaldi on a Mac: Thanks Philippe! I followed your steps and Frescobaldi's MIDI player is now working for me. This is especially nice because I was never able to get it to work with

Re: frescobaldi on mac

2013-01-14 Thread Paul Morris
On Jan 14, 2013, at 6:36 PM, Tim McNamara tim...@bitstream.net wrote: I'm still not able to get this to work. Frescobaldi complains about not having SIP even though SIP is installed and activated, and therefore won't launch. Which means of course that I am not yet able to try to get it to

Re: frescobaldi on mac

2013-01-14 Thread Paul Morris
I spoke too soon. MIDI was working, but now it's not. Under Frescobaldi's MIDI Settings FluidSynth virtual port shows up just fine, and midi files load fine in the player. But when I click play it gives a No output found! message and there is no audio. (It appears that qsynth needs to be

Re: Mac MIDI synthesizer (was frescobaldi on mac)

2013-01-14 Thread Paul Morris
On Jan 14, 2013, at 7:13 PM, james james.lilyp...@googlemail.com wrote: what do those of you here who have osx 10.7+ use for MIDI playback? I've just been using Quicktime Player 7, and haven't looked into other options. ___ lilypond-user mailing list

Re: Getting the name of the context a scheme function was called from

2013-01-12 Thread Paul Morris
On Jan 12, 2013, at 2:47 AM, David Kastrup d...@gnu.org wrote: Uh, if you have a _custom_ staff context for which you want particular overrides, you just do \layout { \context { \Staff \name MyStaff \alias Staff \override ... \override ... } } at the bottom, and

Re: Getting the name of the context a scheme function was called from

2013-01-12 Thread Paul Morris
On Jan 12, 2013, at 10:42 AM, Marc Hohl m...@hohlart.de wrote: Would the use of tags be helpful here? http://lilypond.org/doc/v2.16/Documentation/notation/different-editions-from-one-source#using-tags Thanks Marc! Tags are just the tool for the job, and I wasn't aware of them before. I

Re: frescobaldi on mac

2013-01-12 Thread Paul Morris
On Jan 12, 2013, at 2:53 PM, Jim Tisdall supp...@jimtisdall.com wrote: In trying to compile frescobaldi on my mac pro osx10.7.5, I have the program running but I've run into the following problem with trying to get the python-poppler-qt4-0.16.3 extension to work: Hi Jim, I got as far as

Getting the name of the context a scheme function was called from

2013-01-11 Thread Paul Morris
Hello everyone, Here's an obscure scheme function question: how do you get the name of the context that a scheme function was called from, from within that function? Assuming this is possible... I would like to write a scheme function that will do something (override horizontal placement

Re: Getting the name of the context a scheme function was called from

2013-01-11 Thread Paul Morris
On Jan 11, 2013, at 12:40 PM, David Kastrup d...@gnu.org wrote: But to do that I need the translator object (which seems to be an engraver?), and I'm not sure how to do that. Maybe there is a way to get to it from the grob? A grob can be announced in multiple contexts, so no. Ok, thanks.

Re: Tweaking notehead direction in chords

2013-01-06 Thread Paul Morris
Hi Harm, On Jan 6, 2013, at 7:38 AM, Thomas Morley thomasmorle...@googlemail.com wrote: The problem is that \displaceHeads uses 'before-line-breaking. In case of beamed stems it tries to call the 'stencil before it is calculated. Changing the property to 'after-line-breaking seems to solve

Re: Tweaking notehead direction in chords

2013-01-05 Thread Paul Morris
On Jan 4, 2013, at 11:10 PM, Paul Morris p...@paulwmorris.com wrote: Without looking into it any further, my best guess is that calculating the stem width does not work because the stem grob has not been generated before the ] is reached, or something like that? By commenting things out

Re: Tweaking notehead direction in chords

2013-01-04 Thread Paul Morris
On Dec 27, 2012, at 9:38 AM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Paul, approved as http://lsr.dsi.unimi.it/LSR/Item?id=861 I added some small changes. Could take them back, if you want. Many thanks for contributing, Harm Hi Harm, That's great, thanks!

Re: Tweaking notehead direction in chords

2012-12-26 Thread Paul Morris
Hi Harm, On Dec 26, 2012, at 7:13 AM, Thomas Morley thomasmorle...@googlemail.com wrote: was a matter of $-signs again. I uploaded a 2.14.2-version with some small changes. Ah, I should have known. :-) Thanks for making the needed changes. Ofcourse the description and the prefatory

Re: Tweaking notehead direction in chords

2012-12-25 Thread Paul Morris
On Dec 23, 2012, at 1:33 PM, Thomas Morley thomasmorle...@googlemail.com wrote: that's all true and _much_ better explained than I could have done it. I agree to all of it. Hi Harm, ok, thanks. Thanks. And I promise to approve it asap. I tried to upload the most recent code to the LSR,

Re: Macro function for changing the size of a single staff

2012-12-23 Thread Paul Morris
On Dec 22, 2012, at 6:52 AM, Thomas Morley thomasmorle...@googlemail.com wrote: nice function! Thanks! But making it work with 2.14.2 is not a matter of correct usage of $ 2.14.2 doesn't accept music-functions in \with or \layout. Ok, I thought something like that might be the case, so

Re: Tweaking notehead direction in chords

2012-12-21 Thread Paul Morris
On Dec 20, 2012, at 7:51 PM, Thomas Morley thomasmorle...@googlemail.com wrote: We should provide a shorter example than my last. I used the custom-note-heads only for advanced testings. I'd prefer a double-line, though, above the original, below the tweaked version. Sounds good to me. I

Macro function for changing the size of a single staff

2012-12-21 Thread Paul Morris
Hi all, To resize a single staff you have to change three different settings, using the same value for each[1]. This felt redundant and complex, so I wrote a little macro function that sets all three at once, simplifying the process. Maybe others will find it useful too. See the snippet

Re: Macro function for changing the size of a single staff

2012-12-21 Thread Paul Morris
On Dec 22, 2012, at 12:49 AM, Jeffrey Trevino jeffrey.trevi...@gmail.com wrote: Doesn't set-global-staff-size do this already? http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Setting-the-staff-size Yes, but the difference is that set-global-staff-size sets the size _globally_ for

Re: Tweaking notehead direction in chords

2012-12-20 Thread Paul Morris
On Dec 17, 2012, at 6:13 PM, Thomas Morley thomasmorle...@googlemail.com wrote: I had a closer look at this snippet. Attached you'll find my version of it. Hi Harm, I had a chance to take a closer look at your improved version of this snippet. Very nice work, thank you! The changes and

Re: zigzag staffline

2012-12-20 Thread Paul Morris
On Dec 18, 2012, at 10:25 AM, David Kastrup d...@gnu.org wrote: Dashed lines can be done using something like \markup \pattern #60 #X #1 \draw-line #'(0.5 . 0) Thanks! This is good to know. -Paul ___ lilypond-user mailing list

Re: zigzag staffline

2012-12-20 Thread Paul Morris
On Dec 19, 2012, at 8:14 PM, Thomas Morley thomasmorle...@googlemail.com wrote: the code below constructs a new StaffSymbol with zigzag-lines at specified positions. Very nice! I agree with Marc that it would be good to add it to the LSR. I will see if I can adapt it to make a dashed

Re: Dashed staff lines

2012-12-20 Thread Paul Morris
My apologies for my email program screwing up the image attachment on that last message. I tried to attach an svg image with unexpected results. Here's a png version instead.-Paul___ lilypond-user mailing list lilypond-user@gnu.org

Re: A question of list etiquette and images.

2012-12-18 Thread Paul Morris
Hi David and Helge, You both make good points (copied below) about the drawbacks of using links to images instead of attaching images to an email. I actually don't mind inline images, but was just suggesting links as another possibility. Cheers, -Paul On Dec 18, 2012, at 3:00 AM, Helge

Re: zigzag staffline

2012-12-18 Thread Paul Morris
Hi Gagi, On Dec 18, 2012, at 5:35 AM, Gagi Petrovic m...@gagipetrovic.nl wrote: Dear Ponders, i'm working on a composition where i'm in need of a custom 3-lined-staff with a zigzagged (like the glissando style, see attachment) middle line. Is it possible to make a small adjustement to the

Re: Moving accidentals above or below notes

2012-12-17 Thread Paul Morris
On Dec 17, 2012, at 2:58 PM, Dominique Faure dominique.fa...@gmail.com wrote: Using the following code, I'd like to move accidentals above or below notes. --8- - - - - - - - - - \version 2.16 accidentalBelow = { \once \override Score.Accidental #'extra-offset = #'(1.5 . -2.5) }

Re: Moving accidentals above or below notes

2012-12-17 Thread Paul Morris
Hi Dominique, Apparently I cannot resist a challenge. The following is a scheme function that will move accidentals above or below notes, depending on the stem direction. You can adjust the numbers following ly:grob-translate-axis! to fine-tune the positioning. If you want it to

Re: Tweaking notehead direction in chords

2012-12-17 Thread Paul Morris
On Dec 17, 2012, at 6:13 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/12/15 Paul Morris p...@paulwmorris.com: [...] Looks like the most recent version of the snippet is now appearing in the LSR: http://lsr.dsi.unimi.it/LSR/Item?u=1id=861 Hi Paul, I had a closer look

Re: please direct to removing page numbers

2012-12-17 Thread Paul Morris
On Dec 17, 2012, at 9:12 PM, i...@soundand.com wrote: I'm sure it's possible to remove page numbers from a score but I can't find it in the snippets or manual I've been assuming that it's something like \remove page number in \context in \Score but I can't find it Thanks jay Hi

Re: A question of list etiquette and images. (Was Re: Short stems)

2012-12-17 Thread Paul Morris
On Dec 18, 2012, at 1:03 AM, Arle Lommel fene...@gmail.com wrote: Given that, does anyone have any suggestions to how behave nicely for list members like Harm when images are involved? Hi Arle, Hmmm... one possible solution is to post your images in flickr, dropbox, or your online

Re: Lilypond in Mac OS X Terminal

2012-12-15 Thread Paul Morris
On Dec 12, 2012, at 11:03 AM, Paul Morris p...@paulwmorris.com wrote: I tried to follow those instructions recently (to try the png output) but was not able to get it to run. For future command-line beginners like myself, I figured out the problem: I needed to change the shell I was using

Re: Tweaking notehead direction in chords

2012-12-15 Thread Paul Morris
On Dec 14, 2012, at 4:07 AM, David Kastrup d...@gnu.org wrote: David Nalesnik david.nales...@gmail.com writes: On Thu, Dec 13, 2012 at 9:30 PM, David Nalesnik david.nales...@gmail.com wrote: I notice that you haven't added the $ sign before offsets in the LSR snippet as Harm and I

Re: Forced double accidental

2012-12-13 Thread Paul Morris
On Dec 13, 2012, at 6:50 AM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/12/13 Paul Morris p...@paulwmorris.com: [...] I found a good way to break it. If you try it with whole notes the stem's X-extent is (+inf.0 . -inf.0) and you get this error: programming error: Infinity

Re: Tweaking notehead direction in chords

2012-12-13 Thread Paul Morris
, Paul Morris p...@paulwmorris.com wrote: I came up with the following using inf? to check for an infinite value and use 0 if so. It works on my machine. Blank screen after uploading to the LSR again, but maybe it is just taking time to update? So I left it up this time. I notice

Re: Lilypond in Mac OS X Terminal

2012-12-12 Thread Paul Morris
On Dec 12, 2012, at 9:31 AM, Parham FH par...@hil.t.u-tokyo.ac.jp wrote: I am curious if it is possible to run lilypond from the Mac OS X (my case: 10.6.8) terminal Instructions are here: http://www.lilypond.org/doc/v2.16/Documentation/web/macos-x Running on the command-line Cheers, -Paul

Re: Lilypond in Mac OS X Terminal

2012-12-12 Thread Paul Morris
On Dec 12, 2012, at 10:32 AM, David Kastrup d...@gnu.org wrote: Paul Morris p...@paulwmorris.com writes: On Dec 12, 2012, at 9:31 AM, Parham FH par...@hil.t.u-tokyo.ac.jp wrote: I am curious if it is possible to run lilypond from the Mac OS X (my case: 10.6.8) terminal Instructions

Re: Lilypond in Mac OS X Terminal

2012-12-12 Thread Paul Morris
On Dec 12, 2012, at 6:13 PM, Parham Fazelzadeh par...@hil.t.u-tokyo.ac.jp wrote: I have tried searching for the answer online [...] thank you so much. I feel stupid now, can't believe I missed that. I guess my eyes were looking for the word terminal. Also, I would have maybe expected

Re: Tweaking notehead direction in chords

2012-12-12 Thread Paul Morris
On Dec 12, 2012, at 7:24 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Paul, I had a look at the LSR-snippet http://lsr.dsi.unimi.it/LSR/Item?id=861 It's no problem to make it work with 2.14.2 just adding a $-sign before offsets in the music-function. But you will have

Re: Tweaking notehead direction in chords

2012-12-12 Thread Paul Morris
Hi Harm, On Dec 12, 2012, at 9:03 PM, Thomas Morley thomasmorle...@googlemail.com wrote: I've seen the updated version in the LSR already and tend to approve it as is. I doubt it could be possible to create an automatism for 'stem-attachment. Ok, I went ahead and added examples of manual

Re: Tweaking notehead direction in chords

2012-12-11 Thread Paul Morris
. This helps a *lot*. Best regards, Arle On 2012 Dec 11, at 21:05 , Paul Morris wrote: Hi Arle, On Dec 11, 2012, at 2:37 PM, Arle Lommel fene...@gmail.com wrote: I've been looking for how to tweak the direction of noteheads within chords. I've got a few instances where Lilypond’s

NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread Paul Morris
Hello everyone, I'm writing a scheme function to override the usual horizontal placement of noteheads relative to the stem (in certain instances). The only thing that is not working is the final step of setting the X-offset property of the NoteHead grob. I tracked down the problem, as shown

Re: NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread Paul Morris
Hi David, On Dec 8, 2012, at 2:03 PM, David Nalesnik david.nales...@gmail.com wrote: Hi Paul, On Sat, Dec 8, 2012 at 12:00 PM, Paul Morris p...@paulwmorris.com wrote: [snip] In this case you can make use of the 'stem-attachment property: \override NoteHead #'stem-attachment

Re: Custom key signature stencils, differentiating major and minor keys

2012-12-06 Thread Paul Morris
On Dec 5, 2012, at 5:58 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Sorry to send this again, forgot to cc the list. 2012/12/5 Thomas Morley thomasmorle...@googlemail.com: 2012/12/5 Paul Morris p...@paulwmorris.com: On Dec 4, 2012, at 7:27 PM, Thomas Morley thomasmorle

Re: Custom key signature stencils, differentiating major and minor keys

2012-12-04 Thread Paul Morris
I've uploaded a revised version of my snippet: Automatically display key names above key signatures http://lsr.dsi.unimi.it/LSR/Item?u=1id=856 What's new? - handles modes (dorian, phrygian, lydian, etc.) - never prints key names above key cancellations (this was inconsistent before) -

printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
Hi everyone, I am using \set Staff.printKeyCancellation = ##f to not show the key cancellation when you change keys[1]. But I found that this does not hide the key cancellation when you change back to C major or A minor[2] (presumably since that would leave no indication of a key change at

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
On Dec 2, 2012, at 1:16 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/12/2 Paul Morris p...@paulwmorris.com: Hi everyone, I am using \set Staff.printKeyCancellation = ##f to not show the key cancellation when you change keys[1]. But I found that this does not hide the key

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
On Dec 2, 2012, at 3:01 PM, Keith OHara k-ohara5...@oco.net wrote: Paul Morris paul at paulwmorris.com writes: For greater flexibility, would it make sense for PrintKeyCancellation to have 3 options instead of 2? 1. show key cancellations 2. hide key cancellations, except C major

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
On Dec 2, 2012, at 6:49 PM, Thomas Morley thomasmorle...@googlemail.com wrote: You can distinguish KeySignature and KeyCancellation by 'name: \version 2.16.1 #(define Custom_key_engraver (make-engraver (acknowledgers ((key-signature-interface engraver grob source-engraver)

Re: Note duration line (contemporary)

2012-11-28 Thread Paul Morris
On Nov 28, 2012, at 7:02 PM, Jeffrey Trevino jeffrey.trevi...@gmail.com wrote: It's a long-term goal of mine to learn enough about the Scheme side of Lilypond to be able to design stencils, and custom notational constructs more broadly, like you've just done. It seems like graphic

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-21 Thread Paul Morris
On Nov 18, 2012, at 7:26 AM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/11/18 Paul Morris p...@paulwmorris.com: [...] I do have some small changes I made to my local copy that I'd like to add. They are for the accidental signs in the text -- better spacing and putting them

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-17 Thread Paul Morris
On Nov 16, 2012, at 7:50 PM, Thomas Morley thomasmorle...@googlemail.com wrote: 2012/11/14 Paul Morris p...@paulwmorris.com: Hi Ming, I took another look at this and since there's only one key signature where the accidentals do not extend above the staff (F major / D minor) I just added

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-17 Thread Paul Morris
signature engraver does not get called and so it does not print the name of the key there. -Paul Please see the .pdf Blessing in+, Ming. From: Thomas Morley thomasmorle...@googlemail.com To: Paul Morris p...@paulwmorris.com Cc: MING TSANG tsan...@rogers.com; lilypond

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-13 Thread Paul Morris
Here is the .png and .ly file. Thank you again. Blessing in+, Ming. From: Paul Morris p...@paulwmorris.com To: MING TSANG tsan...@rogers.com Sent: Monday, November 12, 2012 10:54:56 PM Subject: Re: Custom key signature stencils, differentiating major and minor keys Hi Ming, Yes, I

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-13 Thread Paul Morris
Hi Ming, I took another look at this and since there's only one key signature where the accidentals do not extend above the staff (F major / D minor) I just added extra padding for those keys. Now the key names always appear above the staff, regardless of the clef. The sizing of the

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-12 Thread Paul Morris
Here is another revision (hopefully the last?!). The previous version would include the key name over a key cancellation[1], but it would often be an incorrect/unrelated key name (!). This version does not include the name of the key above a key-cancellation, unless the tonic note is the

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-12 Thread Paul Morris
On Nov 12, 2012, at 2:42 PM, MING TSANG tsan...@rogers.com wrote: Hi, Paul: I try to use custon-key-signature in my lilypond score and I did not get the alternative key printed above the traditional key signature. What is missing in the code below? I have \Staff \consists

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-11 Thread Paul Morris
On Nov 11, 2012, at 7:38 AM, MING TSANG tsan...@rogers.com wrote: Hi, Paul: Thank you for the custom key signature. I have been dreaming this for sometime, but hesitate to ask lilypond user community. I have been using circle of fifths to identify the key signature. Hi Ming, I'm glad

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-11 Thread Paul Morris
Here is an improved version. It works the same as the last, but with much more streamlined and concise code. -Paul \version 2.16.0 #(define Custom_key_sig_engraver (make-engraver (acknowledgers ((key-signature-interface engraver grob source-engraver) (let* (

Custom key signature stencils, differentiating major and minor keys

2012-11-10 Thread Paul Morris
Greetings everyone, I am trying to override the key signature stencil with a custom stencil whose appearance and position will depend on the key. So far I can determine the key by looking at the alteration-alist property of the key-signature-interface [1] with the KeySignature grob [2].

Re: Custom key signature stencils, differentiating major and minor keys

2012-11-10 Thread Paul Morris
Ok, I figured out a way to differentiate between major and minor keys. I followed the example of this snippet which shows how to access the tonic note of the current key: http://lsr.dsi.unimi.it/LSR/Item?id=818 By combining the tonic note with the type and position of the right-most

Adventures in defining custom Staff contexts

2012-11-05 Thread Paul Morris
Hi all, I was tempted by this page to try to create my own custom Staff context: http://lilypond.org/doc/v2.16/Documentation/notation/defining-new-contexts I currently use a number of overrides in the Staff \with block, so was hoping this would be a more elegant way of achieving that (because

Re: Changing staff size with custom note head stencils

2012-11-03 Thread Paul Morris
On Nov 2, 2012, at 4:45 PM, David Kastrup d...@gnu.org wrote: Paul Morris p...@paulwmorris.com writes: On Oct 31, 2012, at 7:11 PM, Paul Morris p...@paulwmorris.com wrote: That worked to avoid the error, but didn't seem quite right (since it didn't seem to matter what values you fed

Re: Changing staff size with custom note head stencils

2012-11-02 Thread Paul Morris
On Oct 31, 2012, at 7:11 PM, Paul Morris p...@paulwmorris.com wrote: On Mike's suggestion I also switched to using internal path stencils instead of embedded PS. The only problem I ran into was using fill to get a filled triangle. I used: upTriangle = #(ly:make-stencil '(path 0.09

Changing staff size with custom note head stencils

2012-10-31 Thread Paul Morris
Hello, I'm trying to increase the overall size of a given staff, as described in the docs[1] using: \new Staff \with { fontSize = #2 \override StaffSymbol #'staff-space = #(magstep 2) \override NoteHead #'before-line-breaking = \TwinNoteNoteHeads } But I'm also using custom

Re: Changing staff size with custom note head stencils

2012-10-31 Thread Paul Morris
On Oct 31, 2012, at 4:52 PM, Thomas Morley thomasmorle...@googlemail.com wrote: Hi Paul, postscript is scaled with global-staff-size only. To work around you could use: TwinNoteNoteHeads = #(lambda (grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep

Re: Moving notes in a chord to the opposite side of the stem?

2012-04-10 Thread Paul Morris
Hi David, David Nalesnik wrote: Hi Paul, On Mon, Apr 9, 2012 at 9:50 PM, Paul Morris p...@paulwmorris.com mailto:p...@paulwmorris.com wrote: Thanks David and Nick! More below... David Nalesnik wrote: Hi Paul, On Mon, Apr 9, 2012 at 4:47 PM, Nick Payne nick.pa

Moving notes in a chord to the opposite side of the stem?

2012-04-09 Thread Paul Morris
Hello, Is there a way to manually move some of the notes in a chord to the opposite side of the stem, overriding the default placement? I have looked through the docs and did not find a simple way to do this (the |NoteColumn #'force-hshift| property only works with notes in different voices,

Re: Moving notes in a chord to the opposite side of the stem?

2012-04-09 Thread Paul Morris
Thomas Morley wrote: Am 9. April 2012 03:25 schrieb Paul Morrisp...@paulwmorris.com: Hello, Is there a way to manually move some of the notes in a chord to the opposite side of the stem, overriding the default placement? I have looked through the docs and did not find a simple way to do this

Re: Moving notes in a chord to the opposite side of the stem?

2012-04-09 Thread Paul Morris
Thanks David and Nick! More below... David Nalesnik wrote: Hi Paul, On Mon, Apr 9, 2012 at 4:47 PM, Nick Payne nick.pa...@internode.on.net mailto:nick.pa...@internode.on.net wrote: On 10/04/12 06:56, Paul Morris wrote: Thank you! This works, but unfortunately (like the Hydra's

Error opening 2.14.2

2011-07-26 Thread Paul Morris
Upon opening LilyPond 2.14.2 I got the following error. (OSX 10.7) LilyPond Error An unexpected error has occurred during execution of the main script ImportError: dlopen(/Applications/LilyPond.app/Contents/Resources/lib/python2.6/lib-dynload/objc/_objc.so, 2): Symbol not found:

Re: Error opening 2.14.2

2011-07-26 Thread Paul Morris
Just tried installing 2.14.1 and then 2.14.0 and they both gave the same error (below). This is new since I upgraded to OSX 10.7. Both of these versions worked before that. Hopefully that is helpful info. -Paul Paul Morris wrote: Upon opening LilyPond 2.14.2 I got the following error

Variable line thicknesses in LilyPond 2.13/2.14 ?

2011-04-04 Thread Paul Morris
I saw this in the new features list for LilyPond 2.13/14: Aesthetics of shape note heads have been enhanced. Variable line thicknesses have been implemented. [...] I am curious what variable line thicknesses means here? Does it mean you can set the thickness of individual staff lines, or

Coloring individual staff lines snippet error

2011-04-02 Thread Paul Morris
of pages... Fitting music on 1 page... Drawing systems...ERROR: Unbound variable: interval-translate Any ideas? I'm using LilyPond 2.13.56 Thanks, -Paul Morris ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo

<    1   2   3   4   5   6   7   >