[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A Midi question
From: |
Guy Stalnaker |
Subject: |
Re: A Midi question |
Date: |
Tue, 11 Sep 2018 17:54:27 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.0 |
Not saying this will work because I don't know your code, but can you
use polyphonic voices to add the nuances/pedal marking variables (if
you're not already using them)? Thinking here that the nuance directives
are made a part of the resulting polyphonic music.
You can create one score for your present printout (no midi output) and
a second that uses the polyphonic voices with midi output. I'm thinking
of this:
http://lilypond.org/doc/v2.19/Documentation/learning/explicitly-instantiating-voices
This code illustrates what I'm talking about. I confirm that using << {
} \\ { } >> does NOT produce the desired output. But instantiating the
second voice DOES produce midi with dynamic changes.
It might look ugly with a lot more notes, and you might get a lot of
error output for note column issues, but the midi may be just fine.
%% snippet %%
%% \notePartI does NOT work
%% \notePartII DOES work
\version "2.19"
\language "english"
\header {
title = "Testing"
tagline = ##f
}
global = {
\time 4/4
\tempo 4 = 80
}
nuance = {
s2\p s2\mp |
s2\mf s2\f |
s2\mf s2\mp |
s2\> s2\!
}
notes = {
e'8 d' c' d' e' e' e'4 |
d'8 d' d'4 e'8 g' g'4 |
e'8 d' c' d' e' e' e' e' |
d' d' e' d' c'2 \bar "||"
}
notesPartI = \new Staff {
\global <<
{ \notes } \\
{ \nuance }
>>
}
notesPartII = \new Staff {
\global <<
{ \voiceOne \notes }
\new voice { \voiceTwo \nuance }
>>
}
\score {
<<
\notesPartI
>>
\layout { }
\midi {
}
}
\score {
<<
\notesPartII
>>
\layout { }
\midi {
}
}
On 9/11/18 5:15 PM, foxfanfare wrote:
Mr Tim wrote
A friend of mine uses Anvil Studio for midi on Windows. I think they have
a free version, but even the premium is not much.
Thanks for the tip. Unfortunately Anvil Studio isn't cross-platform. I
should have been more specific, but I'm looking for something which could
also work with linux in the future.
So I guess there is no solution for my first problem than re-write all the
nuances and pedal markings with the notes input instead of variables if I
want to improve the audio output?
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
--
"There is only love, and then oblivion. Love is all we have
to set against hatred." (paraphrased) Ian McEwan
Guy Stalnaker
address@hidden
- A Midi question, foxfanfare, 2018/09/11
- Re: A Midi question, Rick Kimpel, 2018/09/11
- Re: A Midi question, Karlin High, 2018/09/11
- Re: A Midi question, foxfanfare, 2018/09/11
- Re: A Midi question, Mr Tim, 2018/09/11
- Re: A Midi question, foxfanfare, 2018/09/11
- Re: A Midi question,
Guy Stalnaker <=
- Re: A Midi question, H. S. Teoh, 2018/09/11
- Re: A Midi question, Vaughan McAlley, 2018/09/11
- Re: A Midi question, foxfanfare, 2018/09/12
- Re: A Midi question, H. S. Teoh, 2018/09/12
- Re: A Midi question, Simon Albrecht, 2018/09/12
- Re: A Midi question, H. S. Teoh, 2018/09/13
- Re: A Midi question, foxfanfare, 2018/09/13
- Re: A Midi question, H. S. Teoh, 2018/09/13