Re: How do I get MIDI dynamics from a \Dynamics staff?

2018-09-20 Thread H. S. Teoh
On Thu, Sep 20, 2018 at 05:06:48PM +0100, Peter Toye wrote:
>Guy,
> 
>Thanks. I've found the thread. It seems fairly complicated, and as
>I only use MIDI for proof-reading (proof-hearing?) I’ll ignore the
>dynamics altogether! Life's too short.

My usual approach, as always, is to use a separate score for midi:

%
% Just write your music this way:
%

upperPart = { ... }
dynPart = {
s1\ff   % ... etc.
}
lowerPart = { ... }

%
% The following can be pretty much copy-and-pasted to each
% piece:
%

% Score for layout
\score {
\new Staff { \upperPart }
\new Dynamics { \dynPart }
\new Staff { \lowerPart }
\layout {}
}

% Score for midi
\score {
% Explicitly merge dynPart into both parts so that
% dynamics will be applied correctly to both.
\new Staff << \upperPart \dynPart >>
\new Staff << \lowerPart \dynPart >>
\midi {}
}


T

-- 
Shin: (n.) A device for finding furniture in the dark.

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


Re: How do I get MIDI dynamics from a \Dynamics staff?

2018-09-20 Thread Peter Toye
Guy,

Thanks. I've found the thread. It seems fairly complicated, and as I only use 
MIDI for proof-reading (proof-hearing?) I’ll ignore the dynamics altogether! 
Life's too short.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-
Thursday, September 20, 2018, 1:45:25 PM, Guy Stalnaker wrote:


Peter,

Do a search in the list archives. There was an extended discussion about this 
very thing in the past month with multiple offered solutions.

Regards,

Guy

On Thu, Sep 20, 2018, 6:34 AM Peter Toye  wrote:
I want to have a Dynamics staff between the music staves on a PianoStaff, but 
this doesn't change the dynamics on the MIDI output. Is there any way of 
getting the MIDI output to use the \Dynamics? In the example below they all 
have the same (presumably default) dynamic (at least, when played through Nero 
Showtime).

\version "2.19.52"

\language "english"

\score {
 \new PianoStaff {
   <<
   \new Staff {
 \clef "treble"
 c''4 4 4 4
   }
   \new Dynamics {
s4\f 4\pp 4\ff 4\mp
   }
   \new Staff {
 \clef "bass"
 c4 4 4 4
   }
   >>
 }
 \midi {}

}


Regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com
___
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: How do I get MIDI dynamics from a \Dynamics staff?

2018-09-20 Thread Guy Stalnaker
Peter,

Do a search in the list archives. There was an extended discussion about
this very thing in the past month with multiple offered solutions.

Regards,

Guy

On Thu, Sep 20, 2018, 6:34 AM Peter Toye  wrote:

> I want to have a Dynamics staff between the music staves on a PianoStaff,
> but this doesn't change the dynamics on the MIDI output. Is there any way
> of getting the MIDI output to use the \Dynamics? In the example below they
> all have the same (presumably default) dynamic (at least, when played
> through Nero Showtime).
>
> \version "2.19.52"
>
> \language "english"
>
> \score {
>  \new PianoStaff {
><<
>\new Staff {
>  \clef "treble"
>  c''4 4 4 4
>}
>\new Dynamics {
> s4\f 4\pp 4\ff 4\mp
>}
>\new Staff {
>  \clef "bass"
>  c4 4 4 4
>}
>>>
>  }
>  \midi {}
>
> }
>
>
> Regards,
>
> Peter
> mailto:lilyp...@ptoye.com 
> www.ptoye.com
> ___
> 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