Re: music patterns and octave

2016-03-09 Thread Gianmaria Lari
I'm sorry I have not been clear in my old messages, hope my last one it is clearer. Regarding: \relative c' >{ >... > \setOctave c' > \relative c' \changePitch \rhythmPattern { ... > > I'm not even sure of how LP interprets that last \relative. > > Last "relative" applies only

Re: music patterns and octave

2016-03-09 Thread David Kastrup
Gianmaria Lari writes: > Thank you David for your help. I think the behaviour of "\relative" and > "\resetRelativeOctave" are clear. If the latter is not deprecated IMHO > there are cases where it can be very useful. That one you mention > (preventing up > and down

RE:I'm not smart enough to figure out the math for this.

2016-03-09 Thread Stephen MacNeil
\relative c' { \time 4/3 \cadenzaOn c4 c c \bar "|" c c c \bar "|" } HTH Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: music patterns and octave

2016-03-09 Thread Gianmaria Lari
Ciao Patric, to use "changePitch.ly" with Lilypond 2.19 you need to convert it. In case you need you can check at the end of this old thread: http://lilypond.1069038.n5.nabble.com/changepitch-compilation-error-td187658.html g. ___ lilypond-user

Piano_Tab notation; how to disable clef and key engraver?

2016-03-09 Thread Philip Bergwerf
Hello everyone, i am busy with trying to find a way to make various alternative notations in lilypond. For now the Piano_Tab Notation. I found some useful information at musicnotation.org/ and right know i made this: _

Re: music patterns and octave

2016-03-09 Thread Gianmaria Lari
Thank you David for your help. I think the behaviour of "\relative" and "\resetRelativeOctave" are clear. If the latter is not deprecated IMHO there are cases where it can be very useful. That one you mention (preventing up and down octave when changing code) it is just one. For instance, suppose

fill last measure with rests?

2016-03-09 Thread Jim Tisdall
Does there exist a directive that will automatically fill the last measure of a voice with rests? If not, any pointers for programming such would be welcome. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: I'm not smart enough to figure out the math for this.

2016-03-09 Thread David Kastrup
Simon Albrecht writes: > On 08.03.2016 22:06, Michael Rivers wrote: >> Thanks for the solutions. I'm OK with an error message! > > Or you can insert > > #(ly:expect-warning "strange") > > in your source. Here is a warning-less version: \version "2.19.28" show =

Re: Alternative notation and lilypond

2016-03-09 Thread Jan-Peter Voigt
Hello Philip, the engravers are consisted in different contexts. You can remove them in a layout block in the Staff context (not PianoStaff). HTH Jan-Peter \version "2.19.38" %Piano_Tab template \header { title =

Alternative notation and lilypond

2016-03-09 Thread Philip
Hello everyone, i am busy with trying to find a way to make various alternative notations in lilypond. I found some usefull information at musicnotation.org/. Well and right know made this: _ %Piano_Tab template \header {

Re: Piano_Tab notation; how to disable clef and key engraver?

2016-03-09 Thread Pierre Perol-Schneider
Hi Philip, Try : \layout { \context { \Staff \remove "Accidental_engraver" \remove "Key_engraver" \remove "Clef_engraver" } } Cheers, Pierre 2016-03-09 18:55 GMT+01:00 Philip Bergwerf : > Hello everyone, > > i am

Re: Piano_Tab notation; how to disable clef and key engraver?

2016-03-09 Thread Philip Bergwerf
Problem solved! thank you Cheers, Philip -- View this message in context: http://lilypond.1069038.n5.nabble.com/Piano-Tab-notation-how-to-disable-clef-and-key-engraver-tp188358p188361.html Sent from the User mailing list archive at Nabble.com.

Re: reduce the beam width

2016-03-09 Thread Noeck
Hi Federico, > I mean the width of the beam. The beam is as wide as the notes (stems) are separated, so you want to reduce the distance between note heads. Perhaps that seems nitpicking but it makes clear that you want to change spacings or extents of noteheads etc. and no beam property. I

OT: Help needed to package cross-platform python application

2016-03-09 Thread Abraham Lee
All, I have developed a couple of python PDF utilities that make certain batch processing operations a little easier. I'd like to make some binary files of the utilities so that users can just download and use them without needing to worry about setting up a python installation on their machines,

Re: music patterns and octave

2016-03-09 Thread David Wright
On Wed 09 Mar 2016 at 17:57:25 (+0100), Gianmaria Lari wrote: >Last "relative" applies only to the whole musical expression generated by >"changePitch". You can see it clearly here: >\version "2.19.35" >\include "changePitch.ly" >pattern =  >{ >   r2 a16 a8 a8 a16 >

Piano_Tab notation; how to disable clef and key engraver?

2016-03-09 Thread Stephen MacNeil
\omit Accidental \omit Clef HTH Stephen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: scale durations, another case

2016-03-09 Thread zzk
Malte Meyn-3 wrote > Am 09.03.2016 um 05:13 schrieb zzk: >> Out of curiosity (and maybe for some possible future, more complicated >> scenarios), is there a solution using \scaleDurations instead? >> > > A tuplet 7/6 without tuplet number is the same as \scaleDurations with > factor 6/7. Or,

Re: Text spanner associated start and end notes

2016-03-09 Thread Andrew Bernard
Having come to a halt, I think I must be on the entirely wrong track. So I thought about engravers, which I have no experience with. The NR Snippets section has this topic "Centering markup on note heads automatically”. If you compile this under 2.19.37 the markup is certainly not aligned in

Re: music patterns and octave

2016-03-09 Thread David Wright
On Wed 09 Mar 2016 at 01:07:47 (+0100), Gianmaria Lari wrote: >Ciao David, >let's put it in another way. Have a look to the attached image and please >suggest me how you would write the code to generate it. That is attached. I adopted a subtractive approach, using your source as a

Re: Text spanner associated start and end notes

2016-03-09 Thread Thomas Morley
2016-03-09 10:59 GMT+01:00 Andrew Bernard : > Greetings All, > > This is a Scheme question. We are trying to make a callback function for a > customised text spanner that centres the left and right markup text exactly > over the centre of the first and last notes the

Re: Wide spacing after extremely long syllable

2016-03-09 Thread Pierre Perol-Schneider
Nice Simon ! 2016-03-09 15:46 GMT+01:00 Simon Albrecht : > On 09.03.2016 03:14, markdblackwell wrote: > >> After an extremely long syllable in the lyrics, the next measure's >> spacing is >> quite wide, even with ragged-right. >> >> In the tiny example below, the

Re: music patterns and octave

2016-03-09 Thread David Wright
On Wed 09 Mar 2016 at 07:56:21 (-0600), Patrick Karl wrote: > > > Message: 1 > > Date: Wed, 9 Mar 2016 01:07:47 +0100 > > From: Gianmaria Lari > > To: lilypond-user > > Subject: Re: music patterns and octave > > > > > > Then please have a look

Re: music patterns and octave

2016-03-09 Thread Patrick Karl
> Message: 1 > Date: Wed, 9 Mar 2016 01:07:47 +0100 > From: Gianmaria Lari > To: lilypond-user > Subject: Re: music patterns and octave > > > Then please have a look to the code I *would* like to write to obtain it. > Do you know if does exist

Re: Wide spacing after extremely long syllable

2016-03-09 Thread Simon Albrecht
On 09.03.2016 03:14, markdblackwell wrote: After an extremely long syllable in the lyrics, the next measure's spacing is quite wide, even with ragged-right. In the tiny example below, the problematic measure (of two eighth notes) comprises the word, "shine". First thing I think of would be a

Re: Consist engraver within loop

2016-03-09 Thread Jan-Peter Voigt
Hi Urs, try this line: #(eval ctx (current-module)) Of course normally eval is evil, but in this case you just evaluate the name - the symbol - to the definition, which is stored under that name inside the scope of the layout block. HTH Jan-Peter Am 09.03.2016 um 09:02 schrieb Urs Liska:

Text spanner associated start and end notes

2016-03-09 Thread Andrew Bernard
Greetings All, This is a Scheme question. We are trying to make a callback function for a customised text spanner that centres the left and right markup text exactly over the centre of the first and last notes the spanner covers. I am doing this in Scheme, and all is working, but so far I am

Re: scale durations

2016-03-09 Thread David Kastrup
Craig Dabelstein writes: > Sorry gents, here is one more I can't work out. > > The piece is in 9/8 but I need one instrument to play in 4/4. I have no > idea how to work out that fraction: > > \set Staff.timeSignatureFraction = 4/4 > \scaleDurations ???/??? Uh, 9/8 /

Re: Consist engraver within loop

2016-03-09 Thread David Kastrup
Jan-Peter Voigt writes: > Hi Urs, > > try this line: > #(eval ctx (current-module)) > > Of course normally eval is evil, but in this case you just evaluate > the name - the symbol - to the definition, which is stored under that > name inside the scope of the layout block.

Re: music patterns and octave

2016-03-09 Thread Gianmaria Lari
Thank you Patrick, this works exactly as I expected. Why it is not documented? Can we use it or do we risk that it will deprecated? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Consist engraver within loop

2016-03-09 Thread Urs Liska
Am 09.03.2016 um 09:25 schrieb Jan-Peter Voigt: > Hi Urs, > > try this line: > #(eval ctx (current-module)) > > Of course normally eval is evil, but in this case you just evaluate > the name - the symbol - to the definition, which is stored under that > name inside the scope of the layout block.

Re: music patterns and octave

2016-03-09 Thread Gianmaria Lari
Dear Carl, thank you for pointing me out the octave check, didn't know it and now I'm testing it (even if it looks it doesn't work as I need). Thanks, g. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: music patterns and octave

2016-03-09 Thread Blöchl Bernhard
Am 09.03.2016 09:52, schrieb Blöchl Bernhard: Obviously does changePitch.ly not understand the construct \tuplet 3/2 { a8 a a }. The use of patterns is completely wrong. Check the documentation how to use the construct correctly.

Re: Consist engraver within loop

2016-03-09 Thread Urs Liska
*Bump* Maybe it will be easier to understand the question (and thus provide an answer) with a more stripped down MWE: \version "2.19.38" removeStaffLines = #(define-scheme-function (ctx)(symbol?) #{ \layout { \context { % I want to generate the following

Re: music patterns and octave

2016-03-09 Thread Blöchl Bernhard
Obviously does changePitch.ly not understand the construct \tuplet 3/2 { a8 a a }. \include "changePitch.ly" rhythmPattern = {a16 %\tuplet 3/2 { a8 a a } a16 a8 a4 a4} % a complex rhythm scoreViolinI = \relative c' { % \setOctave c' %this command is just an example and it does not exist!