decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 17:03, fabio gabbianelli ha scritto:

i have this problem
(De)crescendo with unspecified starting volume in MIDI.
   r1 s8 r1 s8 r1 s8 r1 s8 g4.
  \_\markup {\line
i think it's refer to  \   how i can specified the starting volume in midi? 
i try to find in the documentation but i don't.!


Ok, I can reproduce the error (see attached minimal example).

In the doc it's explained only how to set minimum and maximum Midi volume:
http://lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics

I have no clue about how to set the starting volume of a decrescendo.
\version 2.16.0

music =  \relative c' {
  c2\ c\!
}

\score {
  \new Staff \music
  \layout{}
  \midi{
%{\context {
  \Score
  midiMinimumVolume = #0.2
  midiMaximumVolume = #0.5
%}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Marc Hohl

Am 28.08.2012 18:47, schrieb Federico Bruni:

Il 28/08/2012 17:03, fabio gabbianelli ha scritto:

i have this problem
(De)crescendo with unspecified starting volume in MIDI.
   r1 s8 r1 s8 r1 s8 r1 s8 g4.
  \_\markup {\line
i think it's refer to  \   how i can specified the starting volume 
in midi? i try to find in the documentation but i don't.!


Ok, I can reproduce the error (see attached minimal example).

In the doc it's explained only how to set minimum and maximum Midi 
volume:
http://lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics 



I have no clue about how to set the starting volume of a decrescendo.

In this respact, Lilypond is as clever as any musician - if there is no
dynamic sign, from which loudness should one start the decrescendo?

As Phil pointed out already, inserting a \p or \mf or any other dynamic sign
should do the trick:

c\mf c\ c c c\!

Regards,

Marc


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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 19:42, Marc Hohl ha scritto:

In this respact, Lilypond is as clever as any musician - if there is no
dynamic sign, from which loudness should one start the decrescendo?



ok


As Phil pointed out already, inserting a \p or \mf or any other dynamic
sign
should do the trick:

c\mf c\ c c c\!


I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)

--
Federico
\version 2.16.0

\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.00) (* mm 1))
  line-width = 160\mm - 2.0 * 10.16\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.00) (* mm 1))
}

\layout {
  
}



\relative c''
{


% 
% ly snippet contents follows:
% 
c2\ c\!
d2\ d\f
e2\ e\
f2\ f\!
e2\ e\mp
d2\ d\
c1\!



% 
% end ly snippet
% 
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 20:06, Federico Bruni ha scritto:

I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)


nevermind, it's a bug in recent master:

GNU LilyPond 2.16.0
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 
In expression (quasiquote (# # # ...)):
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 
Unbound variable: ly:grob::vertical-skylines-from-element-stencils


Maybe Mike is interested in it...

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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 20:09, Federico Bruni ha scritto:

Il 28/08/2012 20:06, Federico Bruni ha scritto:

I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)


nevermind, it's a bug in recent master:

GNU LilyPond 2.16.0
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3:
In expression (quasiquote (# # # ...)):
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3:
Unbound variable: ly:grob::vertical-skylines-from-element-stencils

Maybe Mike is interested in it...


Ooops, sorry again: no bug, just me making a mess with versions and builds.
It compiles ok in 2.17.1


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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Marc Hohl

Am 28.08.2012 20:23, schrieb Federico Bruni:

Il 28/08/2012 20:09, Federico Bruni ha scritto:

Il 28/08/2012 20:06, Federico Bruni ha scritto:

I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)


nevermind, it's a bug in recent master:

GNU LilyPond 2.16.0
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 


In expression (quasiquote (# # # ...)):
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 


Unbound variable: ly:grob::vertical-skylines-from-element-stencils

Maybe Mike is interested in it...


Ooops, sorry again: no bug, just me making a mess with versions and 
builds.

It compiles ok in 2.17.1

Ah, ok, I was about to writing that I can compile the snippet without
problems on my machine and 2.17.1.

Marc



___
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: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Keith OHara
James Harkins jamshark70 at gmail.com writes:

 it's impossible to calculate without both the starting and ending dynamic.
 
 Or has the logic been improved so that ending a decrescendo with \! now
 guesses an ending dynamic that is somewhat softer by some invisibly 
 determined amount?


Heikki posted some improvements here
 http://lists.gnu.org/archive/html/lilypond-devel/2012-07/msg00441.html
which were included in version 2.16

So LilyPond does guess sometimes.  His patch gives warnings when he thought
it might be surprising LilyPond made a guess, but maybe the confusion
caused by the warning is more trouble than the help.

Fabio,  
LilyPond starts your decrescendo in the middle of the dynamic range.
The warning is only to tell you that LilyPond made a guess about the 
starting dynamic.  If you are happy with the results, you need do nothing
about the warning.  


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