Re: Up and down arrows

2017-05-01 Thread Pierre Perol-Schneider
Hi Paul,

You can also use \upbow and \downbow :

\version "2.19"

\new Staff <<
  \new Voice \fixed g' {
  g4 e g e f e d e
  }
  \new Voice = "counter" {
\repeat unfold 4 { s4\upbow s\downbow }
  }
>>

Cheers,
Pierre


2017-05-01 4:44 GMT+02:00 Paul Napolitano :

> Thank you, David!
>
> > On Apr 28, 2017, at 11:09 PM, David Wright 
> wrote:
> >
> > On Fri 28 Apr 2017 at 21:57:09 (-0500), Paul Napolitano wrote:
> >> Is there a way to put up and down arrows above the staff to indicate
> the down and up beats?
> >
> > c'4 ^\markup { ↓ } f'4 ^\markup { ↑ }
> >
> > Cheers,
> > David.
>
>
> ___
> 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: opus conflict

2017-05-01 Thread Trevor Daniels

Thomas Morley wrote Monday, May 01, 2017 12:05 AM


> 2017-04-30 23:09 GMT+02:00 Mark Stephen Mrotek :
>> [...] I have very limited knowledge as to how to customize (write Lilypond), 
>> [...]
> 
> So here a little tutorial about writing custom book/scoreTitleMarkup

Nicely done, Harm!

Trevor


---
This email has been checked for viruses by AVG.
http://www.avg.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: opus conflict

2017-05-01 Thread Marc Hohl

Am 01.05.2017 um 09:55 schrieb Trevor Daniels:


Thomas Morley wrote Monday, May 01, 2017 12:05 AM



2017-04-30 23:09 GMT+02:00 Mark Stephen Mrotek :

[...] I have very limited knowledge as to how to customize (write Lilypond), 
[...]


So here a little tutorial about writing custom book/scoreTitleMarkup


Nicely done, Harm!


+1

I really, really appreciate your detailed explanations and your time and 
effort that go into mails like these!


Marc



Trevor


---
This email has been checked for viruses by AVG.
http://www.avg.com
___
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: Up and down arrows

2017-05-01 Thread Paul Napolitano
David;

This appears to put the arrow over the note, which works well for some
instances.  Do you know if it is possible to adjust its position so it is
over a gracenote (bagpipes)?

Thanks,
Paul

On Fri, Apr 28, 2017 at 11:09 PM, David Wright 
wrote:

> On Fri 28 Apr 2017 at 21:57:09 (-0500), Paul Napolitano wrote:
> > Is there a way to put up and down arrows above the staff to indicate the
> down and up beats?
>
> c'4 ^\markup { ↓ } f'4 ^\markup { ↑ }
>
> Cheers,
> David.
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Up and down arrows

2017-05-01 Thread David Wright
On Mon 01 May 2017 at 07:59:32 (-0500), Paul Napolitano wrote:
> David;
> 
> This appears to put the arrow over the note, which works well for some
> instances.  Do you know if it is possible to adjust its position so it is
> over a gracenote (bagpipes)?
> 
> On Fri, Apr 28, 2017 at 11:09 PM, David Wright 
> wrote:
> 
> > On Fri 28 Apr 2017 at 21:57:09 (-0500), Paul Napolitano wrote:
> > > Is there a way to put up and down arrows above the staff to indicate the
> > down and up beats?
> >
> > c'4 ^\markup { ↓ } f'4 ^\markup { ↑ }

I see no issue with grace notes, but if you want to fine tune the
positions, I only know how to do it in 2.19.

Cheers,
David.
\version "2.19.49"
\relative c' {
  \set tieWaitForNote = ##t
  \grace { c16[ ^\markup { ↓ } ~ e ^\markup { \translate #'(0 . 2) "↑" } ~ g] 
^\markup { ↓ } ~ } 2 ^\markup { \translate #'(2 . 0) ↑ }
  \repeat tremolo 8 { c32 ~ c' ~ } 1
  e8 ~ c ~ a ~ f ~ 2
  \tieUp
  c8 ~ a
  \tieDown
  \tieDotted
  g8 ~ c g2
}


grace.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


minimal-breaking not working as expected

2017-05-01 Thread Kieren MacMillan
Hello all,

In v2.19.59, I’m using

  page-breaking = #ly:minimal-breaking
  page-count = 10
  systems-per-page = 2

… and the output has 16 pages, 14 of which contain one system (2 pages have 2 
systems each).

As I misunderstanding and/or misusing these features?

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Polymark: draw marks horizontally

2017-05-01 Thread caagr98
I'm using Polymark (LSR 976) to be able to print song names (in 
medleys), codas, etc. at the same time as rehearsal marks. However, 
using a `\polyMark Center` (or empty) at the same time as a `\polyMark 
Left` draws the Left diagonally above the Center (assuming the Left is 
defined last). I'd like to draw them horizontally instead. Basically 
what `\override Score.RehearsalMark.extra-spacing-width` does, but for 
the same column. Is this possible?


To clarify with crappy ascii art, Polymark draws:

 "Song Title"
[A]

I want:

[A] "Song Title"

Obviously, if there isn't a rehearsal mark in the same column, the Left 
should be directly above the barline.


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


Re: minimal-breaking not working as expected

2017-05-01 Thread Simon Albrecht

Am 01.05.2017 um 20:37 schrieb Kieren MacMillan:

Hello all,

In v2.19.59, I’m using

   page-breaking = #ly:minimal-breaking
   page-count = 10
   systems-per-page = 2

… and the output has 16 pages, 14 of which contain one system (2 pages have 2 
systems each).

As I misunderstanding and/or misusing these features?


I’ve never used the minimal-breaking algorithm, so this is of limited 
value, but: The default algorithm handles systems-per-page with some 
flexibility, so e.g.

  system-count = 15
  systems-per-page = 4
will likely result in one page having only 3 systems without any warning 
given.
However, page-count has always been strictly obeyed in my scores, so at 
least that would qualify as a bug, I think.


I take it that creating a minimal example will be very difficult?

Best, Simon

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


Re: minimal-breaking not working as expected

2017-05-01 Thread David Wright
On Mon 01 May 2017 at 21:31:15 (+0200), Simon Albrecht wrote:
> Am 01.05.2017 um 20:37 schrieb Kieren MacMillan:
> >Hello all,
> >
> >In v2.19.59, I’m using
> >
> >   page-breaking = #ly:minimal-breaking
> >   page-count = 10
> >   systems-per-page = 2
> >
> >… and the output has 16 pages, 14 of which contain one system (2 pages have 
> >2 systems each).
> >
> >As I misunderstanding and/or misusing these features?
> 
> I’ve never used the minimal-breaking algorithm, so this is of
> limited value, but: The default algorithm handles systems-per-page
> with some flexibility, so e.g.
>   system-count = 15
>   systems-per-page = 4
> will likely result in one page having only 3 systems without any
> warning given.
> However, page-count has always been strictly obeyed in my scores, so
> at least that would qualify as a bug, I think.

I find that page-count can be disruptive; ie a score that looks
good on three pages will sometimes, given page-count=3, produce
two relatively slack pages followed by one very tight one.

> I take it that creating a minimal example will be very difficult?

Quite!

Cheers,
David.

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


Re: Center-align a score

2017-05-01 Thread Hendrik Fuß
Sorry for the delay.

Thomas, I have no clue what you did there, but it works like a charm!
Lyrics and vertical alignment just perfect.
Thanks a million! One day I shall dig into the code and be enlightened.

One thing I haven't quite worked out yet is how to get the center-alignment
activated only for a single score, or for a single bookpart. I've tried a
layout block inside \score, but that doesn't seem to work. Suggestions
highly appreciated.

cheers
Hendrik

Thomas Morley  schrieb am Sa., 29. Apr. 2017 um
00:16 Uhr:

> 2017-04-28 17:39 GMT+02:00 David Nalesnik :
>
> > It would be relatively easy to alter the function make-page-stencil in
> > scm/page.scm to do what you want.  The stencils of the individual
> > systems are already made at this point, and it's just a matter of
> > moving them around to your liking.  Unfortunately, this requires a
> > change to program files.  I've had no luck copy/pasting code from that
> > file into the LY file.
>
> It may be possible if one could get access to the (scm page)-module.
> Though, I had no luck with this either.
>
> Nevertheless, below probably a method to avoid ly:grob-extent's
> side-effects:
>
>
>
> \version "2.19.59"
>
> \paper {
>   ragged-right = ##t
>   indent = 0
> }
>
> centerLines =
>   \override NonMusicalPaperColumn.after-line-breaking =
> #(lambda (grob)
>(if (eqv? (ly:item-break-dir grob) 1) ; line beginning
>(let* ((sys (ly:grob-system grob))
>   ;; filter for StaffSymbol-grobs
>   (staff-symbols
> (filter
>   (lambda (grob)
> (grob::has-interface grob 'staff-symbol-interface))
>   (ly:grob-array->list (ly:grob-object sys
> 'all-elements
>   ;; StaffSymbols may start/end during same system
>   ;; Best bet is to look for the most left/right
> start/end-coord
>   (min-max
> (lambda (list-of-pairs)
>   (cons
> (reduce min +inf.0 (map car list-of-pairs))
> (reduce max -inf.0 (map cdr list-of-pairs)
>   (line-width
> (interval-length
>   (min-max
> (map
>   (lambda (g) (ly:grob-property g 'X-extent))
>   staff-symbols
>   (layout (ly:grob-layout grob))
>   (line-full-width (ly:output-def-lookup layout
> 'line-width)))
>  (ly:grob-set-nested-property! grob
>'(line-break-system-details X-offset)
>(/ (- line-full-width line-width) 2)
>
> \layout {
>   \context {
> \Score
> \centerLines
> \override BarNumber.stencil = ##f
>   }
> }
>
> \score {
> \new Staff \with {
> \override StaffSymbol.line-count = #1
> \omit Staff.TimeSignature
> \omit Staff.Clef
> }
> {
> b'4 b' b'2 \break
> b'4 b' b'2 \break
> b'4 b' b' b' b' b' b'2 \break
>
> }
> \addlyrics {
> Häns -- chen klein
> ging al -- lein
> in die wei -- te Welt hi -- nein
> }
> }
>
>
> Cheers,
>   Harm
>
> ___
> 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: minimal-breaking not working as expected

2017-05-01 Thread Kieren MacMillan
Hi Simon,

> I’ve never used the minimal-breaking algorithm, so this is of limited value, 
> but: The default algorithm handles systems-per-page with some flexibility, so 
> e.g.
>  system-count = 15
>  systems-per-page = 4
> will likely result in one page having only 3 systems without any warning 
> given.

Yes, *not* using minimal-breaking gives expected results.

> I take it that creating a minimal example will be very difficult?

I sure think so.

Thanks,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Apple stealing "Lily"

2017-05-01 Thread Peter Gentry
https://www.groovypost.com/deals/lily-apple-free-app-of-week/

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


Re: Midiimport für Lilypond/Frescobaldi

2017-05-01 Thread Stjepan Horvat
For this purpose i would rather:
1. Record my staff in DAW (bitwig). Edit and Quantize (start-s and ends).
When you are satisfied with what you hear export as midi.
2. Import your midi file in musescore and look for something that is
unusual in sheet music. Make music rythmic beautiful.
3. Export as musicxml and convert musicxml2ly.
4. Edit converted music with frescobaldi. Adding header, paper, staff,
transpositions and whatever is needed.

*Nesmotren govori kao da mačem probada, a jezik je mudrih iscjeljenje.
Izreke 12:18*

On Sat, Apr 29, 2017 at 9:35 PM, Bernhard Kleine 
wrote:

> No, I want to know whether there are faster methods to code sheet musik:
> for example by playing the tune on a midi keyboard voice for voice and
> incorporating this voices in a choir sheet.
>
> Then I would like to control my work by listening to the play and not by
> reading the partiture.
>
> Bernhard
>
> Am 29.04.2017 um 18:47 schrieb Knute Snortum:
>
> Can I ask a dumb question?  Are you just trying to play the music you just
> entered in LilyPond?  Have you tried double-clicking on the .mid file from
> a File Explorer window?  Often the default MIDI player will execute.  Or,
> in Frescobaldi, there is a MIDI Player window which you can open via the
> Tools menu.  You may also have to configure MIDI via the Edit ->
> Preferences -> MIDI Settings window.
>
>
> ---
> Knute Snortum
>
>
> --
> spitzhalde9
> D-79853 lenzkirchbernhard.kle...@gmx.netwww.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schlüssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
>
>
> ___
> 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


Apply event function *within* music-function

2017-05-01 Thread Urs Liska
Hi all,

I'm trying to apply event functions to music passed into a music
function like that:

\version "2.19.57"

test =
#(define-music-function (mus)(ly:music?)
   #{
 #mus \startGroup
   #})

{
  \test c' d' e' f' \stopGroup
}


(of course this is not what I ultimately want to achieve, but the
nucleus from which I'll be able to continue on my own).

This fails with "error: syntax error, unexpected EVENT_IDENTIFIER". I
think it is because the #mus expression is somehow already complete
(differently from when used in regular input) and I have to somehow
*apply* the \startGroup event function to the #mus argument.

>From \displayMusic I can see that it is added as a NoteGroupingEvent to
the note's articulations, but I'd like to ask if there's a more
straightforward way to attach the event to the music than rebuilding the
music expression in Scheme.
OTOH I will want to do that for the first *and last* element in a music
expression (in order to apply the start and stop command to a sequence
of notes), so I may *have* to extract the Scheme representation anyway?

TIA
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