Re: Piano score, pedal problem

2017-03-09 Thread Kieren MacMillan
Hi Robert,

> It is strange that I have not been able to find "\set 
> Dynamics.pedalSustainStyle = #'text", or, for thet matter, "\set 
> Staff.pedalSustainStyle = #'text" anywhere in the documentation.
> Would it be worth while to add a snippet for this? 

Is the description on 


“There are three styles of pedal indications: text, bracket, and mixed. The 
sustain pedal and the una corda pedal use the text style by default while the 
sostenuto pedal uses mixed by default.”

somehow insufficient?

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: Piano score, pedal problem

2017-03-09 Thread Robert Blackstone
Hi Andrew,

Thank you very much for solving my two problems with one magic formula. 

It is strange that I have not been able to find "\set 
Dynamics.pedalSustainStyle = #'text", or, for thet matter, "\set 
Staff.pedalSustainStyle = #'text" anywhere in the documentation.

Would it be worth while to add a snippet for this? 

Best regards,

Robert 



On 9 Mar 2017, at 13:35 , Andrew Bernard  wrote:

> Hi Robert,
> 
>  \set Dynamics.pedalSustainStyle = #'text
> 
> Use Staff if using Staff context, naturally.
> 
> Andrew
> 
> ___
> 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: Piano score, pedal problem

2017-03-09 Thread Andrew Bernard
Hi Robert,

 \set Dynamics.pedalSustainStyle = #'text

Use Staff if using Staff context, naturally.

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


Piano score, pedal problem

2017-03-09 Thread Robert Blackstone
Dear all,

I have run into two problems with pedal indications in a piano score.

The score I am working on has different pedal marks: the "common" type: Ped  
closing with an astrisk, and the bracketed form, starting when I write "\set 
Staff.pedalSustainStyle = #'mixed".

Problem 1: how can I get back to the other pedal marking? The Notation 
Reference does not tell me and Learning does not contain the word "sustain" or 
"\sustainOn" and uses the word Pedal only for Organ music.
Problem 2: I want to specify pedal markings in a separate dynamics context, but 
while the"common" type works well, the bracketed type does not. When I enter 
"\set Staff.pedalSustainStyle = #'mixed", nothing  appears. So I have left that 
out in the second version of the example below, since it does throw in some 
spurious elements whwn rpocessed with Frescobaldi (I normally use TeXShop which 
is more forgiving.)

Here are two examples that will show the problems. The melody is taken from 
http://lilypond.org/doc/v2.18/Documentation/notation/piano, Piano pedals, 
but given twice in each example to enable illustrating problem 1.

%%

%\version "2.18.2"
\version "2.19.54.1"

 %Version 1
bassLine = {
\clef "bass" \key c \major \time 4/4

c4\sustainOn g c2\sustainOff | % 1
\set Staff.pedalSustainStyle = #'mixed
c4\sustainOn g c d | % 2
d\sustainOff\sustainOn g c2\sustainOff | % 3
\once \set Staff.pedalSustainStyle = #'bracket
c4\sustainOn g c d | % 4
d\sustainOff\sustainOn g c2 | % 5
c4\sustainOn g c2\sustainOff | % 6
\set Staff.pedalSustainStyle = #'mixed
c4\sustainOn g c d | % 7
d\sustainOff\sustainOn g c2\sustainOff | % 8
\set Staff.pedalSustainStyle = #'bracket
c4\sustainOn g c d | % 9
d\sustainOff\sustainOn g c2 \bar "|." | %10
}

pedal = {
}

\score {
\new Staff = "lower" 
<< 
\newVoice = "bassLine"  \bassLine   
 %\new Dynamics = "pedal" \pedal
>>  

  }
 

%Version 2

bassLine = {
\clef "bass" \key c \major \time 4/4


c4 g c2 | % 1
\set Staff.pedalSustainStyle = #'mixed
c4 g c d | % 2
d g c2 | % 3
\set Staff.pedalSustainStyle = #'bracket
c4 g c d | % 4
d g c2 | % 5
c4 g c2 | % 6
\set Staff.pedalSustainStyle = #'mixed
c4 g c d | % 7
d g c2 | % 8
\set Staff.pedalSustainStyle = #'bracket
c4 g c d | % 9
d g c2 \bar "|." | %10
}

pedal = {
s4\sustainOn s4 s2\sustainOff | % Ped 1
s4\sustainOn s4 s4 s4 | % Ped 2
s4\sustainOff\sustainOn s4 s2\sustainOff | % Ped 3
s4\sustainOn s4 s4 s4 | % Ped 4
s4\sustainOff\sustainOn s4 s2 | % Ped 5
s4\sustainOn s4 s2\sustainOff | % Ped 6
s4\sustainOn s4 s4 s4 | % Ped 7
s4\sustainOff\sustainOn s4 s2\sustainOff | % Ped 8
s4\sustainOn s4 s4 s4 | % Ped 9
s4\sustainOff\sustainOn s4 s4 s4 | % Ped 10


}

\score {
\new Staff = "lower" 
<< 
\newVoice = "bassLine"  \bassLine   
 \new Dynamics = "pedal" \pedal
>>  

  }

%%%

Any suggestions?

Thanks in advance.

Best regards,
Robert Blackstone___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Pedal problem

2009-05-15 Thread Mark Polesky
gnomino wrote:
 However, the pedal bracket appears disjointed
 and uneven. Is there any way I can fix this?

Here's one way of doing it. Off hand, I don't 
know if there's a more elegant solution, but 
there might be. Anyway, the idea for this comes
from this snippet:
http://lilypond.org/doc/v2.13/input/lsr/lilypond-snippets/Expressive-marks#Piano-template-with-centered-dynamics

Basically I just replaced Dynamics with Pedals
and removed unnecessary lines.

HTH.
- Mark



  \version 2.13.0

\layout {
% define Pedals context
\context {
  \type Engraver_group
  \name Pedals
  \consists Output_property_engraver
  \consists Piano_pedal_engraver
  \consists Script_engraver
  \consists Skip_event_swallow_translator
  \consists Axis_group_engraver

  pedalSustainStrings = #'(Ped. *Ped. *)
  pedalUnaCordaStrings = #'(una corda  tre corde)
  \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1)
  pedalSustainStyle = #'bracket
}
% modify PianoStaff context to accept Pedals context
\context {
  \PianoStaff
  \accepts Pedals
}
  }

susOn = \sustainOn
susOff = \sustainOff

\new PianoStaff 
\new Staff {
  c'4 c' c' c'
}
\new Staff {
  \times 4/6 { c'4 c' c' c' c' c' }
}
\new Pedals {
  s4\susOn s\susOff\susOn s\susOff\susOn s\susOff\susOn
}
attachment: pedal-bracket.png___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Pedal problem

2009-05-15 Thread gnomino
 not top-posting

Hello,

I'm trying to typeset two staves with different rhythms and pedalling that
starts/stops on the notes in the top staff, but appears below the second staff.
I tried the following:

\new PianoStaff 
\new Staff {
c'4 c'4 c'4 c'4
}
\new Staff 
\set Staff.pedalSustainStyle = #'bracket
\times 4/6 { c'4 c'4 c'4 c'4 c'4 c'4 }
{ s4\sustainOn s4\sustainOff\sustainOn s4\sustainOff\sustainOn
s4\sustainOff\sustainOn }



However, the pedal bracket appears disjointed and uneven. Is there any way I can
fix this?

(I'm using 2.13.0)

Thanks in advance.




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


musicglyph for pedal, problem with e-mail

2008-01-24 Thread stef . thomas
Dear Lilypond users,
after the last e-mails I got always replies like this. What does it mean?
Sorry for boring You with this question, which has nothing to do with lilypond 
itself.
- weitergeleitete Nachricht -


Subject: The results of your email commands
Date: Do 24 Jan 2008 15:42:30 CET
From: [EMAIL PROTECTED]

 The results of your email command are provided below. Attached is your
 original message.
 
 
 - Unprocessed:
 because I'm not convinced of the pedaltremolo with the trill line, I
 want t=
 o create a new symbol for this as a text spanner. Does soemone know,
 which =
 musicglyph is the pedal-symbol in the Emmentaler-Font? I didn't find
 that i=
 n the manual! I tried it with
 textSpannerDown
 override TextSpanner #'bound-details #'left #'text =3D
 markup { musicglyph #pedal }=20
 override TextSpanner #'style =3D #'zigzag
 without success.
 Thanks for Your help.
 Stefan=0A=0A=0A=0AUnbegrenzter Speicher, Top-Spamschutz, 120 SMS und
 eigene=
  E-MailDomain
 inkl.=0Ahttp://office.freenet.de/dienste/emailoffice/produktu=
 ebersicht/power/mail/index.html=0A
 
 - Done.
 
 



 weitergeleitete Nachricht Ende 




Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html



Nachricht_2.msg
Description: 
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: musicglyph for pedal, problem with e-mail

2008-01-24 Thread Francisco Vila
2008/1/24, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Dear Lilypond users,
 after the last e-mails I got always replies like this. What does it mean?
 Sorry for boring You with this question, which has nothing to do with 
 lilypond itself.
 - weitergeleitete Nachricht -


 Subject: The results of your email commands
 Date: Do 24 Jan 2008 15:42:30 CET
 From: [EMAIL PROTECTED]

  The results of your email command are provided below. Attached is your
  original message.
 
 
  - Unprocessed:
  because I'm not convinced of the pedaltremolo with the trill line, I

This is a response to a message from you, sent to
[EMAIL PROTECTED] (note the -request part) which is not
the address of the list, but the address of the list server. The
server accepts commands by email such as subscribe or unsuscribe and
does not understand or process anything else.

The list address is lilypond-user@gnu.org, finally you have figured
out the correct one and that's why we are reading at you.
-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


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