Re: articulate.ly with rall not working?

2012-03-15 Thread Peter Chubb
 Malte == Malte Meyn malte.m...@studium.uni-erlangen.de writes:

Malte On 13.03.2012 03:52, Peter Chubb wrote:
 Thomas == Thomas Morley thomasmorle...@googlemail.com
 writes:
 
Malte Hm. I see two problems: 1. Did I understand right, that -rall
Malte changes the tempo in a single step? That’s more like “subito
Malte meno mosso” than “rallentando”, isn’t it?.  

Yes but it's as close as I can get wihtout a LOT more work.

2. \set
Malte tempoWholesPerMinute doesn’t have any effect in the midi
Malte output.  Is that a bug or a misunderstanding? I use Lilypond
Malte 2.14.2-1 Linux 64.

It worked before feb last year.
--
Dr Peter Chubb  peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au  Software Systems Research Group/NICTA

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


Re: articulate.ly with rall not working?

2012-03-14 Thread David Kastrup
Peter Chubb peter.ch...@nicta.com.au writes:

 Looks like there's been a semantic change in Lilypond.

 It used to be you could  
\set tempoWholesPerMinute = 60
 or similar anywhere in the Lilypond input and the result would be a
 tempo change at that point.  It looks as if now there's a different
 event, TempoChangeEvent, that does the work.

 I'll have a go at changing articulate to fix this.

The information is still in tempoWholesPerMinute I think, it is just
that you need a tempoChangeEvent to get it to the Midi.

-- 
David Kastrup


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


Re: articulate.ly with rall not working?

2012-03-14 Thread Malte Meyn
On 13.03.2012 03:52, Peter Chubb wrote:
 Thomas == Thomas Morley thomasmorle...@googlemail.com writes:
 
 Thomas \version 2.14.2 \include articulate.ly
 
 Thomas \score { \unfoldRepeats \articulate  \relative c' { c8-. d-.
 Thomas e-.  f-.  g-.-rall f-.  e-.  d-.  c-.  d-.  e-.  f-.  g-.
 Thomas f-.  e-.  d-.  c1-.  }

 Thomas   \midi { } }
 
 The rallentendo actually does happen, but at the tempo you're going, it's not
 paticularly deep.
 
 If I add a \displayLilyMusic before the \unfoldRepeats I see:
 
  {
  { c'8*1/2 r } { d' r } { e' r } { f' r } { \set tempoWholesPerMinute = 
 #(ly:make-moment 9 1 0 1)
 
 
{ g'-rall  r } } { f' r } { e' r } { d' r } { c' r } { d' r } { e' r 
 } { f' r } { g' r } { f' r } { e' r } { d' r } { c'1*1/2 r } 
} 
 
 
 Note the setting of tempoWholesPerMinute.  This corresponds to a 40% slowdown.
 The default is MM crotchet=60, this should slow down to about MM
 crotchet=36.  However, note this is the *only* tempo adjustment ---
 you need to start with a tempo.
 
 I suggest
 \version 2.14.2
 \include articulate.ly
 
 \score {
 \displayLilyMusic\unfoldRepeats \articulate
 
  \relative c' {
  \set tempoWholesPerMinute = #(ly:make-moment 4 80)
  c8-. d-.  e-.  f-.
 g-.-rall f-.  e-.  d-.
  c-.  d-.  e-.  f-.
  g-.  f-.  e-.  d-.
  c1-.
 }
   
   \midi { }
 }
 
 --
 Dr Peter Chubbpeter.chubb AT 
 nicta.com.au
 http://www.ssrg.nicta.com.au  Software Systems Research Group/NICTA
 
Hm. I see two problems:
1. Did I understand right, that -rall changes the tempo in a single
step? That’s more like “subito meno mosso” than “rallentando”, isn’t it?.
2. \set tempoWholesPerMinute doesn’t have any effect in the midi output.
Is that a bug or a misunderstanding? I use Lilypond 2.14.2-1 Linux 64.

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


Re: articulate.ly with rall not working?

2012-03-13 Thread Peter Chubb
 Thomas == Thomas Morley thomasmorle...@googlemail.com writes:

Thomas \version 2.14.2 \include articulate.ly

Thomas \score { \unfoldRepeats \articulate  \relative c' { c8-. d-.
Thomas e-.  f-.  g-.-rall f-.  e-.  d-.  c-.  d-.  e-.  f-.  g-.
Thomas f-.  e-.  d-.  c1-.  }
 
Thomas   \midi { } }

The rallentendo actually does happen, but at the tempo you're going, it's not
paticularly deep.

If I add a \displayLilyMusic before the \unfoldRepeats I see:

 {
 { c'8*1/2 r } { d' r } { e' r } { f' r } { \set tempoWholesPerMinute = 
#(ly:make-moment 9 1 0 1)


   { g'-rall  r } } { f' r } { e' r } { d' r } { c' r } { d' r } { e' r } 
{ f' r } { g' r } { f' r } { e' r } { d' r } { c'1*1/2 r } 
   } 


Note the setting of tempoWholesPerMinute.  This corresponds to a 40% slowdown.
The default is MM crotchet=60, this should slow down to about MM
crotchet=36.  However, note this is the *only* tempo adjustment ---
you need to start with a tempo.

I suggest
\version 2.14.2
\include articulate.ly

\score {
\displayLilyMusic\unfoldRepeats \articulate

 \relative c' {
 \set tempoWholesPerMinute = #(ly:make-moment 4 80)
 c8-. d-.  e-.  f-.
g-.-rall f-.  e-.  d-.
 c-.  d-.  e-.  f-.
 g-.  f-.  e-.  d-.
 c1-.
}
  
  \midi { }
}

--
Dr Peter Chubb  peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au  Software Systems Research Group/NICTA

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


Re: articulate.ly with rall not working?

2012-03-13 Thread Thomas Morley
2012/3/13 Peter Chubb peter.ch...@nicta.com.au:
 If I add a \displayLilyMusic before the \unfoldRepeats I see:

  {
     { c'8*1/2 r } { d' r } { e' r } { f' r } { \set tempoWholesPerMinute = 
 #(ly:make-moment 9 1 0 1)


       { g'-rall  r } } { f' r } { e' r } { d' r } { c' r } { d' r } { e' r 
 } { f' r } { g' r } { f' r } { e' r } { d' r } { c'1*1/2 r }
   } 


 Note the setting of tempoWholesPerMinute.  This corresponds to a 40% slowdown.
 The default is MM crotchet=60, this should slow down to about MM
 crotchet=36.  However, note this is the *only* tempo adjustment ---
 you need to start with a tempo.

 I suggest
 \version 2.14.2
 \include articulate.ly

 \score {
 \displayLilyMusic        \unfoldRepeats \articulate
        
     \relative c' {
         \set tempoWholesPerMinute = #(ly:make-moment 4 80)
             c8-. d-.  e-.  f-.
            g-.-rall f-.  e-.  d-.
             c-.  d-.  e-.  f-.
             g-.  f-.  e-.  d-.
             c1-.
    }
  
  \midi { }
 }

 --
 Dr Peter Chubb                                  peter.chubb AT nicta.com.au
 http://www.ssrg.nicta.com.au          Software Systems Research Group/NICTA

Hi,

thanks for your reply. But playing around with various tempo-settings
I never heard a rallentando.

This code:

\version 2.14.2
\include articulate.ly

\score {
\displayLilyMusic
\unfoldRepeats \articulate
 
   \relative c' {
   \tempo 4=180
   %\set tempoWholesPerMinute = #(ly:make-moment 4 80)

  c8-. d-.  e-.  f-.
  g-.-rall f-.  e-.  d-.
  c-.  d-.  e-.  f-.
  g-.  f-.  e-.  d-.
  c1-.
   }
 
 \midi {
%\context {
%\Score
%tempoWholesPerMinute = #(ly:make-moment 180 4)
%}
 }
}

displays

 {
 \tempo 4 = 180
 { c'8*1/2 r } { d' r } { e' r } { f' r } { \set
tempoWholesPerMinute = #(ly:make-moment 27 1 0 1)


   { g'-rall  r } } { f' r } { e' r } { d' r } { c' r } { d' r }
{ e' r } { f' r } { g' r } { f' r } { e' r } { d' r } { c'1*1/2 r }
   } 

with no noticeable difference (apart from the staccatti) to a code
without articulate.ly
Midi attached.

Any idea?


Cheers,
   Harm


articulate-test-01.midi
Description: MIDI audio
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: articulate.ly with rall not working?

2012-03-13 Thread Peter Chubb
Looks like there's been a semantic change in Lilypond.

It used to be you could  
   \set tempoWholesPerMinute = 60
or similar anywhere in the Lilypond input and the result would be a
tempo change at that point.  It looks as if now there's a different
event, TempoChangeEvent, that does the work.

I'll have a go at changing articulate to fix this.
--
Dr Peter Chubb  peter.chubb AT nicta.com.au
http://www.ssrg.nicta.com.au  Software Systems Research Group/NICTA

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