Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5320)

Issue 302930043: Doc: Add a section about handling MIDI dynamics with multiple voices

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 9 months ago by ht
Modified:
7 years, 9 months ago
Reviewers:
pkx166h, Dan Eble, dan, carl.d.sorensen, Trevor Daniels
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Doc: Add a section about handling MIDI dynamics with multiple voices As MIDI dynamics of every Voice are by default independent of dynamic changes occurring in all other Voices, writing LilyPond input using multiple voices may require some additional considerations to be taken into account to keep in full control of MIDI volume for MIDI output. (While users interested only in typeset output can safely - and probably do - ignore these considerations, users who also wish to generate MIDI output can easily remain unaware of the issues with MIDI dynamics that ignoring them may cause, because the need for such considerations is not raised directly anywhere in the documentation. See, for example, the full disussion thread <http://lists.gnu.org/archive/html/lilypond-user/2014-05/msg00361.html> for comments from both groups of users, and the false assumptions that could be made about MIDI dynamics in output generated from multiple voices when relating it to the typeset output.) This change in the documentation tries to describe in more detail how MIDI dynamics interact with voices, and, now that the last pieces of source code logic (which had become less and less effective over time, and had not been complete even when they were first introduced) of signaling warnings about cases where the MIDI output might not fully match the expected one have been removed as a result of the code changes related to Issue 3945, lists some simple guidelines to help users keep in control of MIDI volume with multiple voices. The change consists of a forward reference to a new MIDI subsection in the beginning of the section about single-staff polyphonic notation (where the syntax of defining Voices is described), and a new MIDI subsection which illustrates the default interaction of MIDI dynamics and voices by way of an example.

Patch Set 1 #

Total comments: 2

Patch Set 2 : condense the additions, improve accuracy about named voices #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -1 line) Patch
M Documentation/notation/input.itely View 1 3 chunks +63 lines, -0 lines 5 comments Download
M Documentation/notation/simultaneous.itely View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 11
ht
7 years, 9 months ago (2016-07-05 14:46:04 UTC) #1
Carl
This is too wordy for the notation reference. We need to have a minimum number ...
7 years, 9 months ago (2016-07-05 20:58:03 UTC) #2
ht
condense the additions, improve accuracy about named voices
7 years, 9 months ago (2016-07-08 21:25:26 UTC) #3
ht
Patch set 2 is an attempt to condense the additions to the documentation. The main ...
7 years, 9 months ago (2016-07-08 22:48:10 UTC) #4
Trevor Daniels
Much improved over the first attempt, thanks. LGTM. Trevor
7 years, 9 months ago (2016-07-11 07:42:36 UTC) #5
Dan Eble
https://codereview.appspot.com/302930043/diff/20001/Documentation/notation/input.itely File Documentation/notation/input.itely (right): https://codereview.appspot.com/302930043/diff/20001/Documentation/notation/input.itely#newcode3028 Documentation/notation/input.itely:3028: value 0.71 in the available MIDI volume range between ...
7 years, 9 months ago (2016-07-11 13:34:45 UTC) #6
Carl
Heikki, this is so much better than your first patch. Thanks for working on it! ...
7 years, 9 months ago (2016-07-11 16:39:01 UTC) #7
Dan Eble
https://codereview.appspot.com/302930043/diff/20001/Documentation/notation/input.itely File Documentation/notation/input.itely (right): https://codereview.appspot.com/302930043/diff/20001/Documentation/notation/input.itely#newcode3028 Documentation/notation/input.itely:3028: value 0.71 in the available MIDI volume range between ...
7 years, 9 months ago (2016-07-11 23:41:18 UTC) #8
ht
On 2016/07/11 16:39:01, Carl wrote: > I think the current behavior of changing dynamics > ...
7 years, 9 months ago (2016-07-12 07:22:16 UTC) #9
dan_faithful.be
> I suspect all of this behavior is due to the Staff_performer logic, > which ...
7 years, 9 months ago (2016-07-12 13:38:16 UTC) #10
pkx166h
7 years, 9 months ago (2016-07-19 07:03:42 UTC) #11
On 2016/07/12 13:38:16, dan_faithful.be wrote:
> > I suspect all of this behavior is due to the Staff_performer logic,
> > which tries to distribute notes and dynamics into separate classes by
> > the names of their associated Voices - maybe this should be done using
> > some other criterion (such as an internal Voice ID, unique to each Voice
> > instance).
> 
> As I mentioned, I already have a private branch that removes the mess from
> Staff_performer and lets Dynamic_performer link notes to their dynamic.  I
> haven’t tested it with your example, but I expect it to work more sensibly. 
> Dynamics shouldn’t affect notes outside of the dynamic performer’s context.
> 
> > implementation should simply be changed to query for the default value
> > from the default absolute volume map using one of the keys defined in
> > scm/midi.scm (and I agree that "mf" is probably a reasonable choice).
> 
> If this plan is accepted, you could conscientiously document “mf” as the
default
> now.
> 
> I volunteer to make the change.  If someone would create a ticket and assign
it
> to me, it would help me remember.  
> — 
> Dan
> 

https://sourceforge.net/p/testlilyissues/issues/4936/

Thanks Dan.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b