Transpose a lilypond file

2014-10-05 Thread Jay Vara
I have a song.ly file which prints a song. Is it possible for someone to print the song with a transposition, say c to d, without editing the .ly file? Something like: \transpose c d {\include song.ly} ___ lilypond-user mailing list

The silent s

2014-10-05 Thread Jay Vara
I have the letter s as a defined pitch abc = #`( (s . ,(ly:make-pitch -1 0 NATURAL) ) which I set as a note name. How do I set a different letter to the silent note s? Also for the rest r? ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Transpose a lilypond file

2014-10-05 Thread Malte Meyn
You can do something like the following and move the “foo = …” into song.ly: \version 2.19.13 foo = \new Score { { c' d' e' f' } } { \foo } \transpose c d \foo Am 05.10.2014 um 10:03 schrieb Jay Vara: I have a song.ly file which prints a song. Is it possible for someone to print

Re: Transpose a lilypond file

2014-10-05 Thread Urs Liska
Not directly. You should somehiw pull the music variables out of song.ly and compile a second file. Or you use version control and either create a transposed branch or simply edit, compile and discard the transposition. HTH Urs Am 5. Oktober 2014 10:03:29 MESZ, schrieb Jay Vara

Re: Key signatures in hidden staves take up space

2014-10-05 Thread David Kastrup
Simon Albrecht simon.albre...@mail.de writes: Am 04.10.2014 um 23:13 schrieb Peter Crighton: As you can see in the following code and the attached image, there is a possible bug when using \RemoveEmptyStaves with voices in different keys (such as in a score with transposing instruments): key

Re: Transpose a lilypond file

2014-10-05 Thread Marc Hohl
Am 05.10.2014 um 10:03 schrieb Jay Vara: I have a song.ly file which prints a song. Is it possible for someone to print the song with a transposition, say c to d, without editing the .ly file? Something like: \transpose c d {\include song.ly} I had a similar problem some time ago. I included

Re: The silent s

2014-10-05 Thread Marc Hohl
Am 05.10.2014 um 10:10 schrieb Jay Vara: I have the letter s as a defined pitch abc = #`( (s . ,(ly:make-pitch -1 0 NATURAL) ) which I set as a note name. How do I set a different letter to the silent note s? Also for the rest r? A quick search in the sources shows that at least 's'

Re: Transpose a lilypond file

2014-10-05 Thread Urs Liska
Am 5. Oktober 2014 11:18:42 MESZ, schrieb Marc Hohl m...@hohlart.de: Am 05.10.2014 um 10:03 schrieb Jay Vara: I have a song.ly file which prints a song. Is it possible for someone to print the song with a transposition, say c to d, without editing the .ly file? Something like: \transpose c

Re: Transpose a lilypond file

2014-10-05 Thread Richard Shann
On Sun, 2014-10-05 at 11:27 +0200, Urs Liska wrote: Am 5. Oktober 2014 11:18:42 MESZ, schrieb Marc Hohl m...@hohlart.de: Am 05.10.2014 um 10:03 schrieb Jay Vara: I have a song.ly file which prints a song. Is it possible for someone to print the song with a transposition, say c to d,

Re: Transpose a lilypond file

2014-10-05 Thread Jay Vara
Marc #(define transposeTo (if (defined? 'transposeTo) transposeTo #{ c #})) melody = { ... } chords = {... } \score { \transpose c $transposeTo ...chords ... ...melody ... } Then you simply make a new file song-in-d.ly:

Re: The silent s

2014-10-05 Thread Jay Vara
Marc A quick search in the sources shows that at least 's' seems to be hardcoded in lily/parser.yy, so there is no easy way to define another letter instead of 's'. Okay, thanks. I should be able to work around it. Jay ___ lilypond-user

Re: Transpose a lilypond file

2014-10-05 Thread Jay Vara
Urs #(define transposeTo #{ d #}) \include song.ly Cool solution, I'll take this into my repertoire. You can then factor out the function into a library file. And you could pass the variable on the commandline instead of adding a new file. Being able to call from the command

Lyrics only

2014-10-05 Thread Jay Vara
I saw some discussion of how to get lilypond to print only lyrics from a few years ago. I tried a few things suggested in those posts, but nothing worked well. Does anyone know if a good solution exists? Ideally, NoteNames and Lyrics contexts would print, but staff does not print or occupy

Re: Lyrics only

2014-10-05 Thread Simon Albrecht
Hello, see http://lists.gnu.org/archive/html/lilypond-user/2014-10/msg4.html. Best, Simon Am 05.10.2014 um 13:10 schrieb Jay Vara: I saw some discussion of how to get lilypond to print only lyrics from a few years ago. I tried a few things suggested in those posts, but nothing worked

Re: Key signatures in hidden staves take up space

2014-10-05 Thread Peter Crighton
2014-10-05 11:15 GMT+02:00 David Kastrup d...@gnu.org: Simon Albrecht simon.albre...@mail.de writes: Am 04.10.2014 um 23:13 schrieb Peter Crighton: As you can see in the following code and the attached image, there is a possible bug when using \RemoveEmptyStaves with voices in different

Re: remove first empty staff and ambitus

2014-10-05 Thread Thomas Morley
2014-10-02 20:50 GMT+02:00 Kai Lautenschläger kai.lautenschlae...@me.com: Dear list, a few weeks ago I asked about removing the first empty staff in choir music and inserting the ambitus in the n-th system for selected voices. From the answers you gave, I could built the following example,

Re: Merge Rests Engraver

2014-10-05 Thread Peter Crighton
2014-10-04 18:21 GMT+02:00 Jay Anderson horndud...@gmail.com: On Fri, Oct 3, 2014 at 8:30 AM, Peter Crighton petecrigh...@googlemail.com wrote: I found that dotted rests don’t behave quite satisfyingly with this code – there are two dots appearing. How can this be fixed? I've noticed

Re: Vertical placement of ottava line

2014-10-05 Thread Peter Crighton
Does anybody have more ideas for this (see below)? How can I move the beginning and end of OttavaBrackets horizontally, or rather change their alignment to the note head? -- Peter Crighton | Musician Music Engraver based in Mainz, Germany http://www.petercrighton.de 2014-09-25 3:39 GMT+02:00

Re: Vertical placement of ottava line

2014-10-05 Thread Thomas Morley
2014-10-05 15:45 GMT+02:00 Peter Crighton petecrigh...@gmail.com: Does anybody have more ideas for this (see below)? How can I move the beginning and end of OttavaBrackets horizontally, or rather change their alignment to the note head? Maybe try the code below. Though, read the comments.

Re: Mapping custom drum notes to MIDI notes?

2014-10-05 Thread Peter Crighton
2014-09-25 6:32 GMT+02:00 Peter Crighton petecrigh...@gmail.com: No, I've checked all the sounds and I also checked the generated MIDI file, the notes are actually missing, so the problem is definitely caused by LilyPond. Am 25.09.2014 04:51 schrieb tisimst tisimst.lilyp...@gmail.com: Just

Re: Key signatures in hidden staves take up space

2014-10-05 Thread David Kastrup
Peter Crighton petecrigh...@gmail.com writes: 2014-10-05 11:15 GMT+02:00 David Kastrup d...@gnu.org: Simon Albrecht simon.albre...@mail.de writes: Am 04.10.2014 um 23:13 schrieb Peter Crighton: As you can see in the following code and the attached image, there is a possible bug when

Automatic ottava handling

2014-10-05 Thread David Bellows
This is probably asking a lot, but is there a way to have ottava markings used automatically? It sounds like a complicated function since you'd also want it to be able to span consecutive notes but being able to specify when (as in how many ledger lines above the staff) it would kick in would be

Dynamics and articulation in lyrics

2014-10-05 Thread Graham King
I'm setting a song with multiple stanzas, in which I would like to include dynamics and articulations (breathing, phrasing) within the text. After much hunting around the docs and snippets, I've got this far: /version 2.19.2 ... secondverse = \lyricmode {

Re: Dynamics and articulation in lyrics

2014-10-05 Thread Phil Holmes
\concat should do what you want: something like: \markup { \concat { La \musicglyph #scripts.tickmark } } -- Phil Holmes - Original Message - From: Graham King To: lilypond-user@gnu.org Sent: Sunday, October 05, 2014 5:04 PM Subject: Dynamics and articulation in lyrics

Re: Automatic ottava handling

2014-10-05 Thread Malte Meyn
There is a pitch-dependent staff switching automatism in LilyPond (I don’t know how it works but you can have a look at piano/harp section in the notation reference) so I think what you are asking for should at least not be impossible. Am 05.10.2014 um 17:52 schrieb David Bellows: This is

Re: Dynamics and articulation in lyrics

2014-10-05 Thread Simon Albrecht
Am 05.10.2014 um 18:04 schrieb Graham King: I'm setting a song with multiple stanzas, in which I would like to include dynamics and articulations (breathing, phrasing) within the text. After much hunting around the docs and snippets, I've got this far: /version 2.19.2 ...

Re: Automatic ottava handling

2014-10-05 Thread Gilberto Agostinho
Malte Meyn-3 wrote There is a pitch-dependent staff switching automatism in LilyPond (I don’t know how it works but you can have a look at piano/harp section in the notation reference) so I think what you are asking for should at least not be impossible. You are talking about \autochange

Re: Dynamics and articulation in lyrics

2014-10-05 Thread Graham King
On Sun, 2014-10-05 at 20:54 +0200, Simon Albrecht wrote: \set stanza may be used with arbitrary markup – it seems like abuse, but there’s no problem with that. I corrected the first two lines in the example above like this. As a subsidiary question: Verses 4 5 of this song are set