Re: Png cropping

2017-02-24 Thread Andrew Bernard
HI Renato,

As an aside, why would you use backend = eps if you are generating a PNG
file? I think you can omit that.

Andrew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Consecutive slurs and shapeII function

2017-02-24 Thread Andrew Bernard
Hi Urs and all,

Thanks so much for explaining this. Works a treat.

I'm deeply grateful for all the marvellous help of the learned colleagues
on the list.

Andrew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Png cropping

2017-02-24 Thread Renato Fiorenza
I read in the documentation that it is possible to create a cropped png by 
using "-dbackend=eps -dresolution=600 —png" and inserting this \paper block:

\paper{
indent=0\mm
line-width=120\mm
oddHeaderMarkup = ##f
evenHeaderMarkup = ##f
oddFooterMarkup = ##f
evenFooterMarkup = ##f
}

However, I think the cropping is too heavy. How can I produce a png with some 
nonzero margins? I've tried to add top-margin, bottom-margin, 
top-system-spacing, last-bottom-spacing, left-margin, right-margin, 
paper-width, but none of them seem to work.

Thanks a lot in advance,
  Renato
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.9beta - fast accurate Lilypond MIDI note entry for Linux

2017-02-24 Thread Vaughan McAlley
On 25 February 2017 at 06:30, Johan Vromans  wrote:
> It compiles and build flawlessly on Fedora 25, both with system lua and the
> supplied lua.
>

That's nice to know.

> After adjusting the LQconfig.lua it runs, starts qsynth and I can play and
> hear notes from the MIDI keyboard. However, lq doesn't seem to handle
> keypresses. Key F8 echoes as ^[[19~ instead of terminating (in combination
> with a press of a key on the MIDI keyboard).
>
> So I seem to be missing a setting or parameter.
>

Maybe your keyboard is interpreting F8 as something else rather than
the function key proper. On my system and keyboard, F2 is interpreted
as monitor brightness up whether I'm pressing the fn key or not (see
LilyQuick.c line 360). Try uncommenting line 341 of LilyQuick.c. When
you run it, keystrokes will print three numbers in the terminal. If
you press F8 and the third number isn't 66 (see
http://lxr.free-electrons.com/source/include/linux/input.h?v=2.6.38 ),
it's not coming through as F8. A hack would be to modify line 317 to:

myExitCode = xx;

with xx being whatever number F8 produces.

> FWIW: The MIDI keyboard is /dev/midi2, and doesn't have an entry
> in /dev/input.
>
Thanks, I'll put that in the documentation.

> -- Johan

Vaughan

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.9beta - fast accurate Lilypond MIDI note entry for Linux

2017-02-24 Thread Vaughan McAlley
On 25 Feb 2017 12:30 a.m., "Urs Liska"  wrote:

Hi Vaughan,


Am 24.02.2017 um 13:49 schrieb Vaughan McAlley:
> Greetings,
>
> I’m pleased to announce LilyQuick, a greatly improved descendant of
> Finale’s Speedy Note Entry. The basic idea is to play notes on the
> MIDI keyboard with your left hand, and use the numeric keypad to enter
> the rhythms with your right hand. LilyQuick types the notes for you.
> Being able to hear the notes as you enter them is great for accuracy,
> and with a little practice you can enter music very quickly, even with
> keyboard skills as mediocre as mine.

I can't try this out because currently I don't have my MIDI keyboard and
interface available at home. But it looks like a pretty cool thing if I
understand it right that it is essentially independent of the actual
editing environment you're using because it behaves like regular
keyboard input from the editor's perspective.

I hope that installation is actually straightforward enough for people
to actually use the tool and build some base for future development.

Best
Urs

--
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Yes, it's independent of the editing environment. It sends keystrokes to
wherever the keyboard focus is.

I've tried to make installation as straightforward as I know how to at this
stage. We'll see how user-friendly it turns out to be in the real world.
But if there is demand, I could try to learn how to make a package.

Vaughan
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Markup with dimensions

2017-02-24 Thread Simon Albrecht

Hi Andrew,
I can’t comment on whether there is a clear point to be made in favour 
of either LilyPond syntax or using the scheme markup macro. Anyway, 
surely you can call with-dimensions from Scheme as well, either from the 
markup macro (which is covered in the Extending Manual, 
) 
 
as #:with-dimensions or directly as make-with-dimensions-markup.

HTH, Simon



Am 22-Feb-2017 03:21:41 +0100 schrieb andrew.bern...@gmail.com:

   Just a question about with-dimensions in markup. I have a simple
   function which is to draw a line between two specified points, not
   just to an end point as per the draw-line type functions. Unless you
   specify with-dimensions at the point of calling the markup command,
   it starts at the (0 . 0) point. While I can understand this, the
   question is, can the with-dimensions function (I use the term
   function loosely here) be incorporated into the scheme markup
   command? Or is this a case for writing the markup in lilypond syntax
   in the scheme function and using the with-dimensions that way? I was
   unable to find a scheme with-dimensions function - I imagine that is
   because the dimension calculations happens at a different stage of
   the layout computation?

   I want this function rather than an alternate solution as it is a
   cut down MWE of a more elaborate function that incorporates some
   other graphic commands as well.

   So then as a second question, is it better to write
   define-markup-command functions in all Scheme, or to use lilypond
   syntax therein? I seem to recall some brief mention of this point in
   the list some time ago, but I never got the impression of a
   definitive answer or firm recommendation.


   Andrew

   == snip

   version "2.19.55"

   #(define-markup-command (line-from-to layout props from to)
   (number-pair? number-pair?)
   #:properties ((thickness 0.15))
   (let* ((startx (car from))
  (starty (cdr from))
  (endx (car to))
  (endy (cdr to)))
 (make-line-stencil thickness startx starty endx endy)))

   {
  c'4
  ^markup draw-line #'(4 . 4)
   c'4
  ^markup line-from-to #'(0.5 . -3) #'(3 . 3)
  c'4
  ^markup with-dimensions #'(0 . 0) #'(0 . 0) line-from-to #'(0.5 .
   -3) #'(3 . 3)
   }


   == snip

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.9beta - fast accurate Lilypond MIDI note entry for Linux

2017-02-24 Thread Johan Vromans
On Fri, 24 Feb 2017 23:49:19 +1100, Vaughan McAlley
 wrote:

> I’m pleased to announce LilyQuick, a greatly improved descendant of
> Finale’s Speedy Note Entry. 

Sounds very interesting...

It compiles and build flawlessly on Fedora 25, both with system lua and the
supplied lua.

After adjusting the LQconfig.lua it runs, starts qsynth and I can play and
hear notes from the MIDI keyboard. However, lq doesn't seem to handle
keypresses. Key F8 echoes as ^[[19~ instead of terminating (in combination
with a press of a key on the MIDI keyboard).

So I seem to be missing a setting or parameter.

FWIW: The MIDI keyboard is /dev/midi2, and doesn't have an entry
in /dev/input.

-- Johan

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Consecutive slurs and shapeII function

2017-02-24 Thread Urs Liska


Am 24.02.2017 um 14:56 schrieb David Nalesnik:
> Have you tried using \single to convert an \override into a \tweak?

That's not necessary here, as the two slurs don't *start* simultaneously.

Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Consecutive slurs and shapeII function

2017-02-24 Thread Urs Liska
Hi Andrew,

actually it *does* work and isn't even complicated.

Am 24.02.2017 um 14:46 schrieb Andrew Bernard:
> Last year I started a thread about how to change the dash pattern in
> the case of two adjacent consecutive slurs, successfully solved very
> simply. Now the situation arises that I would like to be able to
> precisely adjust the slur shape with the \shapeII function in the case
> of two consecutive slurs.
>
> The following MWE will only compile if you set it up with openlilylib,
> and is meant to be illustrative rather than compilable (sorry - I
> don't know a generalised way of including openlilylib in an MWE).

Well, if you require it to work just state it.
But as you should expect for anyone using openLilyLib to have set it up
correctly nothing speaks against simply adding

\include "notation-snippets/shaping-bezier-curves/shapeII.ily"

to your MWE.

>
> So, how would you get another call to shapeII in here to modify the
> second slur shape?
>
> bass = {
>   \clef bass
>   \time 1/4
>   \t 5/4 {
> c'16
> \shapeII #'((0 0) (p 20 0.4) (p 20 0.4) (-1 0)) Slur
> e32^( g )
> _( g cis'8)
>   } |
> }

\shapeII (just as \shape or any \once \override Slur.control-points) has
to be placed immediately before the start of the slur.

The start of the first slur is the e32, and you've put the \shapeII
immediately before.
The start of the second slur is the , and so you have to put the
\shapeII immediately before that.

I've taken the liberty to make the shape much more obvious but the
following code works:

bass = {
  \clef bass
  \time 1/4
  \tuplet 5/4 {
c'16
\shapeII #'((0 10) (p 20 0.4) (p 20 0.4) (-1 0)) Slur
e32^( g 
\shapeII #'((0 . -10) (p 20 0.4) (p 20 0.4) (-1 0)) Slur
 ) _( g cis'8 )
  } |
}

The overlap of \shapeII and the end of the first slur doesn't matter at
all, as \shape doesn't do more than a \once \override here.

HTH
Urs
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Consecutive slurs and shapeII function

2017-02-24 Thread David Nalesnik
On Fri, Feb 24, 2017 at 7:46 AM, Andrew Bernard
 wrote:
> Last year I started a thread about how to change the dash pattern in the
> case of two adjacent consecutive slurs, successfully solved very simply. Now
> the situation arises that I would like to be able to precisely adjust the
> slur shape with the \shapeII function in the case of two consecutive slurs.
>
> The following MWE will only compile if you set it up with openlilylib, and
> is meant to be illustrative rather than compilable (sorry - I don't know a
> generalised way of including openlilylib in an MWE).
>
> So, how would you get another call to shapeII in here to modify the second
> slur shape?
>
> bass = {
>   \clef bass
>   \time 1/4
>   \t 5/4 {
> c'16
> \shapeII #'((0 0) (p 20 0.4) (p 20 0.4) (-1 0)) Slur
> e32^( g )
> _( g cis'8)
>   } |
> }
>
> \score {
>   \new Staff { \bass }
>   \layout {
>   }
> }
>

Have you tried using \single to convert an \override into a \tweak?

HTH,
David

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.9beta - fast accurate Lilypond MIDI note entry for Linux

2017-02-24 Thread SoundsFromSound
Vaughan McAlley wrote
> Greetings,
> 
> I’m pleased to announce LilyQuick, a greatly improved descendant of
> Finale’s Speedy Note Entry. The basic idea is to play notes on the
> MIDI keyboard with your left hand, and use the numeric keypad to enter
> the rhythms with your right hand. LilyQuick types the notes for you.
> Being able to hear the notes as you enter them is great for accuracy,
> and with a little practice you can enter music very quickly, even with
> keyboard skills as mediocre as mine.

Hi Vaughan! This is exciting news, thank you so much for working on this and
sharing it with us! I will try it out and report how things go. 

Ben




-
composer | sound designer | asmr artist 
LilyPond Tutorials (for beginners) --> http://bit.ly/bcl-lilypond
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/ANN-LilyQuick-0-9beta-fast-accurate-Lilypond-MIDI-note-entry-for-Linux-tp200423p200427.html
Sent from the User mailing list archive at Nabble.com.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Consecutive slurs and shapeII function

2017-02-24 Thread Andrew Bernard
Last year I started a thread about how to change the dash pattern in the
case of two adjacent consecutive slurs, successfully solved very simply.
Now the situation arises that I would like to be able to precisely adjust
the slur shape with the \shapeII function in the case of two consecutive
slurs.

The following MWE will only compile if you set it up with openlilylib, and
is meant to be illustrative rather than compilable (sorry - I don't know a
generalised way of including openlilylib in an MWE).

So, how would you get another call to shapeII in here to modify the second
slur shape?

bass = {
  \clef bass
  \time 1/4
  \t 5/4 {
c'16
\shapeII #'((0 0) (p 20 0.4) (p 20 0.4) (-1 0)) Slur
e32^( g )
_( g cis'8)
  } |
}

\score {
  \new Staff { \bass }
  \layout {
  }
}



Andrew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problems with parallel voices when using David's accordion push spanner

2017-02-24 Thread Mojca Miklavec
Hi,

Now with attachment ...

On 24 February 2017 at 14:34, Mojca Miklavec wrote:
>
> I just wanted to add another screenshot. If I change the above line of melody 
> to
>
>   <<
> {
>   \voiceOne f'4 e' d' | f'4 d'2 |
> }
> \new Voice {
>   \voiceTwo 2.~ | 2. |
> }
>   >>
>
> then I get the attached screenshot which is "equally" bad, only in a
> different way.)
>
> The example was taken from
>  http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices
>
> The first example with "\\" as voice separator has the additional
> problem that I cannot add lyrics to it (which is not acceptable), but
> this one repeats the second voice which is highly undesirable.
>
> Thank you,
> Mojca
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problems with parallel voices when using David's accordion push spanner

2017-02-24 Thread Mojca Miklavec
On 24 February 2017 at 13:47, Mojca Miklavec wrote:
> Hi,
>
> A while ago David Nalesnik wrote some wonderful macros to help me
> write a thick line that denote accordion pushing [1]. The macros work
> wonderfully in 99% of cases, but there are some strange examples where
> this fails.
>
> The example below produces output you can see in the attached PNG. If
> I remove "AccordionPushPull", then the scores typeset fine, but I do
> need those events.
>
> I tried several other strategies. All I need is a small chunk of code
> with different properties (tails pointing in different direction,
> perhaps the size or colour of the scores slightly changed to denote
> optional part for the player, ...). But whatever I try that works in
> normal conditions, fails here.
>
> I'm attaching a "minimal" working example that includes David's code
> (which I left untouched).
>
> melody = \fixed c' {
>   \time 3/4
>   \partial 2
>   \startPush d' e' | \stopPush
>   << { f'4 e' d' | f'4 d'2 | } \\ { 2.~ | 2. | } >>
> }
>
> basses = \fixed c {
>   \clef bass
>   \partial 2
>   f,4  | d,4   | a,4   |
> }
>
> \score {
>   \new PianoStaff <<
> \new Voice = "melody" { \melody }
> \new AccordionPushPull \with {
>   \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = 1
> } {
>   \melody
> }
> \new Staff = "staff" <<
>   \new Voice = "bass" { \basses }
> >>
>   >>
> }
>
> I would be grateful for a bit of help to fix this.

I just wanted to add another screenshot. If I change the above line of melody to

  <<
{
  \voiceOne f'4 e' d' | f'4 d'2 |
}
\new Voice {
  \voiceTwo 2.~ | 2. |
}
  >>

then I get the attached screenshot which is "equally" bad, only in a
different way.)

The example was taken from
 http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices

The first example with "\\" as voice separator has the additional
problem that I cannot add lyrics to it (which is not acceptable), but
this one repeats the second voice which is highly undesirable.

Thank you,
Mojca

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: [ANN] LilyQuick 0.9beta - fast accurate Lilypond MIDI note entry for Linux

2017-02-24 Thread Urs Liska
Hi Vaughan,


Am 24.02.2017 um 13:49 schrieb Vaughan McAlley:
> Greetings,
>
> I’m pleased to announce LilyQuick, a greatly improved descendant of
> Finale’s Speedy Note Entry. The basic idea is to play notes on the
> MIDI keyboard with your left hand, and use the numeric keypad to enter
> the rhythms with your right hand. LilyQuick types the notes for you.
> Being able to hear the notes as you enter them is great for accuracy,
> and with a little practice you can enter music very quickly, even with
> keyboard skills as mediocre as mine.

I can't try this out because currently I don't have my MIDI keyboard and
interface available at home. But it looks like a pretty cool thing if I
understand it right that it is essentially independent of the actual
editing environment you're using because it behaves like regular
keyboard input from the editor's perspective.

I hope that installation is actually straightforward enough for people
to actually use the tool and build some base for future development.

Best
Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[ANN] LilyQuick 0.9beta - fast accurate Lilypond MIDI note entry for Linux

2017-02-24 Thread Vaughan McAlley
Greetings,

I’m pleased to announce LilyQuick, a greatly improved descendant of
Finale’s Speedy Note Entry. The basic idea is to play notes on the
MIDI keyboard with your left hand, and use the numeric keypad to enter
the rhythms with your right hand. LilyQuick types the notes for you.
Being able to hear the notes as you enter them is great for accuracy,
and with a little practice you can enter music very quickly, even with
keyboard skills as mediocre as mine.

Installation *should* be as straightforward as installing a couple of
packages with apt-get or equivalent and typing make (see the INSTALL
file), and probably some configuration for your own needs.

https://github.com/palestrina/lily-q

If you like it, let me know if there’s anything you’d like it to be able to do.

Vaughan

README file follows:

%%

LILYQUICK

Welcome to LilyQuick, originally written as a replacement for Speedy
Note Entry when I moved from Finale to Lilypond, and then much
improved. The basic idea is to play notes on a MIDI keyboard with your
left hand, then while they are sounding, press a note on the numeric
keypad with your right hand corresponding to the duration. For
example, to get "f2", play an F on the keyboard, and press number 5 on
the numeric keypad. The advantage to this approach is excellent speed
and accuracy, and you get to hear the notes as they are being entered.

The default key layout is as follows: numeric keypad keys 0-6 produce
notes in conjunction with the MIDI keyboard.
6 - semibreve/whole
5 - minim/half
4 - crochet/quarter
1 - quaver/eighth
2 - semiquaver/sixteenth
3 - demisemiquaver/thirty-second
0 - last note value (useful with repeated dotted notes)

If useLongValues is set to true in LQconfig.lua, the 3 key changes to
\breve. This can be useful when entering early music.

7 adds whole bar rests such as R1* , then changes to data entry mode,
where the numeric keypad behaves as normal. Pressing enter leaves data
entry mode. The type of rest is from the variable fullRest in
LQconfig.lua. So to enter 15 bars of rest, you would type 7, 1, 5,
enter on the numeric keypad.

8 is for entering tuplets. The 8 key enters \tuplet, then enters data
entry mode for the numbers. The enter key leaves data entry mode and
adds the curly bracket " { ", ready for note entry. So for quintuplets
you would press 8, 5, /, 4, enter; which would type " \tuplet 5/4 {"

If you only ever use triplets, you may want to make tuplets into a
simple string such as:
  ["8"] = " \\tuplet 3/2 {",
(in LQkeyboardEvents.lua)

9 just adds a right curly bracket " }"

+ alternates between entering left and right slurs: " (" and " )"

= or / adds a tie "~"

. adds a dot to the rhythm

* changes the previous note enharmonically, for example cis to des.
Press again to cycle between possibilities.

The Enter key either exits data entry mode, or adds a bar check and
newline: " |\n"

F8/F15 exits LilyQuick. Because I don’t know anything about signals,
you need to press a key on your MIDI keyboard to exit properly.

F9/F16 changes the key sharpwards. LilyQuick will play a G to signify
one sharp, up to a C# to signify seven sharps. If you want sharps and
you’re getting flats, try changing the key.

F10/F17 changes the key flatwards

In C major, LilyQuick will type a chromatic scale as follows: c cis d
es e f fis g gis a bes b.

F11/F18 and F12/F19 (and any other numeric key) can be customized at
your pleasure.

IMPLEMENTATION

LilyQuick intercepts keystrokes from the computer keyboard. If they’re
not from the numeric keypad, they are sent straight on to the system.
If they are, they are sent to the Lua program, which can create vitual
keystrokes. At the moment it can send any character that can be typed
on the regular part of the keyboard using the shift key. This includes
all characters I regularly use for inputting Lilypond code. I don’t
know enough about non-English keyboard layouts, and whether people
would want to enter non-ASCII characters when entering notes in
Lilypond. It shouldn’t be too hard to add this feature if the need
arises.

What LilyQuick does with incoming keystrokes is defined in LQkeyboardEvents.lua

Intercepting keystrokes requires superuser privileges (sudo).

CUSTOMIZATION
LQconfig.lua contains a number of options you may wish to change, such
as absolute/relative note entry, MIDI output channel etc. See the
INSTALL file for more information on deviceName and MIDIKeyboardName.
The file LQkeyboardEvents.lua determines how incoming keystrokes are
handled, and is completely customizable. To type a simple string, just
include it (like the entry for "9"). Otherwise the entry should be a
table containing a function, and the parameter to send to it. To send
multiple parameters, put them in a table (like the function
Alternate).

TODO
- Allow make install to put the executable into some /bin directory.
Not sure how to tell it where the Lua scripts are yet.
- Easier time signature changing, either through the 

Problems with parallel voices when using David's accordion push spanner

2017-02-24 Thread Mojca Miklavec
Hi,

A while ago David Nalesnik wrote some wonderful macros to help me
write a thick line that denote accordion pushing [1]. The macros work
wonderfully in 99% of cases, but there are some strange examples where
this fails.

The example below produces output you can see in the attached PNG. If
I remove "AccordionPushPull", then the scores typeset fine, but I do
need those events.

I tried several other strategies. All I need is a small chunk of code
with different properties (tails pointing in different direction,
perhaps the size or colour of the scores slightly changed to denote
optional part for the player, ...). But whatever I try that works in
normal conditions, fails here.

I'm attaching a "minimal" working example that includes David's code
(which I left untouched).

melody = \fixed c' {
  \time 3/4
  \partial 2
  \startPush d' e' | \stopPush
  << { f'4 e' d' | f'4 d'2 | } \\ { 2.~ | 2. | } >>
}

basses = \fixed c {
  \clef bass
  \partial 2
  f,4  | d,4   | a,4   |
}

\score {
  \new PianoStaff <<
\new Voice = "melody" { \melody }
\new AccordionPushPull \with {
  \override VerticalAxisGroup.nonstaff-nonstaff-spacing.padding = 1
} {
  \melody
}
\new Staff = "staff" <<
  \new Voice = "bass" { \basses }
>>
  >>
}

I would be grateful for a bit of help to fix this.

Thank you very much,
Mojca
(please CC me)


[1] http://lists.gnu.org/archive/html/lilypond-user/2016-07/msg00392.html

PS: Other examples of the push/pull macros not really obeying me (but
those are all cases with much lower priority and there's no need to do
anything about those now unless it's related to the problem at hand):

- When push/pull spanner starts at "\repeat volta 2 {}", it's not
properly aligned

- Sometimes I need:
melodyA = {\startPush ... \stopPush}
melodyB = {\startPush ... \stopPush}
melody = {\melodyA \melodyB}
but I need to delete the last \stopPush in A and the first \startPush
in B, else the line is disconnected (placed at different heights).
This is also a problem with \repeat volta 2 {} \alternative { {} {} }
where push events need to cross alternatives even if they are not
logically connected, but I need to make sure that it looks visually
accepting.

- The code sometimes says
warning: I think there's a dangling accordion push spanner :-(
but it doesn't tell me the line to help me debug the problem.


test-lily-multiple-voices.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: UTF-8 in MIDI lyrics

2017-02-24 Thread karl
Simon Albrecht:
> Am 24.02.2017 um 02:15 schrieb Joseph Austin:
> > This raises another question.  I'm working with MIDI files,
> > and it's not clear how to encode UTF-8 text in MIDI.
> > There must be some convention, but I haven't found an official RP for it.


http://www.cdik.se/pdf/midiformat.pdf

 [...] Text events may also
 occur at other times in a track, to be used as lyrics, or descriptions
 of cue points. The text in this event should be printable ASCII
 characters for maximum interchange. However, other characters codes
 using the high-order bit may be used for interchange of files between
 different programs on the same computer which supports an extended
 character set. Programs on a computerwhich   does not support
 non-ASCII characters should ignore those characters.

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: UTF-8 in MIDI lyrics

2017-02-24 Thread Simon Albrecht

Am 24.02.2017 um 02:15 schrieb Joseph Austin:

This raises another question.  I'm working with MIDI files,
and it's not clear how to encode UTF-8 text in MIDI.
There must be some convention, but I haven't found an official RP for it.


Personally, I have no idea. Does Lily not do it right?
Best, Simon

P.S. If you can, please don’t top-post, but reply below the quotation 
(as I now did). That makes it far easier to catch up with to what you 
were replying.



On Feb 23, 2017, at 4:36 PM, Simon Albrecht  wrote:

Am 23.02.2017 um 01:57 schrieb David Wright:

But why not do the Right Thing and dispose of this problem with
\addlyrics { “I am so lone- ly” said she }
and have yourself a proper set of 66 and 99 quotation marks
without needing to enclose them in quotes.

+1
Simon



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user