Re: Dynamics & simultaneous notes yield "programming error"

2016-09-01 Thread Simon Albrecht

Hi Joel,

it looks like this hasn’t been answered yet. I can’t reproduce the bug 
on Ubuntu, but could you make a minimal example 
 and report on the bug list? 
There was recent development in that field, so it would be perfect if 
you could narrow down around which version the problem first occurred.


Best, Simon

On 28.08.2016 17:52, Joel C. Salomon wrote:

Compiling the attached file yields errors of the sort


programming error: asked to compute volume at +1.00 for dynamic span of 
duration 1.00 starting at 1
continuing, cross fingers

If I replace the construct

 << { \voiceOne
 a1 |
 } \new Voice { \voiceTwo
 a,1 |
 } >> \oneVoice |

with

 << {a1} \\ {a,1} >>

this error goes away.

Can someone please explain what I’m doing wrong here?

—Joel C. Salomon


___
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: Dynamics & simultaneous notes yield "programming error"

2016-08-29 Thread Joel C. Salomon
Yesterday, I wrote:
> Compiling the attached file (Lilypond 2.19.46, Windows 10) yields errors of 
> the sort
>
>> programming error: asked to compute volume at +1.00 for dynamic span of 
>> duration 1.00 starting at 1
>> continuing, cross fingers

Okay, this is interesting. If I replace

dynamics = {
s1\p|
s1*2
\bar "|."
}

(slightly simplified from my example, but still displaying the problem) with

dynamics = {
s1\p|
s1  |
s1\f|
\bar "|."
}

then the “programming error:” message goes away.

—Joel C. Salomon

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


Re: Dynamics & simultaneous notes yield "programming error"

2016-08-28 Thread Anders Eriksson

On 2016-08-28 17:52, Joel C. Salomon wrote:

Compiling the attached file yields errors of the sort


programming error: asked to compute volume at +1.00 for dynamic span of 
duration 1.00 starting at 1
continuing, cross fingers



Don't know why but the error occurs when the midi is created!

MIDI output to `programming_error.mid'...Track...

[0]

[1

programming error: asked to compute volume at +1.00 for dynamic span 
of duration 1.00 starting at 1


continuing, cross fingers

programming error: asked to compute volume at +1.00 for dynamic span 
of duration 1.00 starting at 1


continuing, cross fingers

]


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


Re: Dynamics & simultaneous notes yield "programming error"

2016-08-28 Thread Joel C. Salomon
On Aug 28, 2016 12:07 PM, "Phil Holmes"  wrote:
> Which version of Lilypond, which operating system?

2.19.46 on Windows 10.

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


Re: Dynamics & simultaneous notes yield "programming error"

2016-08-28 Thread Phil Holmes

Which version of Lilypond, which operating system?

--
Phil Holmes


- Original Message - 
From: "Joel C. Salomon" <joelcsalo...@gmail.com>

To: "LilyPond Users" <lilypond-user@gnu.org>
Sent: Sunday, August 28, 2016 4:52 PM
Subject: Dynamics & simultaneous notes yield "programming error"


Compiling the attached file yields errors of the sort

programming error: asked to compute volume at +1.00 for dynamic span 
of duration 1.00 starting at 1

continuing, cross fingers


If I replace the construct

   << { \voiceOne
   a1 |
   } \new Voice { \voiceTwo
   a,1 |
   } >> \oneVoice |

with

   << {a1} \\ {a,1} >>

this error goes away.

Can someone please explain what I’m doing wrong here?

—Joel C. Salomon







___
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


Dynamics & simultaneous notes yield "programming error"

2016-08-28 Thread Joel C. Salomon
Compiling the attached file yields errors of the sort

> programming error: asked to compute volume at +1.00 for dynamic span of 
> duration 1.00 starting at 1
> continuing, cross fingers

If I replace the construct

<< { \voiceOne
a1 |
} \new Voice { \voiceTwo
a,1 |
} >> \oneVoice |

with

<< {a1} \\ {a,1} >>

this error goes away.

Can someone please explain what I’m doing wrong here?

—Joel C. Salomon
\version "2.19"
\language "english"

dynamics = {
	s8\p	s8*7	|
	s1*2
	\bar "|."
}

lower = \relative c {
	\clef bass

	b'1	|

<< { \voiceOne
	a1			|
} \new Voice { \voiceTwo
	a,1			|
} >> \oneVoice			|

	d1	|
}

\score {
	\new PianoStaff
	<<
% 		\new Staff = "upper" \upper
		\new Dynamics = "dynamics" \dynamics
		\new Staff = "lower" \lower
	>>
	\layout {}
}

\score {
	\new PianoStaff
	<<
% 		\new Staff = "upper" << \upper \dynamics >>
		\new Staff = "lower" << \lower \dynamics >>
	>>
	\midi {}
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user