Re: Extract the first notes from a musical expression

2018-11-14 Thread Mark Knoop
At 00:16 on 15 Nov 2018, Gianmaria Lari wrote: >Consider a simple code similar to the following one: > >\version "2.19.82" >myVar = \fixed c' { a4 b c' a | a4 4 b c | b4 a b c' | >{\myVar} > > >This will generate a score containing *all* the notes specified in >myVar. > >Now, suppose that

Re: Point and click with Gnome 3 and Emacs

2018-11-14 Thread Federico Bruni
On Thu, 15 Nov, 2018 at 6:49 AM, Andrew Bernard wrote: Answering my own question, sorry for the noise. Start emacs --daemon. Then run emacsclient -c. This after following the instructions in the NR to setup Gnome 3. [It was the -c flag that eluded me.] The easiest way is adding this lin

Re: Extract the first notes from a musical expression

2018-11-14 Thread Gianmaria Lari
I read my msg. and I found it not very clear. I hope this is a bit more clear: Suppose I have a variable containing the following music expression: { a4 b4 c'4 d'4 | b4 b4 a4 a4 | c'4 b4 a4 b4 | a4 a4 c'4 a4 | c'4 b4 a4 c'4 } How can I get only the first n quarters of the variable? Someth

Re: Point and click with Gnome 3 and Emacs

2018-11-14 Thread Andrew Bernard
Answering my own question, sorry for the noise. Start emacs --daemon. Then run emacsclient -c. This after following the instructions in the NR to setup Gnome 3. [It was the -c flag that eluded me.] Andrew ___ lilypond-user mailing list lilypond-user@gn

Point and click with Gnome 3 and Emacs

2018-11-14 Thread Andrew Bernard
With lilypond 2.19.82 on Debian 9.6 running Gnome 3, I followed the instructions on how to set up point and click from PDF to emacs. All works, except that I get a new emacs instance every time. I then realized that one has to run emacsclient for this to work, but I can't quite figure out what to d

Extract the first notes from a musical expression

2018-11-14 Thread Gianmaria Lari
Consider a simple code similar to the following one: \version "2.19.82" myVar = \fixed c' { a4 b c' a | a4 4 b c | b4 a b c' | {\myVar} This will generate a score containing *all* the notes specified in myVar. Now, suppose that I don't want to generate all the notes in myVar but only t

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Aaron Hill
On 2018-11-14 8:50 am, Keizen Li Qian wrote: I need clarification because I did not write the init.ly file or the line \key c major. Should I root edit the init.ly file as you suggest? Perhaps it would help to clear up things for you to provide us a MWE (minimal working example) that produces

Re: Beam & feathered beam together

2018-11-14 Thread Thomas Morley
Am Mi., 14. Nov. 2018 um 18:07 Uhr schrieb Pierre Perol-Schneider : > > Here's where I am so far: > > \version "2.19.82" > \fixed c' { > << > { \voiceOne > c16-\offset positions #-1 [ c c c c c c c c c c c c ] } > \\ > { \voiceOne s4 >\once\override Beam.positions = #'

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Keizen Li Qian
I need clarification because I did not write the init.ly file or the line \key c major. Should I root edit the init.ly file as you suggest? Keizen they/them On Wed, Nov 14, 2018 at 6:20 AM David Kastrup wrote: > Keizen Li Qian writes: > > > Thanks for working on this. Please let me know when

Re: Beam & feathered beam together

2018-11-14 Thread Pierre Perol-Schneider
Here's where I am so far: \version "2.19.82" \fixed c' { << { \voiceOne c16-\offset positions #-1 [ c c c c c c c c c c c c ] } \\ { \voiceOne s4 \once\override Beam.positions = #'(0 . -.8) c8[ s s s c] } >> } Cheers, Pierre Le mer. 14 nov. 2018 à 14:44, Pi

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Keizen Li Qian writes: > I need clarification because I did not write the init.ly file or the line > \key c major. Should I root edit the init.ly file as you suggest? I did not in any way whatsoever suggest editing init.ly or any other part of LilyPond, and you quite certainly did write a statem

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Keizen Li Qian
Thanks for working on this. Please let me know when and how to get it. Keizen they/them On Wed, Nov 14, 2018 at 2:09 AM Thomas Morley wrote: > Am Mi., 14. Nov. 2018 um 11:04 Uhr schrieb David Kastrup : > > > > Thomas Morley writes: > > > > > I'm not convinced about below, but for the record:

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Keizen Li Qian writes: > Thanks for working on this. Please let me know when and how to get it. It was probably less than clear from this discussion: your problem is user error. It will remain user error LilyPond refuses to compile, but the error message will be better after the change. You ne

Re: Beam & feathered beam together

2018-11-14 Thread Pierre Perol-Schneider
BTW, here's the -- ugly -- coding to obtain the image: \relative c' { \once\override Beam.stencil = #(lambda (grob) ly:beam::print (grob-interpret-markup grob #{ \markup\raise #1.8 \pattern #2 #Y #0.13 \beam #45 #0 #.41 #})) c16-\offset positions #1.8 [ c c c c ] \overr

Re: advice on orchestral parts and string Divisi

2018-11-14 Thread Reggie
Can you show how to apply this to my code I shared please? Staffgroup added? Xavier Scheuer wrote > Hello, > > I use VerticalAxisGroup.remove-layer as described in > input/regression/divisi-staves.ly > > http://lilypond.org/doc/v2.19/input/regression/a6/lily-436997bb.ly > > See more info on th

Beam & feathered beam together

2018-11-14 Thread Pierre Perol-Schneider
Hi, I'm trying to make the following output (see attached png). Any idea ? snippet: %% \version "2.19.82" \relative c' { c16-\offset positions #2 [ c c c ] \override Beam.grow-direction = #RIGHT \featherDurations #(ly:make-moment 3/4) { c64[ c c c c c c c] } } %% TIA, chears, Pierre _

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Urs Liska writes: > I just checked a few things: > > 1) The order of the cars is irrelevant 2) The cars must be exact > integers 3) If the cdr of a scale step is 0 the pair can be left out. > > 4) If a car is present more than once then a sharp will dominate > regardless of the order in the list.

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Urs Liska
Am 14.11.18 um 10:48 schrieb David Kastrup: Urs Liska writes: major and minor are lists with seven number pairs where the cars are 0..6 and the cdrs are 0 or -1/2. I'm not sure how the definition of custom scales works and how much freedom the user has to that, but I'd assume that requiring n

Re: Section labels

2018-11-14 Thread Michael Hendry
> On 14 Nov 2018, at 09:09, sean read wrote: > > I'm trying to write out lead sheets with section labels like you see on > modern charts with a and b section labelled by a bold letter in a box. Is > there a standardised way to do this in lilypond? I couldn't seem to find > anything in the docu

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Thomas Morley
Am Mi., 14. Nov. 2018 um 11:04 Uhr schrieb David Kastrup : > > Thomas Morley writes: > > > I'm not convinced about below, but for the record: > > > > One could give the key-function a string-argument, or probably a symbol > > And react on the input, like > > > > (case > > (("major") major) > >

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Thomas Morley writes: > I'm not convinced about below, but for the record: > > One could give the key-function a string-argument, or probably a symbol > And react on the input, like > > (case > (("major") major) > ... > (else (ly:error/warning "message")) > > Obviously pseudo-code (I'm in

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Urs Liska
Am 14.11.18 um 10:53 schrieb Thomas Morley: Am Mi., 14. Nov. 2018 um 10:28 Uhr schrieb David Kastrup : David Kastrup writes: Davide Liessi writes: Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian ha scritto: Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11:

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Thomas Morley
Am Mi., 14. Nov. 2018 um 10:28 Uhr schrieb David Kastrup : > > David Kastrup writes: > > > Davide Liessi writes: > > > >> Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian > >> ha scritto: > >>> Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: > >>> In procedure ly:m

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Urs Liska writes: > major and minor are lists with seven number pairs where the cars are > 0..6 and the cdrs are 0 or -1/2. > > I'm not sure how the definition of custom scales works and how much > freedom the user has to that, but I'd assume that requiring > number-pairs (probably an unspecified

Re: [ANN] LilyQuick 0.95beta - Quick note Lilypond entry using MIDI for Linux

2018-11-14 Thread Richard Shann
On Wed, 2018-11-14 at 16:39 +1100, Vaughan McAlley wrote: >  On Wed, 19 Sep 2018 at 14:26, Chad Linsley wrote: > > +1 for a cross-platform of LilyQuick!  > > > > In fact, would there be any interest in including it in Denemo No, I think there would be no point in including it in Denemo since it

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Urs Liska
Am 14.11.18 um 10:06 schrieb David Kastrup: Davide Liessi writes: Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian ha scritto: Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: In procedure ly:music-transpose in expression (ly:music-transpose (make-music # # ..

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
David Kastrup writes: > Davide Liessi writes: > >> Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian >> ha scritto: >>> Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: >>> In procedure ly:music-transpose in expression (ly:music-transpose >>> (make-music # # ...) to

Re: Section labels

2018-11-14 Thread Torsten Hämmerle
Hi Sean, A "section label" is called RehearsalMark in LilyPond. These rehearsal marks are (by default) the capital letters A, B, C, …, but they can be changed into consecutive numbers (1, 2, 3,...) or bar numbers. With a box, a circle, or nothing around. Cf. Rehearsal marks

Section labels

2018-11-14 Thread sean read
I'm trying to write out lead sheets with section labels like you see on modern charts with a and b section labelled by a bold letter in a box. Is there a standardised way to do this in lilypond? I couldn't seem to find anything in the documentation ___ li

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread David Kastrup
Davide Liessi writes: > Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian > ha scritto: >> Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: >> In procedure ly:music-transpose in expression (ly:music-transpose >> (make-music # # ...) tonic): >> /usr/share/lilypond/2.1

Re: Problem compiling: music-functions-init.ly

2018-11-14 Thread Davide Liessi
Il giorno mer 14 nov 2018 alle ore 08:25 Keizen Li Qian ha scritto: > Parsing.../usr/share/lilypond/2.18.2/ly/music-functions-init.ly:564:11: In > procedure ly:music-transpose in expression (ly:music-transpose (make-music # > # ...) tonic): > /usr/share/lilypond/2.18.2/ly/music-functions-init.ly