Re: [Best Practices] instrument changes

2011-07-03 Thread Janek Warchoł
2011/6/28 Kieren MacMillan :
> Hello all,
>
> I would love to put together a "Best Practices" example/snippet/document

Good idea!
I don't write much music for transposing instruments, so i cannot give
any advice, but i have a question that may trigger a discussion: how
to prepare scores with transposing instruments so that they are
structurally correct? Consider this canon:

common = {
  \key e \minor
  \time 4/4
}
melody = \relative c' {
  e4 d8 fis e4 b |
  e8 e fis fis g a16[ g] fis4 |
  b8 b a a g a16 g fis8 b, |
  e4 d8 fis e2
}
<<
  \new Staff = violin { \common \melody R1 }
  \new Staff = "clarinet in A" \transpose a c' { \common R1 \melody }
>>

If i understand how transposing instruments should be notated, the
output is how it should look like from a performer's point of view.
However, it is structurally wrong: for example MIDI output will be
bad, because internally the two parts have differently pitched
melodies (while they should be pitched the same and only displayed
differently).
What is the correct way of doing this?

thanks,
Janek

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


Re: Header to score spacing

2011-07-03 Thread Nick Payne

On 03/07/11 16:10, Hilary Snaden wrote:
Version 2.14 appears to have less default spacing between header 
contents and score contents than 2.12. How do I change this spacing?


You can add

markup-system-spacing #'padding = #3

to the \paper block. Change the actual padding value to suit.

Nick

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


Re: Header to score spacing

2011-07-03 Thread -Eluze


Hilary Snaden wrote:
> 
> Version 2.14 appears to have less default spacing between header 
> contents and score contents than 2.12. How do I change this spacing?
> 
you'll find a description of the new variables under 
http://lilypond.org/doc/v2.15/Documentation/notation/flexible-vertical-spacing-_005cpaper-variables
or more specifically in 
http://lilypond.org/doc/v2.15/Documentation/notation/flexible-vertical-spacing-_005cpaper-variables#list-of-flexible-vertical-spacing-_005cpaper-variables.

also, it explains where to find the default settings!

hth
Eluze
-- 
View this message in context: 
http://old.nabble.com/Header-to-score-spacing-tp31982392p31982676.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: hairpin problem?

2011-07-03 Thread Xavier Scheuer
On 3 July 2011 05:49, Jay Hamilton  wrote:
>
> Here you go- thanks Jay
>

Works fine here with both 2.12.3 and 2.14.1.
The hairpin ends on the mp measure 2 (I added the  \time 21/8 ).
Maybe you want  \once \override Hairpin #'to-barline = ##f  but that
makes almost no difference here (and it is not standard practice).

NB: I also had to remove "\tempo 4=162" form the MIDI block, you should
use  tempoWholesPerMinute = #(ly:make-moment 162 4)  instead (although
a tempo at the eighth would make more sense IMHO).
http://lilypond.org/doc/v2.14/Documentation/notation/midi-block

Cheers,
Xavier

-- 
Xavier Scheuer 

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


Re: hairpin problem?

2011-07-03 Thread -Eluze


Jay Hamilton-3 wrote:
> 
> Here you go- thanks Jay
> 
> \version "2.12.3"
> \header {
> title = "21-03"
> % composer = "Jay Hamilton"
> % copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
> %\center-column
> % { "CC lic 2.5 some rights reserved Jay Hamilton 2011"
> % "see http://creativecommons.org/licenses/by-nd/2.5/";
> % } }
> }
> #(ly:set-option 'delete-intermediate-files #t)
> #(set-default-paper-size "letter" 'landscape )
> melody = \relative c'
> {
> 
> g'4.\>^\markup {\italic "accentuate the silence"}
> b8->_\markup {\italic rall.} [c e]
> dis-> [c b] g4 (g')\breathe e8-> [dis! b']
> e,8-> (dis!4) r
> 
> e4.-> \mp g, c r4 r g4.-> e b'4
> r4.\p r c8-> [b g] e16-. r8. dis16-> b'8. e8 [c b] ~
> b4.\breathe g8 [g]
> 
> e8\pp [ dis b'] e, [ c a'] ~ a2\breathe g8 [dis! c] b'
> (e,4) ~ e4\! r4.
> 
> \bar "|."
> }
> 
> 
my guess is it stops at the \mp of the first note of the 2nd measure (in
21/8); take this away and you'll go up to the \p!

cheers
Eluze
-- 
View this message in context: 
http://old.nabble.com/hairpin-problem--tp31980093p31982745.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Question about Transposing: Score vs. Midi Output

2011-07-03 Thread Robert Schmaus

Hello fellow Lilyponderers,

I'm currently typesetting a score for Bigband, i.e. lots of transposing 
instruments. I'm writing everything in concert pitch, so I can check 
everything with the midi output. My initial idea was that I would 
transpose the individual instruments into their desired key, once I have 
finished the concert pitch score.


Recently, I discovered the \transposition command, and had hoped that 
this would actually be an elegant solution: still writing everything in 
concert pitch, but the engraver would set each voice in its correct key. 
So, in the example below, the Tenor would play the same note as the bass 
(modulo octave) but the notes for the Tenor would show d. The Midi file, 
however now has the tenor play b-flat.
So, I still would have to write every instrument in its own key, but 
would have a correct midi output.


My question is: is there an "inverse" command to \transposition, where I 
can write everything in concert pitch, s.t. the midi output will also 
remain in concert pitch, but the score is actually correct?
An alternative would be to use the right \transpose command for each 
instrument but suppress all \transpose directives for the midi output - 
is that possible?


Thanks a lot.
Have a nice sunday,
Robert


\version "2.14.1"

Tenor = \relative c'' {
\clef treble
\transposition bes
c c c c
}

Bass = \relative c {
\clef bass
c c c c
}

\score {
<<
\new Staff \Tenor
\new Staff \Bass
>>
\layout{}
\midi{}
}

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


Re: [Best Practices] instrument changes

2011-07-03 Thread Gilles Sadowski
Hi.

> >
> > I would love to put together a "Best Practices" example/snippet/document
> 
> Good idea!
> I don't write much music for transposing instruments, so i cannot give
> any advice, but i have a question that may trigger a discussion: how
> to prepare scores with transposing instruments so that they are
> structurally correct? Consider this canon:
> 
> common = {
>   \key e \minor
>   \time 4/4
> }
> melody = \relative c' {
>   e4 d8 fis e4 b |
>   e8 e fis fis g a16[ g] fis4 |
>   b8 b a a g a16 g fis8 b, |
>   e4 d8 fis e2
> }
> <<
>   \new Staff = violin { \common \melody R1 }
>   \new Staff = "clarinet in A" \transpose a c' { \common R1 \melody }
> >>
> 
> If i understand how transposing instruments should be notated, the
> output is how it should look like from a performer's point of view.
> However, it is structurally wrong: for example MIDI output will be
> bad, because internally the two parts have differently pitched
> melodies (while they should be pitched the same and only displayed
> differently).
> What is the correct way of doing this?

Something along those lines:

If the source contains notes in concert pitch:
---CUT---
   \new Staff = "clarinet in A" {
 \transposition a {
   \transpose c a {
 <<
   \common
   \melody
 >>
   }
 }
   }
---CUT---

If the source contains notes written for the instrument in A: 
---CUT---
  \new Staff = "clarinet in A" {
\transposition a {
  \transpose c a {
<<
  \common
  \transpose a c {
\melody
  }
>>
  }
}
  }
---CUT---

Best,
Gilles

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


Re: Question about Transposing: Score vs. Midi Output

2011-07-03 Thread Gilles Sadowski
On Sun, Jul 03, 2011 at 11:27:25AM +0200, Robert Schmaus wrote:
> Hello fellow Lilyponderers,
> 
> I'm currently typesetting a score for Bigband, i.e. lots of
> transposing instruments. I'm writing everything in concert pitch, so
> I can check everything with the midi output. My initial idea was
> that I would transpose the individual instruments into their desired
> key, once I have finished the concert pitch score.
> 
> Recently, I discovered the \transposition command, and had hoped
> that this would actually be an elegant solution: still writing
> everything in concert pitch, but the engraver would set each voice
> in its correct key. So, in the example below, the Tenor would play
> the same note as the bass (modulo octave) but the notes for the
> Tenor would show d. The Midi file, however now has the tenor play
> b-flat.
> So, I still would have to write every instrument in its own key, but
> would have a correct midi output.
> 
> My question is: is there an "inverse" command to \transposition,
> where I can write everything in concert pitch, s.t. the midi output
> will also remain in concert pitch, but the score is actually
> correct?
> An alternative would be to use the right \transpose command for each
> instrument but suppress all \transpose directives for the midi
> output - is that possible?

You only to combine "\transpose" and "\transposition" (see below).

> Thanks a lot.
> Have a nice sunday,
> Robert
> 
> 
> \version "2.14.1"
> 
> Tenor = \relative c'' {
>   \clef treble
>   \transposition bes

\transpose c d {
>   c c c c
}
> }

But see also my post of a few minutes ago (so that the key signature is
correct for the transposed voice).

Best,
Gilles

> 
> Bass = \relative c {
>   \clef bass
>   c c c c
> }
> 
> \score {
>   <<
>   \new Staff \Tenor
>   \new Staff \Bass
>   >>
>   \layout{}
>   \midi{}
> }
> 

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


Re: .sh install

2011-07-03 Thread Phil Holmes
- Original Message - 
From: "Friedrich Fischer" 

To: 
Sent: Thursday, March 31, 2011 8:24 AM
Subject: .sh install



Because of the faster lilypond compilation I prefer puppy-linux.
But since the version 2.13.42 I cannot install lilypond anymore.
As far as version 2.13.41 everything worked perfectly.

Message in terminal:
Untarring lilypond-2.13.56-1.linux-x86.sh
bzip2: (stdin) is not a bzip2 file
tar: Child died with signal 13
tar: Exiting with failure status due to previous errors

Regards ff


I have entered this into the tracker as 
http://code.google.com/p/lilypond/issues/detail?id=1731



--
Phil Holmes



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


Re: sh install (continue Friedrich Fischer's ost by march-april 2011)

2011-07-03 Thread Phil Holmes
- Original Message - 
From: "BARÉ Willy SPRL" 

To: 
Sent: Tuesday, June 28, 2011 8:18 AM
Subject: sh install (continue Friedrich Fischer's ost by march-april 2011)



Hi,

I got the same results as Friedrich Fischer using a fresh install of Puppy 
Linux
(i.e. DPup Squeezed 4.99 which is one of the last release of Puppy Linux ; 
and also tried on Puppy 4.20 which has been released about 2009 - kernel 
is k.2.6.25.16).


results:
--
# md5sum lilypond-2.14.1-1.linux-x86.sh
abc90d2a6d8c1a7132a1b23fc0e3  lilypond-2.14.1-1.linux-x86.sh

# sh lilypond-2.14.1-1.linux-x86.sh
lilypond installer for version 2.14.1 release 1,
i686 build.
For a list of options, ...
...
Making /usr/local/lilypond
Creating script /usr/local/bin/lilypond
Creating script /usr/local/bin/lilypond-wrapper.python
Creating script /usr/local/bin/lilypond-wrapper.guile
Creating script /usr/local/bin/uninstall-lilypond
Untarring lilypond-2.14.1-1.linux-x86.sh
bzip2: (stdin) is not a bzip2 file.
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
To uninstall lilypond, run ...
--

The used version of bunzip2 is 1.0.5
I also used its 1.0.6 version whith the same error message.

Continuing investigation doing:
--
# sh lilypond-2.14.1-1.linux-x86.sh --tarball

lilypond installer for version 2.14.1 release 1,
i686 build.
For a list of options, abort (^C) then do:
sh lilypond-2.14.1-1.linux-x86.sh --help

extracting lilypond-2.14.1-1.linux-x86.tar.bz2
# tar --bzip2 -xvf lilypond-2.14.1-1.linux-x86.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
#
--

Also tried opening the tar.bz2 with Xarchiver: not any file is displayed

Conclusions:
version lilypond-2.13.41.1.linux-x86.sh does install nicely !
but the next 2.13.42 do not; and the last unstable 2.15.2 neither do.

Any idea to fix that?

Thanks for any answer, Charlie



I have entered this into the tracker as 
http://code.google.com/p/lilypond/issues/detail?id=1731


--
Phil Holmes



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


Fwd: hairpin problem?

2011-07-03 Thread Bill Mooney

Hi,
You wrote...
++
Hello-
I am forcing accidentals in a modal piece.  Time signature is 21/8 so
the measures are long.
I wanted to do a multi-measure hairpin (decrescendo) but the hairpin
stopped at the end of the first measure at the forced accidental (!).
1] is there a way around this?
2] is this a bug or really the way it's supposed to work or
3] is the reason it stopped there different from my assumption.
Thanks
Jay
++
...from the NM p106
" A crescendo mark is started with \< and terminated with \!, an
absolute dynamic, or an additional crescendo or decrescendo mark. A
decrescendo mark is started with \> and is also terminated with \!, an
absolute dynamic, or another crescendo or decrescendo mark. \cr and
\decr may be used instead of \< and \>. Hairpins are engraved by default
using this notation.
c2\< c\!
d2\< d\f
e2\< e\>
f2\> f\!
e2\> e\mp
d2\> d\>
c1\!
"
I guess you might have to place the mp, pp, etc as markups - (but these
might not then be seen by midi...?) - if you want the hairpin to extend
across the complete snippet ... from \> to \!

Hope this helps
Regards
Bill

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


Aligning custom-dynamic-scripts using dynamic-string?

2011-07-03 Thread harm6

Hi,

inspired by the Thread 
http://old.nabble.com/Dynamic-%2B-text-aligned%3A-BEST-solution--td31881932.html
"Dynamic + text aligned: BEST solution?"  I tried some definitions using 
http://git.savannah.gnu.org/cgit/opus-libre.git/tree/bin/markup-commands.scm
dynamic-string 
in order to get new custom-dynamic-scripts featering left and right-align
with the first (last) dynamic centered 
on the parent-note.

makeNewDynamicScriptLeft   works fine!
The new defined markup-command dynamicStringRight works well in a common
markup, but trying to use it in makeNewDynamicScriptRight fails!

The log:
att = #
   (makeNewDynamicScriptRight "mp,_quasi_mf_ma più dolce,
attacca_")
Wrong type (expecting character): "mp,_quasi_mf_ma più dolce, attacca_"


I can't see the essential difference between the dynamic-scripts or what's
wrong with dynamicStringRight.
How to improve?

Regards, 

Harm

Please excuse my rusty english!


Code:

\version "2.14.1"

#(define-public (char-punctuation? ch)
 (char-set-contains? char-set:punctuation ch))

#(define-public char-set:dynamics
 (char-set #\f #\m #\p #\r #\s #\z)) 

#(define-markup-command (dynamic-string layout props str) (string?)
  (let ((composite-chars (char-set-union
  char-set:dynamics
  char-set:whitespace
  char-set:punctuation))
(split (lambda (s) (string-index s #\_ )))
(str-list '())
(dyn-markup (lambda (s)   
  (make-whiteout-markup 
(make-dynamic-markup s
(text-markup (lambda (s)
   (make-whiteout-markup
 (make-normal-text-markup
   (make-italic-markup s))
(do ((current-str (string-append str "_")))
((not (split current-str)))
  (begin
(set! str-list
  (append str-list (list
(string-take current-str (split
current-str)
(set! current-str
  (string-drop current-str (+ (split current-str) 1)
(interpret-markup layout props
  (make-line-markup 
   (map (lambda (word)
  (if (string-every composite-chars word)
  (if (string-every char-set:dynamics word)
  (dyn-markup word)
  (let ((word-lst (string->list word)))
(make-concat-markup
 (map (lambda (ch)
(let ((print-ch (string
ch)))
  (if (char-punctuation? ch)
  (text-markup print-ch)
  (dyn-markup
print-ch
  word-lst
  (text-markup word)))
str-list)

#(define-markup-command (dynamicStringRight layout props dyn)(string)
(let* (
 (composite-chars (char-set-union
char-set:dynamics
char-set:whitespace
char-set:punctuation))

 (markUp (markup #:dynamic-string dyn))
 (textStencil (interpret-markup layout props markUp))
 (textExt (ly:stencil-extent textStencil X))
 (textLength (interval-length textExt))
 
 (str-list (string-split dyn #\_))
 (lastPos (car (last-pair str-list)))
 
 (mrkp (if (string-every char-set:dynamics lastPos)
(markup #:dynamic-string lastPos)
(markup #:normal-text #:italic lastPos)))

 (text-Stencil (interpret-markup layout props mrkp))
 (text-Ext (ly:stencil-extent text-Stencil X))
 (text-Length (interval-length text-Ext))

 (alignX (* -1 (- textLength (/ text-Length 2
 )
   (ly:stencil-translate-axis textStencil alignX X )
))

#(define (makeNewDynamicScriptLeft text)
   (make-music 'AbsoluteDynamicEvent
 'tweaks
 (list (cons 'X-offset -1.5))
 'text 
  (markup #:dynamic-string text)))

mpquasimf = #(makeNewDynamicScriptLeft "mp,_quasi_mf_ma più dolce,
attacca_")

#(define (makeNewDynamicScriptRight dyn)
(make-music 'AbsoluteDynamicEvent
 'tweaks
 (list (cons 'X-offset 0))
 'text 
  (markup #:dynamicStringRight dyn)))
 
%att = #(makeNewDynamicScriptRight "mp,_quasi_mf_ma più dolce,
attacca_")

%-- Test
---

\relative c' {
a'1 bes-\markup { \dynamicStringRight #"mp,_quasi_mf_ma più 
dol

Re: hairpin problem?

2011-07-03 Thread Jay Hamilton
Thanks but what I want is one hairpin from the beginning to the end of the
piece not at the end of measure or mp.
Jay

On Sun, Jul 3, 2011 at 1:32 AM, Xavier Scheuer  wrote:

> On 3 July 2011 05:49, Jay Hamilton  wrote:
> >
> > Here you go- thanks Jay
> >
>
> Works fine here with both 2.12.3 and 2.14.1.
> The hairpin ends on the mp measure 2 (I added the  \time 21/8 ).
> Maybe you want  \once \override Hairpin #'to-barline = ##f  but that
> makes almost no difference here (and it is not standard practice).
>
> NB: I also had to remove "\tempo 4=162" form the MIDI block, you should
> use  tempoWholesPerMinute = #(ly:make-moment 162 4)  instead (although
> a tempo at the eighth would make more sense IMHO).
> http://lilypond.org/doc/v2.14/Documentation/notation/midi-block
>
> Cheers,
> Xavier
>
> --
> Xavier Scheuer 
>



-- 
Jay Hamilton Sound and Silence www.soundand.com 206-328-7694
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hairpin problem?

2011-07-03 Thread Jay Hamilton
Ok I've missed that explanation before so thank you.  I don't really care
about the midi so your suggestion is possible (a pain but doable).  Anyone
know of a single line override?
Thanks
Jay

On Sun, Jul 3, 2011 at 4:17 AM, Bill Mooney  wrote:

> Hi,
> You wrote...
> ++
> Hello-
> I am forcing accidentals in a modal piece.  Time signature is 21/8 so the
> measures are long.
> I wanted to do a multi-measure hairpin (decrescendo) but the hairpin
> stopped at the end of the first measure at the forced accidental (!).
> 1] is there a way around this?
> 2] is this a bug or really the way it's supposed to work or
> 3] is the reason it stopped there different from my assumption.
> Thanks
> Jay
> ++
> ...from the NM p106
> " A crescendo mark is started with \< and terminated with \!, an absolute
> dynamic, or an additional crescendo or decrescendo mark. A decrescendo mark
> is started with \> and is also terminated with \!, an absolute dynamic, or
> another crescendo or decrescendo mark. \cr and \decr may be used instead of
> \< and \>. Hairpins are engraved by default using this notation.
> c2\< c\!
> d2\< d\f
> e2\< e\>
> f2\> f\!
> e2\> e\mp
> d2\> d\>
> c1\!
> "
> I guess you might have to place the mp, pp, etc as markups - (but these
> might not then be seen by midi...?) - if you want the hairpin to extend
> across the complete snippet ... from \> to \!
>
> Hope this helps
> Regards
> Bill
>



-- 
Jay Hamilton Sound and Silence www.soundand.com 206-328-7694
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hairpin problem?

2011-07-03 Thread Neil Puttock
On 3 July 2011 15:25, Jay Hamilton  wrote:
> Ok I've missed that explanation before so thank you.  I don't really care
> about the midi so your suggestion is possible (a pain but doable).  Anyone
> know of a single line override?

You could put the decrescendo in a Dynamics context:

\version "2.12.3"
\header {
  title = "21-03"
  % composer = "Jay Hamilton"
  % copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
  %\center-column
  % { "CC lic 2.5 some rights reserved Jay Hamilton 2011"
  % "see http://creativecommons.org/licenses/by-nd/2.5/";
  % } }
}
#(ly:set-option 'delete-intermediate-files #t)
#(set-default-paper-size "letter" 'landscape )
melody = \relative c'
{
  \time 21/8
  g'4.^\markup {\italic "accentuate the silence"}
  b8->_\markup {\italic rall.} [c e]
  dis-> [c b] g4 (g')\breathe e8-> [dis! b']
  e,8-> (dis!4) r

  e4.->\mp g, c r4 r g4.-> e b'4
  r4.\p r c8-> [b g] e16-. r8. dis16-> b'8. e8 [c b] ~
  b4.\breathe g8 [g]

  e8\pp [ dis b'] e, [ c a'] ~ a2\breathe g8 [dis! c] b'
  (e,4) ~ e4\! r4.

  \bar "|."
}
\score {
  <<
\new Staff \melody
\new Dynamics {
  s1*21/8*3\> s1*17/8 s8\!
}
  >>
  \layout {ragged-right=##t}
  \midi {  }
}

Cheers,
Neil

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


Re: hairpin problem?

2011-07-03 Thread Urs Liska
I think you will get what you want if you put the hairpin in a separate 
Dynamics context. This way it doesn't care for the other dynamics items.

Maybe ...

Grr - Neil was faster ...

Am 03.07.2011 16:25, schrieb Jay Hamilton:
Ok I've missed that explanation before so thank you.  I don't really 
care about the midi so your suggestion is possible (a pain but 
doable).  Anyone know of a single line override?

Thanks
Jay

On Sun, Jul 3, 2011 at 4:17 AM, Bill Mooney > wrote:


Hi,
You wrote...
++
Hello-
I am forcing accidentals in a modal piece.  Time signature is 21/8
so the measures are long.
I wanted to do a multi-measure hairpin (decrescendo) but the
hairpin stopped at the end of the first measure at the forced
accidental (!).
1] is there a way around this?
2] is this a bug or really the way it's supposed to work or
3] is the reason it stopped there different from my assumption.
Thanks
Jay
++
...from the NM p106
" A crescendo mark is started with \< and terminated with \!, an
absolute dynamic, or an additional crescendo or decrescendo mark.
A decrescendo mark is started with \> and is also terminated with
\!, an absolute dynamic, or another crescendo or decrescendo mark.
\cr and \decr may be used instead of \< and \>. Hairpins are
engraved by default using this notation.
c2\< c\!
d2\< d\f
e2\< e\>
f2\> f\!
e2\> e\mp
d2\> d\>
c1\!
"
I guess you might have to place the mp, pp, etc as markups - (but
these might not then be seen by midi...?) - if you want the
hairpin to extend across the complete snippet ... from \> to \!

Hope this helps
Regards
Bill




--
Jay Hamilton Sound and Silence www.soundand.com 
 206-328-7694



___
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: hairpin problem?

2011-07-03 Thread Jay Hamilton
That produced a new staff (with no other content) with the hairpin below it
so exciting but not the kind of solution I can use.
Thanks

On Sun, Jul 3, 2011 at 7:30 AM, Neil Puttock  wrote:

> On 3 July 2011 15:25, Jay Hamilton  wrote:
> > Ok I've missed that explanation before so thank you.  I don't really care
> > about the midi so your suggestion is possible (a pain but doable).
>  Anyone
> > know of a single line override?
>
> You could put the decrescendo in a Dynamics context:
>
> \version "2.12.3"
> \header {
>  title = "21-03"
>  % composer = "Jay Hamilton"
>  % copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
>  %\center-column
>  % { "CC lic 2.5 some rights reserved Jay Hamilton 2011"
>  % "see http://creativecommons.org/licenses/by-nd/2.5/";
>  % } }
> }
> #(ly:set-option 'delete-intermediate-files #t)
> #(set-default-paper-size "letter" 'landscape )
> melody = \relative c'
> {
>  \time 21/8
>  g'4.^\markup {\italic "accentuate the silence"}
>  b8->_\markup {\italic rall.} [c e]
>  dis-> [c b] g4 (g')\breathe e8-> [dis! b']
>  e,8-> (dis!4) r
>
>  e4.->\mp g, c r4 r g4.-> e b'4
>  r4.\p r c8-> [b g] e16-. r8. dis16-> b'8. e8 [c b] ~
>  b4.\breathe g8 [g]
>
>  e8\pp [ dis b'] e, [ c a'] ~ a2\breathe g8 [dis! c] b'
>  (e,4) ~ e4\! r4.
>
>  \bar "|."
> }
> \score {
>  <<
>\new Staff \melody
>\new Dynamics {
>  s1*21/8*3\> s1*17/8 s8\!
>}
>  >>
>  \layout {ragged-right=##t}
>  \midi {  }
> }
>
> Cheers,
> Neil
>



-- 
Jay Hamilton Sound and Silence www.soundand.com 206-328-7694
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: hairpin problem?

2011-07-03 Thread harm6


Jay Hamilton-3 wrote:
> 
> That produced a new staff (with no other content) with the hairpin below
> it
> so exciting but not the kind of solution I can use.
> Thanks
> 

Is this output satisfying?

Cheers,
  Harm

\version "2.12.3"
\header {
  title = "21-03"
  % composer = "Jay Hamilton"
  % copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
  %\center-column
  % { "CC lic 2.5 some rights reserved Jay Hamilton 2011"
  % "see http://creativecommons.org/licenses/by-nd/2.5/";
  % } }
}
#(ly:set-option 'delete-intermediate-files #t)
#(set-default-paper-size "letter" 'landscape )
melody = \relative c'
{
  \time 21/8
  g'4.^\markup {\italic "accentuate the silence"}
  b8->_\markup {\italic rall.} [c e]
  dis-> [c b] g4 (g')\breathe e8-> [dis! b']
  e,8-> (dis!4) r

  e4.->\mp g, c r4 r g4.-> e b'4
  r4.\p r c8-> [b g] e16-. r8. dis16-> b'8. e8 [c b] ~
  b4.\breathe g8 [g]

  e8\pp [ dis b'] e, [ c a'] ~ a2\breathe g8 [dis! c] b'
  (e,4) ~ e4\! r4.

  \bar "|."
}
%{
\score {
  <<
\new Staff \melody
\new Dynamics {
  s1*21/8*3\> s1*17/8 s8\!
}
  >>
  \layout {ragged-right=##t}
  \midi {  }
} 
%}

dynamics = {
  s1*21/8*3\> s1*17/8 s8\!
}

\score {
  <<
  \new Staff <<{\melody}\\{\dynamics}>>

  >>
  \layout {ragged-right=##t}
  \midi {  }
} 

-- 
View this message in context: 
http://old.nabble.com/hairpin-problem--tp31980093p31983992.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: hairpin problem?

2011-07-03 Thread Kieren MacMillan
Hi Jay,

> That produced a new staff (with no other content) with the hairpin below it 
> so exciting but not the kind of solution I can use.

It worked fine here…
Maybe you need to upgrade to 2.14?

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


Re: hairpin problem?

2011-07-03 Thread harm6


Jay Hamilton-3 wrote:
> 
> That produced a new staff (with no other content) with the hairpin below
> it
> so exciting but not the kind of solution I can use.
> Thanks
> 

Tweaking the rests is also necessary! 

Cheers,
  Harm

\version "2.12.3"
\header {
  title = "21-03"
  % composer = "Jay Hamilton"
  % copyright = \markup { \tiny \override #'(baseline-skip . 0.5)
  %\center-column
  % { "CC lic 2.5 some rights reserved Jay Hamilton 2011"
  % "see http://creativecommons.org/licenses/by-nd/2.5/";
  % } }
}
#(ly:set-option 'delete-intermediate-files #t)
#(set-default-paper-size "letter" 'landscape )
melody = \relative c'
{
  \time 21/8
  \stemNeutral
  \override Voice.Rest #'staff-position = #0
  g'4.^\markup {\italic "accentuate the silence"}
  b8->_\markup {\italic rall.} [c e]
  dis-> [c b] g4 (g')\breathe e8-> [dis! b']
  e,8-> (dis!4) r

  e4.->\mp g, c r4 r g4.-> e b'4
  r4.\p r c8-> [b g] e16-. r8. dis16-> b'8. e8 [c b] ~
  b4.\breathe g8 [g]

  e8\pp [ dis b'] e, [ c a'] ~ a2\breathe g8 [dis! c] b'
  (e,4) ~ e4\! r4.

  \bar "|."
}
%{
\score {
  <<
\new Staff \melody
\new Dynamics {
  s1*21/8*3\> s1*17/8 s8\!
}
  >>
  \layout {ragged-right=##t}
  \midi {  }
}
%}

dynamics = {
  s1*21/8*3\> s1*17/8 s8\!
}

\score {
  <<
  \new Staff <<{\melody}\\{\dynamics}>>

  >>
  \layout {ragged-right=##t}
  \midi {  }
} 

-- 
View this message in context: 
http://old.nabble.com/hairpin-problem--tp31980093p31984178.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: how to make the three dots for triple tonguing

2011-07-03 Thread Neil Puttock
On 1 July 2011 22:15, Xavier Scheuer  wrote:

> PS: That certainly deserves a snippet in the LSR.
> I'll add it next week unless Jay does it before.

http://lsr.dsi.unimi.it/LSR/Item?u=1&id=772

(tweaked and simplified a bit)

Cheers,
Neil

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


Re: Set accidental style in the layout block

2011-07-03 Thread Bill Mooney

Hi Kieren,
You wrote...
++
Hello all,
Since \with blocks can now contain variables, maybe someone should put 
together

all of the options and submit a patch?
Then it wouldn't involve more typing.
;)
Cheers,
Kieren.
++
Unfortunately such an exercise is beyond my abilities. :(
I am impressed by LP's capabilities in general, and it's ability to do 
something in several different ways... -but that must make compiling a 
user-friendly 'Manual' something of a head-ache -added to which is LP's 
'extensibility' if one is prepared, and able, to get into the 
programming side of things. I must admit that, in the few projects I've 
undertaken (notating hand-written polyphony for choir use), I've made 
considerable use of the templates in the Manuals, and applied such 
tweaks as have been necessary, with recourse, from time to time, to help 
from the List community.

Regards
Bill


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


Re: Set accidental style in the layout block

2011-07-03 Thread Kieren MacMillan
Hi Bill,

> Unfortunately such an exercise is beyond my abilities. :(

Well, for the archive, here's a quick stab at a few:

\version "2.15.3"

\layout { indent = 1.2\in }

accidentalsDefault = \with {
  skipBars = ##t
  extraNatural = ##f
  autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave 0))
}
accidentalsVoice = \with {
  skipBars = ##t
  extraNatural = ##f
  autoAccidentals = #`(Voice ,(make-accidental-rule 'same-octave 0))
}
accidentalsModern = \with {
  skipBars = ##t
  extraNatural = ##f
  autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave 0)
 ,(make-accidental-rule 'any-octave 0)
 ,(make-accidental-rule 'same-octave 1))
}
accidentalsDodecaphonic = \with {
  skipBars = ##t
  extraNatural = ##f
  autoAccidentals = #`(Staff ,(lambda (c p bn mp) '(#f . #t)))
}
accidentalsForget = \with {
  skipBars = ##t
  extraNatural = ##f
  autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave -1))
}
accidentalsNoReset = \with {
  skipBars = ##t
  extraNatural = ##f
  autoAccidentals = #`(Staff ,(make-accidental-rule 'same-octave #t))
}

theNotes = \relative c' {
  c8 fis bes aes a aes a aes
  eis8 f fis g ges a ges g
}

\score {
  <<
\new Staff \with { instrumentName = "Default" \accidentalsDefault } 
\theNotes
\new Staff \with { instrumentName = "Forget" \accidentalsForget } \theNotes
\new Staff \with { instrumentName = "Modern" \accidentalsModern } \theNotes
\new Staff \with { instrumentName = "NoReset" \accidentalsNoReset } 
\theNotes
\new Staff \with { instrumentName = "Dodecaphonic" \accidentalsDodecaphonic 
} \theNotes
  >>
}

Hopefully someone with more time than I currently have will grab the ball and 
run with it.

Hope this helps!
Kieren.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user