Re: Chords in LilyPond

2017-05-29 Thread Vaughan McAlley
On 30 May 2017 at 01:16, Henning Hraban Ramm  wrote:

> Am 2017-05-29 um 08:24 schrieb David Kastrup :
>
> > Johan Vromans  writes:
> >
> >> On Mon, 29 May 2017 14:24:52 +1000, Vaughan McAlley
> >>  wrote:
> >>
> >>> Does anyone actually use MIDI from the chord performer?
> >>
> >> I do. Although the voicing of the chords is not what a normal player
> >> would do, it is okay for checking scores and practising.
> >
> > If the voicing went through guitar chord exceptions or similar
> > instrument-specific contraptions also involved in typesetting, would
> > that be more useful?
>
> I imagine it would a bit, but not a lot.
> My demands are not very sophisticated - normally for MIDI I transpose
> chords one octave down, set them piano and use an instrument that has not
> too much attack, like "fx 4 (atmosphere)".
> Of course that doesn’t sound like guitar at all.
> If I try to mimick my own picking, I don’t use the Chordmode voice in MIDI.
> Maybe a library of picking styles would be possible on top of any internal
> representation of chords?
>

Guitar chord exceptions would at least get the chords down to where they
sit nicely (around middle C), and would use inversions rather than try to
convey the bass note information in the chord itself (to me, C/E implies
some kind of bass instrument). That would be a good start.

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


Re: Back in the Pond

2017-05-29 Thread David Kastrup
Gianmaria Lari  writes:

> Trevor wrote:
>
>
>> I'll definitely turn on my financial contribution again.
>>
>
> what's the better way to give a financial contribution?

In Europe's EURO zone (guessing from your name, that would likely be the
case) SEPA transfers are usually easiest (account number on request) as
the fees must not exceed in-country EUR transfers.  U.S. and U.K. and a
number of other countries get fewer fees via Paypal (this mail address
works fine).  However, I have to warn that I expect not to do a whole
lot for LilyPond in the next month or so.  I should have started
physical therapy this week but the respective clinic is booked out and I
enquired elsewhere.

The social worker dealing with my case is apparently spreading herself a
bit thin, so I need to improve my tactics.

In other news, I am currently doing my shopping/transportation basically
by foot which is taking its time but is safest for me and other traffic
parties.

And I'm having semi-permanent neck/head ache making focusing harder.
Control over my larynx is not exactly good: swallowing still
occasionally goes bad.  The right vocal fold is mostly paralyzed in
closed position yet and if it doesn't become accessible in a reasonable
amount of time, I'll probably eventually no longer be able to sing alto.
That's currently troubling me more than not being able to tell
heat/cold/pain on my left body side.

But even with some distractions being off-limits now, at the rate I am
being able to focus on complex tasks, I expect to be able to only
contribute lightly to LilyPond's progress in the next month or so.  Not
a whole lot of bang for the buck I am afraid.

At least apart from the head/neck ache and from the necessity for
physical exercise and keeping my blood pressure at tiresome levels, my
intelligence has not taken a hit: it's really mostly damaged wiring to
various body parts that I have to work with here.  But of course I need
to get the body back into a shape where I get along with moderate effort
in order not to take further hits to my bodily health.

In a nutshell: I'd appreciate support but it will be a bit of time
before I deliver good value for it again.

All the best

David

-- 
David Kastrup

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


Re:Chords in LilyPond

2017-05-29 Thread Peter Gentry
Thanks to Carl and Kieren for explaining chord semantics.

 

A set of notes forming a chord  may have a different "meaning" depending on
the current key context.  Semantics seemed like a much grander idea to the
uninitiated.

 

However this idea would surely fall on stony ground in the context of atonal
or twelve note music.

 

 

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


Re: double accents: > plus dot

2017-05-29 Thread Bernhard Kleine
Am 29.05.2017 um 20:01 schrieb Brian Barker:
> At 19:04 29/05/2017 +0200, Bernhard Kleine wrote:
>> The examples in the documentation show only how to set one of the
>> two. In the original of my piece there is however, both (dot and >)
>> together. I wonder how to set this.
>
> a\staccato\accent
> works for me. So does
> a-.->
>
> Brian Barker 

Obviously I was too lazy to try the obvious. Thank you very much!
Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.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




signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Chords in LilyPond

2017-05-29 Thread Kieren MacMillan
Hi Carl,

> I had not heard of quartic chords before reading this email (as I've
> mentioned before, I'm a music novice).  It was very interesting for me to
> study quartic chords.

They form a large part of my harmonic (composition and arranging) language.

> But in my web search and following links, I never found anything that
> approached a notation for quartic chords.  Their existence was discussed,
> but I found no quartic-based notation; it was all just the notes.

There definitely isn’t a standard…  =\

> Do you have any source information that we could use to better understand 
> quartic chord notation?

Not really. In the musical theatre world, the symbol

   C4

is starting to be widely understood as  (with a C in the bass and no 5th 
in the chord), as distinct from

   Csus4

which is ; this parallels the use of C2 / Cadd2 / Csus2 as three 
different chords/voicings; but it’s also sometimes just written as

   F5/C

In the classical world, I’ve seen attempts to make (e.g.)

   CQ4

a standard way to notate

  

but I’ve never seen a real codified “system”.

Sorry I don’t have more concrete info for you. I would just love it if whatever 
chord name system(s) we build for Lilypond are flexible and forward-proof 
enough to support a quartal naming convention (as just one example), if one 
ever gets established.

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


Re: Chords in LilyPond

2017-05-29 Thread Robert Schmaus



Am 29.05.17 um 15:28 schrieb Carl Sorensen:

I had not heard of quartic chords before reading this email (as I've
mentioned before, I'm a music novice).  It was very interesting for me to
study quartic chords.

But in my web search and following links, I never found anything that
approached a notation for quartic chords.  Their existence was discussed,
but I found no quartic-based notation; it was all just the notes.  Do you
have any source information that we could use to better understand quartic
chord notation?


Hi Carl,

I have seen an arrangement of a 1953 Miles Davis recording called 
"Enigma" (written by JJ Johnson) which contains such chords.
I guess there is no established symbol for these chords, but in that 
arrangement they were denoted "p4" as in Ab(p4). The p4 stands for - in 
my assumption - "perfect 4ths".


Best,
Robert

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


double accents: > plus dot

2017-05-29 Thread Bernhard Kleine
The examples in the documentation show only how to set one of the two.
In the original of my piece there is however, both (dot and >) together.
I wonder how to set this.

Regards Bernhard

-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.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




signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Phil Holmes
- Original Message - 
From: "Federico Bruni" 

To: "Kieren MacMillan" 
Cc: "Lilypond-User Mailing List" 
Sent: Monday, May 29, 2017 5:05 PM
Subject: Re: ly Source for examples on the LP Homepage





Il giorno lun 29 mag 2017 alle 15:46, Kieren MacMillan 
 ha scritto:

Hi all,

 Il giorno lun 29 mag 2017 alle 13:41, Martin Tarenskeen 
 ha scritto:
 In addition to Manuela's question: What's happening with the stems 
below the lower staff of the Granados example on that page? If we want 
to show what LilyPond scores can look like this is not what we want 
want people to see.


 Known problem with dpreview.. see issues 2968, 2849, 2330 and 625 on 
the tracker.

 https://sourceforge.net/p/testlilyissues/issues/2968/


So why use it? Surely there are other ways to generate this image that 
don’t suffer this way?
(It’s never happened to me on Mac OS X, but maybe I’m generating images 
differently?)


It really is unacceptable, especially given how much we explicitly praise 
Lilypond’s output.





A first "workaround" could be linking to the PDF instead of the PNG.
The image on the HTML page would still be cut, but if you click on it you 
could see the PDF in its full format.
It should be as easy as changing the format of the  link in 
macros.itexi


If you think it's a good temporary workaround (until the main bug is 
fixed), I can prepare a patch.


See https://sourceforge.net/p/testlilyissues/issues/5140/

--
Phil Holmes 



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


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Federico Bruni



Il giorno lun 29 mag 2017 alle 15:46, Kieren MacMillan 
 ha scritto:

Hi all,

 Il giorno lun 29 mag 2017 alle 13:41, Martin Tarenskeen 
 ha scritto:
 In addition to Manuela's question: What's happening with the stems 
below the lower staff of the Granados example on that page? If we 
want to show what LilyPond scores can look like this is not what we 
want want people to see.


 Known problem with dpreview.. see issues 2968, 2849, 2330 and 625 
on the tracker.

 https://sourceforge.net/p/testlilyissues/issues/2968/


So why use it? Surely there are other ways to generate this image 
that don’t suffer this way?
(It’s never happened to me on Mac OS X, but maybe I’m generating 
images differently?)


It really is unacceptable, especially given how much we explicitly 
praise Lilypond’s output.





A first "workaround" could be linking to the PDF instead of the PNG.
The image on the HTML page would still be cut, but if you click on it 
you could see the PDF in its full format.
It should be as easy as changing the format of the  link in 
macros.itexi


If you think it's a good temporary workaround (until the main bug is 
fixed), I can prepare a patch.






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


Re: Chords in LilyPond

2017-05-29 Thread Wols Lists
On 29/05/17 06:04, Carl Sorensen wrote:
> Charles's project is not to solve all three of these.  In fact, his
> project is not to completely solve any one of them.  Rather, his problem
> is to determine how best to save the semantics, so that assuming the
> semantics are properly entered in chordmode (probably including some
> extensions to the current chordmode, or maybe even a start from scratch
> rewrite, but that's out of scope for this project), the semantics will be
> kept as part of the chord, and thus be available for the
> chord_name_engraver to use when generating a chord name.

Just thinking out loud, but there's a fairly standard format for figured
bass, isn't there? If we've got chordmode and notemode, it wouldn't be
hard to add figuredbassmode, would it? That actually gives you quite a
lot of semantic information I think :-)

And it sets a bit of a precedent for "if you want a weird chord format,
define your own input/output mode" :-)

Cheers,
Wol

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


Re: Chords in LilyPond

2017-05-29 Thread Henning Hraban Ramm
Am 2017-05-29 um 08:24 schrieb David Kastrup :

> Johan Vromans  writes:
> 
>> On Mon, 29 May 2017 14:24:52 +1000, Vaughan McAlley
>>  wrote:
>> 
>>> Does anyone actually use MIDI from the chord performer?
>> 
>> I do. Although the voicing of the chords is not what a normal player
>> would do, it is okay for checking scores and practising.
> 
> If the voicing went through guitar chord exceptions or similar
> instrument-specific contraptions also involved in typesetting, would
> that be more useful?

I imagine it would a bit, but not a lot.
My demands are not very sophisticated - normally for MIDI I transpose chords 
one octave down, set them piano and use an instrument that has not too much 
attack, like "fx 4 (atmosphere)".
Of course that doesn’t sound like guitar at all.
If I try to mimick my own picking, I don’t use the Chordmode voice in MIDI.
Maybe a library of picking styles would be possible on top of any internal 
representation of chords?

Greetlings, Hraban
---
fiëé visuëlle
Henning Hraban Ramm
http://www.fiee.net




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


Re: How to generate a minimally sized pdf

2017-05-29 Thread David Wright
On Mon 29 May 2017 at 10:26:51 (+0300), Ivanov Dmitry wrote:
> On 5/29/17, Jeffery Shivers  wrote:
> 
> > I believe other people have inquired about auto-cropping and
> > such in the past, too! Might be worth searching the archives (or just
> > googling to get there faster).
> 
> I tried this:
> 
> $lilypond -dpreview  file.ly
> 
> And it worked: gave me "file.preview.pdf", that was auto-cropped. Idea
> taken from here:
> 
> https://superuser.com/questions/96970/lilypond-is-there-a-way-to-auto-crop-the-paper
> 
> Thank you.

Happy that you're happy.

But the advantage of pdfcrop is that it works whereas -dpreview
doesn't. (There happens to be an active thread here on that matter¹.)

You also add a tool to your armoury that you can use on many
other² PDFs, LilyPond related or not, including ones that
you didn't produce yourself.

¹
http://lists.gnu.org/archive/html/lilypond-user/2017-05/msg00515.html

²Obviously not PDFs that are actually just wrapped images, and it
doesn't like completely blank pages.

Cheers,
David.

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


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Manuela Gößnitzer
Thanks for the link, I think it would be a good idea to add it on the
homepage,
greetings,
Manuela

2017-05-29 15:46 GMT+02:00 Kieren MacMillan :

> Hi all,
>
> > Il giorno lun 29 mag 2017 alle 13:41, Martin Tarenskeen <
> m.tarensk...@zonnet.nl> ha scritto:
> >> In addition to Manuela's question: What's happening with the stems
> below the lower staff of the Granados example on that page? If we want to
> show what LilyPond scores can look like this is not what we want want
> people to see.
> >
> > Known problem with dpreview.. see issues 2968, 2849, 2330 and 625 on the
> tracker.
> > https://sourceforge.net/p/testlilyissues/issues/2968/
>
> So why use it? Surely there are other ways to generate this image that
> don’t suffer this way?
> (It’s never happened to me on Mac OS X, but maybe I’m generating images
> differently?)
>
> It really is unacceptable, especially given how much we explicitly praise
> Lilypond’s output.
>
> 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
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Kieren MacMillan
Hi all,

> Il giorno lun 29 mag 2017 alle 13:41, Martin Tarenskeen 
>  ha scritto:
>> In addition to Manuela's question: What's happening with the stems below the 
>> lower staff of the Granados example on that page? If we want to show what 
>> LilyPond scores can look like this is not what we want want people to see.
> 
> Known problem with dpreview.. see issues 2968, 2849, 2330 and 625 on the 
> tracker.
> https://sourceforge.net/p/testlilyissues/issues/2968/

So why use it? Surely there are other ways to generate this image that don’t 
suffer this way?
(It’s never happened to me on Mac OS X, but maybe I’m generating images 
differently?)

It really is unacceptable, especially given how much we explicitly praise 
Lilypond’s output.

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


Re: Chords in LilyPond

2017-05-29 Thread Kieren MacMillan
Hi Peter,

> I have struggled to understand what is being discussed.

Sorry for that. Hopefully, when the project is *implemented*, the user 
interface won’t provide a barrier to understanding. 

> Am I correct in seeing “semantics” in this way ?

We are using semantics in the sense of “what does the chord mean?”. In a simple 
example, consider the chords

  

Is this a C major triad with added 6th, or an A minor 7th chord in first 
inversion? The notes in each are the same, but the meaning is different.

Hope that helps!
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


Re: Chords in LilyPond

2017-05-29 Thread Carl Sorensen
On 5/24/17 4:51 PM, "Kieren MacMillan"  wrote:

>
>> Some things that should be thought about:
>>  Is the 7 an extension? Or included in the quality the chord? Or maybe
>>something else?
>
>Since we¹re starting from the ground up, can we not assume triadic
>harmony for the input (even if the output makes it look like we do)? For
>example,  is not really, to my ears, a triadic chord with
>extensions and suspensions, but rather a quartic ³triad². Maybe there¹s a
>way to handle this kind of thing (and others) elegantly?
>

I had not heard of quartic chords before reading this email (as I've
mentioned before, I'm a music novice).  It was very interesting for me to
study quartic chords.

But in my web search and following links, I never found anything that
approached a notation for quartic chords.  Their existence was discussed,
but I found no quartic-based notation; it was all just the notes.  Do you
have any source information that we could use to better understand quartic
chord notation?

Thanks,

Carl


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


Re: Chords in LilyPond

2017-05-29 Thread Carl Sorensen
On 5/29/17 5:58 AM, "Peter Gentry"  wrote:

>I have been intrigued by the highly technical correspondence on this
>topic.  However I have struggled to understand what is being discussed.


>Other links such as
>http://motools.sourceforge.net/chord_draft_1/chord.html describe in some
>detail the structure of chords beyond the simple C G7 etc descriptions
>including where a strong note outside the ³normal² chord members is
>employed often by a solo instrument.
>All this is way outside by musical knowledge whilst interesting it is
>difficult to understand.

This proposal for a chord ontology is one possible choice for assigning
semantics, although I don't like it at all.  As you say, it is very
technical, and doesn't really help with meaning, in my opinion.

> 
>Am I correct in seeing ³semantics² in this way ?

"Semantics" is a discussion of meaning.

https://www.merriam-webster.com/dictionary/semantics

"the meaning or relationship of meanings of a sign
 or set of signs;
especially : connotative
 meaning"

When we talk of "semantics", we talk of the meaning of the notes in the
chord.  At its most basic, a chord is a group of notes played
simultaneously.  In the context of western music, the notes in the chord
are selected to achieve a particular kind of harmonic progression.  We can
look at music theory and see that each chord has a particular reason for
being part of the music in relation to the preceding and succeeding
chords.  So for example see

https://en.wikipedia.org/wiki/Chord_progression


The aim of the Chords GSOC project is to try to capture the harmonic
meaning intended by the music, not just the notes.  And that's what is
meant by "semantics" in the context of this project.

HTH,

Carl






> 
> 



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


Re:Chords in LilyPond

2017-05-29 Thread Peter Gentry
I have been intrigued by the highly technical correspondence on this topic.
However I have struggled to understand what is being discussed.

A bit of googling has shed some light
http://debussy.music.ubc.ca/muset/guido/section3.html for instance but other
sources are even more technical. I was particularly thrown by the term
"semantics" this is a slippery customer that seems to mean different things
in different contexts.

In the link above it is simply a recipe for how to populate various
properties or parameters if not explicitly defined.

ie  Semantics: 

*   If size or style are not specified when using \noteFormat, their
current settings remain unaffected. If not modified using \noteFormat, the
default settings are size=1.0, style="standard".
*   The specified parameters are applied to all notes within the range
of \noteFormat, or, if no range is specified, until (i) the next \noteFormat
tag changing that parameter or (ii) the end of the current voice.

Other links such as http://motools.sourceforge.net/chord_draft_1/chord.html
describe in some detail the structure of chords beyond the simple C G7 etc
descriptions including where a strong note outside the "normal" chord
members is employed often by a solo instrument.

All this is way outside by musical knowledge whilst interesting it is
difficult to understand.

 

Am I correct in seeing "semantics" in this way ?

 

 

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


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Federico Bruni
Il giorno lun 29 mag 2017 alle 13:41, Martin Tarenskeen 
 ha scritto:
In addition to Manuela's question: What's happening with the stems 
below the lower staff of the Granados example on that page? If we 
want to show what LilyPond scores can look like this is not what we 
want want people to see.


Known problem with dpreview.. see issues 2968, 2849, 2330 and 625 on 
the tracker.

https://sourceforge.net/p/testlilyissues/issues/2968/




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


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Martin Tarenskeen



On Mon, 29 May 2017, Manuela Gößnitzer wrote:


Hi all,

I was looking for the Lilypond source for the example gallery 
http://lilypond.org/examples.html (which I thought that could be really 
enlightening
sometimes) and did not find any. I searched Github too, with no result.

Are the sources for these examples on the LP-website or somewhere else and am I 
just missing the obvious?

Thanks,
Manuela



Hi,

In addition to Manuela's question:
What's happening with the stems below the lower staff of the Granados 
example on that page? If we want to show what LilyPond scores can look like this is not 
what we want want people to see.


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


Re: ly Source for examples on the LP Homepage

2017-05-29 Thread Federico Bruni



Il giorno lun 29 mag 2017 alle 13:26, Manuela Gößnitzer 
 ha scritto:

Hi all,

I was looking for the Lilypond source for the example gallery 
http://lilypond.org/examples.html (which I thought that could be 
really enlightening sometimes) and did not find any. I searched 
Github too, with no result.


Are the sources for these examples on the LP-website or somewhere 
else and am I just missing the obvious?





LilyPond source code is hosted on Savannah:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=tree;f=Documentation/ly-examples;h=4eab3f8de7d5612d45b4818d7fc1ab077eeed080;hb=HEAD

Some time ago we discussed about the idea of adding a link to the 
source code of each example...





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


ly Source for examples on the LP Homepage

2017-05-29 Thread Manuela Gößnitzer
Hi all,

I was looking for the Lilypond source for the example gallery
http://lilypond.org/examples.html (which I thought that could be really
enlightening sometimes) and did not find any. I searched Github too, with
no result.

Are the sources for these examples on the LP-website or somewhere else and
am I just missing the obvious?

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


Re: Additional staff with lyrics

2017-05-29 Thread Jan-Peter Voigt

... or

\new Staff ="main" {
  \relative {
r4 g'8 g c4 c8 d |
e4 r8
<<
  { f8 c c }
  \new Staff = "extra" \with { alignAboveContext = #"main" }
  { f8 f c }
  \addlyrics \with { alignBelowContext = #"extra" } { foo bar buzz }
>>
r4 |
  }
}

HTH,
Jan-Peter

Am 29.05.2017 um 11:50 schrieb Thomas Morley:

2017-05-29 11:43 GMT+02:00 Bernhard Kleine :


In http://lilypond.org/doc/v2.19/Documentation/learning/size-of-objects

there is this example which helped me already to add the extra Staff to the 
piece I presented yesterday, however I do not see a way to add lyrics to the  
upper staff. Could you please help?


\new Staff ="main" {
   \relative {
 r4 g'8 g c4 c8 d |
 e4 r8
 <<
   { f8 c c }
   \new Staff \with {
 alignAboveContext = #"main" }
   { f8 f c }
 >>
 r4 |
   }
}


How about:

\version "2.19.56"

\new Staff ="main" {
   \relative {
 r4 g'8 g c4 c8 d |
 e4 r8
 <<
   { f8 c c }
   \new Staff \with { alignAboveContext = #"main" }
   { f8 f c }
   \addlyrics \with { alignAboveContext = #"main" } { foo bar buzz }
 >>
 r4 |
   }
}

HTH,
   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: Chords in LilyPond

2017-05-29 Thread Thomas Morley
2017-05-29 11:44 GMT+02:00 Thomas Morley :

> (2)
> Finally something like the terminal-output of the fake below is aimed at:
>
> chrd-test-III =
> \chordmode {
> \displayMusic
> \withMusicProperty semantics
>   #`((root . ,#{ c #})
>  ;; or?
>  (root . "C")
Erhm, should read (third . major) ofc, here and below

>  (third . minor)
>  (fifth . pure)
>  (extensions . #f)
>  (additions . #f)
>  (bass . #f)
>  (inversion . #f)
>  (suspensions . #f)
>  ;; else?
>  )
> c
> }
>
> <<
>   \new ChordNames \chrd-test-III
>   \new Staff \chrd-test-III
>>>
>
> -->
> (make-music
>   'EventChord
>   'semantics
>   (list (cons (quote root) (ly:make-pitch -1 0))
> (cons (quote root) "C")
same here
> (cons (quote third) (quote minor))
> (cons (quote fifth) (quote pure))
> (cons (quote extensions) #f)
> (cons (quote additions) #f)
> (cons (quote bass) #f)
> (cons (quote inversion) #f)
> (cons (quote suspensions) #f))
>   'elements
>   (list (make-music
>   'NoteEvent
>   'pitch
>   (ly:make-pitch 0 0)
>   'duration
>   (ly:make-duration 2))
> (make-music
>   'NoteEvent
>   'pitch
>   (ly:make-pitch 0 2)
>   'duration
>   (ly:make-duration 2))
> (make-music
>   'NoteEvent
>   'pitch
>   (ly:make-pitch 0 4)
>   'duration
>   (ly:make-duration 2

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


Re: Additional staff with lyrics

2017-05-29 Thread Thomas Morley
2017-05-29 11:43 GMT+02:00 Bernhard Kleine :
>
> In http://lilypond.org/doc/v2.19/Documentation/learning/size-of-objects
>
> there is this example which helped me already to add the extra Staff to the 
> piece I presented yesterday, however I do not see a way to add lyrics to the  
> upper staff. Could you please help?
>
>
> \new Staff ="main" {
>   \relative {
> r4 g'8 g c4 c8 d |
> e4 r8
> <<
>   { f8 c c }
>   \new Staff \with {
> alignAboveContext = #"main" }
>   { f8 f c }
> >>
> r4 |
>   }
> }

How about:

\version "2.19.56"

\new Staff ="main" {
  \relative {
r4 g'8 g c4 c8 d |
e4 r8
<<
  { f8 c c }
  \new Staff \with { alignAboveContext = #"main" }
  { f8 f c }
  \addlyrics \with { alignAboveContext = #"main" } { foo bar buzz }
>>
r4 |
  }
}

HTH,
  Harm

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


Re: Chords in LilyPond

2017-05-29 Thread Thomas Morley
2017-05-29 7:04 GMT+02:00 Carl Sorensen :
> On 5/28/17 5:53 PM, "Thomas Morley"  wrote:
>
>>
>>
>>Though, why adding a Œsemantics entry to the EventChord?
>>I'd suggest to write such an interpreter as a procedure which works on
>>the pitchlist ignatzek-chord-names currently has to work with
>>(including bass/inversion-info). Then write a printing-function which
>>works on the result of the interpreter.
>>Both public in guile, so that users can write different interpreters
>>and printing-functions as they like.

Hi Carl,

many thanks for your words about _what_ is tackled and what not. This
was not clear for me. I tried to reread the GSoC-projects-description
for this, but I couldn't find it...

There are still some details I'm not sure about. See below.

> There are three different problems in the Chords construct.
>
> 1) How to input chords.  We currently have two modes -- notemode and
> chordmode.  Notemode has no semantics.  Chordmode has semantics, but
> currently the semantics get largely tossed away (except for root, bass,
> inversion, IIRC).

As an example:

\new ChordNames \chordmode { c:1.3.5 }

I wouldn't agree we currently throw away semantics about this c-major-chord.
We identify bass/inversion (none here) and keep them.
Afaik, we don't _use_ anything else from this user input, even the
root is determined in ignatzek-chord-names.

> 2) How to determine a chord name.  For this, we currently have
> ignatzek-chord-names which interprets the pitches plus root, bass,
> inversion into a chord name.

See above for root.

> 3) How to display a chord name. This is currently mixed up with the
> determination of a chord name in ignatzek-chord-names.
>
> Charles's project is not to solve all three of these.  In fact, his
> project is not to completely solve any one of them.  Rather, his problem
> is to determine how best to save the semantics, so that assuming the
> semantics are properly entered in chordmode (probably including some
> extensions to the current chordmode, or maybe even a start from scratch
> rewrite, but that's out of scope for this project), the semantics will be
> kept as part of the chord, and thus be available for the
> chord_name_engraver to use when generating a chord name.
>
> When Charles is done, I hope that we will have a good internal
> representation for both the notes and the semantics.  The user will have
> the ability to define the semantics (at first, maybe only with Scheme, but
> eventually through good input).  And those semantics will lead to the
> desired output.
>
> Right now, we don't have control of the semantics; they're inferred from
> the pitches.  And that causes problems.
>
> Of course, we'll need to get good display routines (printing functions).
> And we'll need to get good input routines (for both chordmode and note
> mode).  And we'll need to get good infer-semantics-from-pitches routines
> (which Harm calls interpreters, I believe).  But if each of these can be
> separated from the others (which I hope Charles's project will do by
> capturing semantics properly in the EventChord structure), then I believe
> it will be easier to tackle all of the problems.
>
> Thanks,
>
> Carl
>

Do I understand correctly:
(1)
Problems with entering chords in note-mode is not really on the agenda
(in this case I'll not longer give such examples)
(2)
Finally something like the terminal-output of the fake below is aimed at:

chrd-test-III =
\chordmode {
\displayMusic
\withMusicProperty semantics
  #`((root . ,#{ c #})
 ;; or?
 (root . "C")
 (third . minor)
 (fifth . pure)
 (extensions . #f)
 (additions . #f)
 (bass . #f)
 (inversion . #f)
 (suspensions . #f)
 ;; else?
 )
c
}

<<
  \new ChordNames \chrd-test-III
  \new Staff \chrd-test-III
>>

-->
(make-music
  'EventChord
  'semantics
  (list (cons (quote root) (ly:make-pitch -1 0))
(cons (quote root) "C")
(cons (quote third) (quote minor))
(cons (quote fifth) (quote pure))
(cons (quote extensions) #f)
(cons (quote additions) #f)
(cons (quote bass) #f)
(cons (quote inversion) #f)
(cons (quote suspensions) #f))
  'elements
  (list (make-music
  'NoteEvent
  'pitch
  (ly:make-pitch 0 0)
  'duration
  (ly:make-duration 2))
(make-music
  'NoteEvent
  'pitch
  (ly:make-pitch 0 2)
  'duration
  (ly:make-duration 2))
(make-music
  'NoteEvent
  'pitch
  (ly:make-pitch 0 4)
  'duration
  (ly:make-duration 2

And let the printing function work on the 'semantics?

So far, best regards,
  Harm

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


Additional staff with lyrics

2017-05-29 Thread Bernhard Kleine
In http://lilypond.org/doc/v2.19/Documentation/learning/size-of-objects

there is this example which helped me already to add the extra Staff to
the piece I presented yesterday, however I do not see a way to add
lyrics to the  upper staff. Could you please help?


\new Staff ="main" {
  \relative {
r4 g'8 g c4 c8 d |
e4 r8
<<
  { f8 c c }
  \new Staff \with {
alignAboveContext = #"main" }
  { f8 f c }
>>
r4 |
  }
}

[image of music]


-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kle...@gmx.net
www.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



signature.asc
Description: OpenPGP digital signature
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to generate a minimally sized pdf

2017-05-29 Thread Ivanov Dmitry
On 5/29/17, Jeffery Shivers  wrote:

> I believe other people have inquired about auto-cropping and
> such in the past, too! Might be worth searching the archives (or just
> googling to get there faster).

I tried this:

$lilypond -dpreview  file.ly

And it worked: gave me "file.preview.pdf", that was auto-cropped. Idea
taken from here:

https://superuser.com/questions/96970/lilypond-is-there-a-way-to-auto-crop-the-paper

Thank you.

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


Re: How to generate a minimally sized pdf

2017-05-29 Thread Ivanov Dmitry
On 5/29/17, Jeffery Shivers  wrote:

> I believe other people have inquired about auto-cropping and
> such in the past, too! Might be worth searching the archives (or just
> googling to get there faster).
>
> By the way, how are you compiling this? (i.e. command line, frescobaldi,
> other?)

I am running this in the command line:

$lilypond file.ly

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