Re: Problem with shaping chord ties held over several measures

2015-06-06 Thread David Nalesnik
Hi Knute,

On Sat, Jun 6, 2015 at 7:38 PM, Colin Campbell  wrote:

> On 2015-06-06 06:21 PM, Knute Snortum wrote:
>
>> Hello LilyPonders,
>>
>> I'm having a problem shaping ties of chords after more than one measure.
>> I have an internal voice that comes in on the third measure and the ties go
>> right through it.  \shape doesn't seem powerful enough to handle this (at
>> least I don't know the syntax).  Here's what the measures should look like:
>>
>>
Modifying control-points of individual ties in a tie column isn't possible
without extraordinary means.   This is the reason for \shapeTieColumn which
you'll find in the archives and on openlilylib.

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


Re: dodecaphonic-no-repeat and grace notes

2015-06-06 Thread Gilberto Agostinho
Hi Colin,

> I believe dodecaphonic-first is the style you need, Gilberto.

Not really. While dodecaphonic-first is certainly consistent, it does not
repeat accidentals inside a same bar, which is what I want. In theory,
dodecaphonic-no-repeat should print accidentals on every note except for
identical pitch repetitions (which is what I want). The problem I described
above is that the grace notes make this accidental style a bit confused and
it starts to make mistakes.

Thanks!
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dodecaphonic-no-repeat-and-grace-notes-tp177554p177558.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


Re: dodecaphonic-no-repeat and grace notes

2015-06-06 Thread Colin Campbell

On 2015-06-06 06:52 PM, Gilberto Agostinho wrote:

the second one
does not receive an accidental as it's suppose to:

I believe dodecaphonic-first is the style you need, Gilberto.

Cheers,
Colin

--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )

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


Re: dodecaphonic-no-repeat and grace notes

2015-06-06 Thread Gilberto Agostinho
Hi Nathan,

Thanks but I already knew about the ! in LilyPond. I am actually looking for
some automatic workaround (if there is any) because one of the main
advantages of LilyPond is that we can set our accidental styles and then
forget about making any mistakes with them. To depend on manual checks on
these passages in a large orchestral score will almost certainly lead to
small errors... In that case I would probably stick to \accidentalStyle
dodecaphonic (while I don't like the obvious repetitions of accidentals, at
least it will ensure no errors with accidentals -- something very sensitive
in atonal music).

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dodecaphonic-no-repeat-and-grace-notes-tp177554p177556.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


Re: dodecaphonic-no-repeat and grace notes

2015-06-06 Thread Nathan Ho
On Sat, Jun 6, 2015 at 5:52 PM, Gilberto Agostinho <
gilbertohasn...@gmail.com> wrote:

> Hi all,
>
> I found a little problem with the \accidentalStyle dodecaphonic-no-repeat.
> When there is a grace note between two identical pitches, the second one
> does not receive an accidental as it's suppose to:
>
> \version "2.19.15"
> \relative c' {
>   \accidentalStyle dodecaphonic-no-repeat
>   \textLengthOn
>   cis4 b cis2^"all fine here"
>   cis2 \grace{b8} cis2^"no accidental"
> }
>
> producing:
>
> 
>
> Does anyone know any workaround for this?
>

A manual workaround is to force the accidental using an exclamation point:

\relative c' {
  \accidentalStyle dodecaphonic-no-repeat
  \textLengthOn
  cis4 b cis2^"all fine here"
  cis2 \grace{b8} cis2^"no accidental"
  cis2 \grace{b8} cis!2^"manually added"
}

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


dodecaphonic-no-repeat and grace notes

2015-06-06 Thread Gilberto Agostinho
Hi all,

I found a little problem with the \accidentalStyle dodecaphonic-no-repeat.
When there is a grace note between two identical pitches, the second one
does not receive an accidental as it's suppose to:

\version "2.19.15"
\relative c' {
  \accidentalStyle dodecaphonic-no-repeat
  \textLengthOn
  cis4 b cis2^"all fine here"
  cis2 \grace{b8} cis2^"no accidental"
}

producing:

 

Does anyone know any workaround for this?

Cheers,
Gilberto



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dodecaphonic-no-repeat-and-grace-notes-tp177554.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


Re: Problem with shaping chord ties held over several measures

2015-06-06 Thread Colin Campbell

On 2015-06-06 06:21 PM, Knute Snortum wrote:

Hello LilyPonders,

I'm having a problem shaping ties of chords after more than one 
measure.  I have an internal voice that comes in on the third measure 
and the ties go right through it.  \shape doesn't seem powerful enough 
to handle this (at least I don't know the syntax).  Here's what the 
measures should look like:


https://drive.google.com/file/d/0B_aEseOV9KTXVWNBamdSSDdSUFk/view?usp=sharing


Was that perhaps the wrong link, Knute?

Cheers,
Colin


--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )


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


Problem with shaping chord ties held over several measures

2015-06-06 Thread Knute Snortum
Hello LilyPonders,

I'm having a problem shaping ties of chords after more than one measure.  I
have an internal voice that comes in on the third measure and the ties go
right through it.  \shape doesn't seem powerful enough to handle this (at
least I don't know the syntax).  Here's what the measures should look like:

https://drive.google.com/file/d/0B_aEseOV9KTXVWNBamdSSDdSUFk/view?usp=sharing

And here's what I have, without any shaping:

\version "2.19.21"
\language "english"

% --- Music ---

highVoice = \relative {
  c'''8 ( [ a g a ] |
  c [ a g a ] ~ |
  a2 ~ |
  a2 ) |
}

upperMiddle = \relative {
  2 ~ |
  q2 ~ |
  q2 ~ |
  q2 |
}

lowerMiddle = \relative {
  s2 * 2 |
  d'8 ( [ e c e ] |
  d [ e c e ] ) |
}

lowVoice = \relative {
  2 ~ |
  q2 ~ |
  q2 ~ |
  q2 |
}

% --- Layout ---

global = {
  \key c \major
  \time 2/4
}

upper = {
  \global
  \clef treble
  <<
\new Voice { \voiceOne \highVoice }
\new Voice { \voiceTwo \upperMiddle }
  >>
}

lower = {
  \global
  \clef bass
  <<
\new Voice { \voiceThree \lowerMiddle }
\new Voice { \voiceFour \lowVoice }
  >>
}

\score {
  \new PianoStaff <<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
  >>
  \layout {
\context {
  \Score
  \hide BarLine
  \hide SpanBar
  \remove "Bar_number_engraver"
}
\context {
  \Staff
  \remove "Time_signature_engraver"
}
  }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: point-and-click from PDF viewer to lilypond editor

2015-06-06 Thread Urs Liska

Thank you very much, this actually works with minimal fuss!

Urs

Am 06.06.2015 um 15:26 schrieb Mark Knoop:

At 11:37 on 06 Jun 2015, Urs Liska wrote:

Am 6. Juni 2015 11:16:26 MESZ, schrieb Peter Bjuhr:

On 2015-06-06 10:40, Federico Bruni wrote:

Does anybody here use point-and-click from an external PDF viewer
(either Evince or Xpdf) to the lilypond editor?
I find it useful when transcribing from a PDF manuscript, because I
can organize three different windows (manuscript, PDF preview and
lilypond editor) to work and compare.

I've tried several editors but none works correctly:

I did a quick test. I'm on Ubuntu 15.04, Evince is called Document
Viewer. But what I understand it's the same. I'm sure it has worked
in the past, but now I get an error already in the viewer: "Unable to
open external link".

I tried the instructions here:
http://www.lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click#extra-configuration-for-evince.

But it didn't help.

Same with me (evince on Debian/Gnome). I've given up on this long time
ago.

Works for me on Fedora using my install script here:

https://github.com/markk/textedit-ly

--
Mark Knoop

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


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


OT: pedagogics with MIDI

2015-06-06 Thread Ali Cuota
Hello,

I know this question is OT, but maybe someone can tell me where to ask
or simply knows...

I am searching a setting of programs based on MIDI diff. I found
MIDICMP for win, but what I want is for a university so the "technik"
should not be shown.

Usage should be:
1 - Teacher prepares and store exercises (preferably with frescobaldi):
Exercise is made of text or pic (the question, shown) and a MIDI-file1
(hidden, unreadable, that has two voices: one for the reght answer,
one for the metronom-tapping)
2 - Student look at question, starts tapping (lets say one measure
counting) and answer with connected MasterKB that generate MIDI-file2,
in rythm of tapping (with teacher adjustable tolerance for rythm).
3 - Program compare both MIDI-files, generates a percent answer and
stores it or send it to another program.

This all for developping online practical harmony and counterpoint excersises...

And should work in Win and Linux (or at least cygwin)...

Thanks in advance,

Francois

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


Re: Git + LilyPond

2015-06-06 Thread Janek WarchoĊ‚
2015-06-06 5:52 GMT-07:00 Johan Vromans :

> On Sat, 06 Jun 2015 10:12:01 +0200
> Peter Bjuhr  wrote:
>
> > How can I do this?
>
> See e.g.
>
> http://blog.karssen.org/2013/06/06/importing-a-git-repo-into-another-one-keeping-all-history/
> and several other discussions on the internets.
>

This approach isn't very good because it includes an artificial commit that
moves all stuff to some directory.

You should rather use a subtree merge:
https://git-scm.com/book/en/v1/Git-Tools-Subtree-Merging which allows to
port commits between "big" repo and any remaining "subrepos".

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


Re: Getting merge-differently-headed to work

2015-06-06 Thread Knute Snortum
Thanks for the replies.  I went with forcing and reverting the hshift and
that works great.  I really appreciate this community.

On Fri, Jun 5, 2015 at 11:03 PM Keith OHara  wrote:

> Knute Snortum  gmail.com> writes:
>
> >
> > I have a piece that I'm working on that has a measure with four very
> crowded voices.  I expected to have to resolve note collisions, but I'm
> having some problems with \shiftOn and \mergeDifferentlyHeadedOn.
>
> You don't need mergeDifferentlyHeadedOn because the heads are both filed.
>
> Two things make merging the inner voices awkward in LilyPond
> LilyPond considers merging only the voices the with the smallest \shift.
> LilyPond moves voices with larger shifts always toward the stem side.
>
> The simplest, I think, is to remove the two instances of
>   \mergeDifferentlyHeadedOn \shiftOn
> and set the voices as usual with outer voices One and Two outer,
> inner voices Three and Four inner, but 3 overrides
>
> \new Voice { \voiceOne
>   \shiftOnn % with 2 'n's to indicate that this voice
>  % this voice shifts a lot, more than voiceFour, ...
>   \override NoteColumn.force-hshift = -0.2 % but force the direction
>   \highVoice }
> \new Voice { \voiceThree \upperMiddle
>
> \new Voice { \voiceFour
>   \stemUp  % unusual for voiceFour
>   \lowerMiddle }
> \new Voice { \voiceTwo \lowVoice
>
> Maybe the things noted with comments are temporary deviations from the
> usual arrangement of voices, so you might insert them in sequence in
> the definitions of the variables that contain the notes.
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: point-and-click from PDF viewer to lilypond editor

2015-06-06 Thread Federico Bruni
Il giorno sab 6 giu 2015 alle 15:26, Mark Knoop  ha 
scritto:

Works for me on Fedora using my install script here:

https://github.com/markk/textedit-ly


Thank you Mark, it works pretty well!

I'm using these options for Frescobaldi:

[editor]
editor = frescobaldi
#command = --remote +:{line}:normal{start} "{file}"
command = --line={line} --column={start} "{file}"

[script]
verbose = false
focus = true




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


Re: point-and-click from PDF viewer to lilypond editor

2015-06-06 Thread Mark Knoop
At 11:37 on 06 Jun 2015, Urs Liska wrote:
>Am 6. Juni 2015 11:16:26 MESZ, schrieb Peter Bjuhr:
>>On 2015-06-06 10:40, Federico Bruni wrote:
>>> Does anybody here use point-and-click from an external PDF viewer
>>> (either Evince or Xpdf) to the lilypond editor?
>>> I find it useful when transcribing from a PDF manuscript, because I
>>> can organize three different windows (manuscript, PDF preview and
>>> lilypond editor) to work and compare.
>>>
>>> I've tried several editors but none works correctly:
>>
>>I did a quick test. I'm on Ubuntu 15.04, Evince is called Document
>>Viewer. But what I understand it's the same. I'm sure it has worked
>>in the past, but now I get an error already in the viewer: "Unable to
>>open external link".
>>
>>I tried the instructions here:
>>http://www.lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click#extra-configuration-for-evince.
>>
>>But it didn't help.
>
>Same with me (evince on Debian/Gnome). I've given up on this long time
>ago.

Works for me on Fedora using my install script here:

https://github.com/markk/textedit-ly

--
Mark Knoop

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


Re: Git + LilyPond

2015-06-06 Thread Urs Liska

I'm not 100% sure about it.
Johan's hint will probably help you, but if you're intending to merge 
repositories later anyway it might make sense to have them in one 
repository right from the start. You can use a long-living branch for 
the development of the score and branch your working branches off from 
that. And at the point where you'd merge the repository in just merge 
the long-living branch into master.


However, you should make sure to keep libraries or similar code separate 
from the music repository except the library code is not intended to be 
reused at all. Otherwise you may run into quite conflicting situations.


HTH
Urs

Am 06.06.2015 um 10:12 schrieb Peter Bjuhr:

Hi all,

I have a question for those who use version control (and especially 
Git) with LilyPond:


When I write a new piece (or rather when a first version is written) 
I'd like to edit this as a single repo. But when it's (more) finished 
I think it would be better to collect it with other pieces in a larger 
repo (with the history intact of course). How can I do this? Is it a 
good idea?


I have some clues how to achieve this (especially with submodules), 
but I'd like to hear your experiences and tips!


(I vaguely remember some similar discussion about this!??)

Best
Peter

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



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


Re: Git + LilyPond

2015-06-06 Thread Johan Vromans
On Sat, 06 Jun 2015 10:12:01 +0200
Peter Bjuhr  wrote:

> How can I do this?

See e.g.
http://blog.karssen.org/2013/06/06/importing-a-git-repo-into-another-one-keeping-all-history/
and several other discussions on the internets.

-- Johan

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


Re: hairpins default stop at barline

2015-06-06 Thread Trevor Daniels

Gianmaria Lari wrote Saturday, June 06, 2015 10:33 AM


> Why was it decided that hairpins by default stop at the barline?

I don't know as I wasn't involved with LP at the time this decision was made, 
but I presume it was because the scores they used as examples of best practice 
did this.

> If I write something like this:
> 
> \time 4/4
> {a\< b c d
> e*\!* f g a
> }
> 
> isn't absolutely clear that my intention is to stop the hairpin on the "e" ?
> Doesn't the standard user writing the above example expect to stop the
> hairpin on the "e"?

Elaine Gould's view in Behind Bars is that the hairpin should stop just before 
the bar line if there is nothing between the bar line and the first note "since 
the space between the bar line and first note has no time value", but "it is 
helpful to extend a hairpin to a first beat if that is some distance after a 
bar line."  So both practices are needed.

That means

{
  \time 4/4
  a\< b c' d'
  \key fis \major
  eis'\f fis' gis' ais'
}

would be incorrect (or at least "unhelpful") in her view, and should be written

{
  \time 4/4
  \once \override Hairpin.to-barline = ##f
  a\< b c' d'
  \key fis \major
  eis'\f fis' gis' ais'
}

This is less common so I guess that's why LP implements this behaviour with an 
override.

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


Re: point-and-click from PDF viewer to lilypond editor

2015-06-06 Thread Urs Liska
Same with me (evince on Debian/Gnome). I've given up on this long time ago. 

Am 6. Juni 2015 11:16:26 MESZ, schrieb Peter Bjuhr :
>
>
>On 2015-06-06 10:40, Federico Bruni wrote:
>> Does anybody here use point-and-click from an external PDF viewer 
>> (either Evince or Xpdf) to the lilypond editor?
>> I find it useful when transcribing from a PDF manuscript, because I 
>> can organize three different windows (manuscript, PDF preview and 
>> lilypond editor) to work and compare.
>>
>> I've tried several editors but none works correctly: 
>
>I did a quick test. I'm on Ubuntu 15.04, Evince is called Document 
>Viewer. But what I understand it's the same. I'm sure it has worked in 
>the past, but now I get an error already in the viewer: "Unable to open
>
>external link".
>
>I tried the instructions here: 
>http://www.lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click#extra-configuration-for-evince.
>
>But it didn't help.
>
>Best
>Peter
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


hairpins default stop at barline

2015-06-06 Thread Gianmaria Lari
Why was it decided that hairpins by default stop at the barline?

If I write something like this:

\time 4/4
{a\< b c d
e*\!* f g a
}

isn't absolutely clear that my intention is to stop the hairpin on the "e" ?
Doesn't the standard user writing the above example expect to stop the
hairpin on the "e"?

g.
P.S. Thank you to Federico & Urs for discussing the topic privately



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/hairpins-default-stop-at-barline-tp177538.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


Re: point-and-click from PDF viewer to lilypond editor

2015-06-06 Thread Peter Bjuhr



On 2015-06-06 10:40, Federico Bruni wrote:
Does anybody here use point-and-click from an external PDF viewer 
(either Evince or Xpdf) to the lilypond editor?
I find it useful when transcribing from a PDF manuscript, because I 
can organize three different windows (manuscript, PDF preview and 
lilypond editor) to work and compare.


I've tried several editors but none works correctly: 


I did a quick test. I'm on Ubuntu 15.04, Evince is called Document 
Viewer. But what I understand it's the same. I'm sure it has worked in 
the past, but now I get an error already in the viewer: "Unable to open 
external link".


I tried the instructions here: 
http://www.lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click#extra-configuration-for-evince. 
But it didn't help.


Best
Peter

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


Re: Git + LilyPond

2015-06-06 Thread Federico Bruni
Il giorno sab 6 giu 2015 alle 10:12, Peter Bjuhr  
ha scritto:
I have a question for those who use version control (and especially 
Git) with LilyPond:


When I write a new piece (or rather when a first version is written) 
I'd like to edit this as a single repo. But when it's (more) finished 
I think it would be better to collect it with other pieces in a 
larger repo (with the history intact of course). How can I do this? 
Is it a good idea?


why not using branches?


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


point-and-click from PDF viewer to lilypond editor

2015-06-06 Thread Federico Bruni

Hi all

Does anybody here use point-and-click from an external PDF viewer 
(either Evince or Xpdf) to the lilypond editor?
I find it useful when transcribing from a PDF manuscript, because I can 
organize three different windows (manuscript, PDF preview and lilypond 
editor) to work and compare.


The instructions to set up the environment (I'm on Linux, Gnome 3, 
Debian) are here:

http://www.lilypond.org/doc/v2.19/Documentation/usage/configuring-the-system-for-point-and-click

I've tried several editors but none works correctly:

1. Frescobaldi opens up but the cursor remains where it was previously

2. Geany always open the first line, first column, whatever I click on 
the PDF


3. Gedit moves the cursor to the beginning of the correct line (but it 
ignores the column)


4. Gvim kind of works, because it jumps to the correct line/column. 
It's a bit annoying that I have to change the focus to Gvim window and 
click Enter to finally see the cursor in the right position.


5. Nano doesn't work. The error is:
lilypond-invoke-editor (GNU LilyPond) 2.19.21
Ricevuto SIGHUP o SIGTERM
failed to invoke editor: /bin/nano "/path/to/file.ly"

This happens with Evince and Xpdf. So it seems independent of the PDF 
viewer.

Does it depend on the textedit support in each editor?

I'm using the latest lilypond, installed in the home directory.
I've defined the LYEDITOR variable in ~/.bashrc.

I'm curious to know your experience on this matter.
Thanks
Federico




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


Git + LilyPond

2015-06-06 Thread Peter Bjuhr

Hi all,

I have a question for those who use version control (and especially Git) 
with LilyPond:


When I write a new piece (or rather when a first version is written) I'd 
like to edit this as a single repo. But when it's (more) finished I 
think it would be better to collect it with other pieces in a larger 
repo (with the history intact of course). How can I do this? Is it a 
good idea?


I have some clues how to achieve this (especially with submodules), but 
I'd like to hear your experiences and tips!


(I vaguely remember some similar discussion about this!??)

Best
Peter

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