[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: midi file without dynamics
From: |
Janek Warchoł |
Subject: |
Re: midi file without dynamics |
Date: |
Mon, 5 Sep 2011 22:13:31 +0200 |
2011/8/26 Stefan Thomas <address@hidden>:
> Dear community,
> although I think I can understand why the crescendi and decrescendi are not
> played back correctly on the longer notes in the below quoted snippet,
> I wonder why I can't hear at least the difference between forte and piano
> in bar 3 and 4.
> Is there a possibility to get a more accurate midi-file?
> Here is the snippet:
>
> \version "2.14.2"
> \include "articulate.ly"
> right = \relative c' { R1 dis1 ~ dis4. dis32 e-. d-. cis-. c16-. r16 r8 r4
> r2 r4 \times 4/5 {bes32->-. c-. cis-. d-. dis-. } e8
> }
> left = \relative c' {
> R1*2
> r2 r4 dis4 ~
> dis4 ~ dis8.. d32-. dis-. e-. d-. des-. c16-. r <a cis d es>16 r r8
> }
> dynamics = {
> s1
> s1\fp
> s4. s16 s16\> s2\p
> s2 s8\f\> s8\p s4\f
> }
>
>
> \score {
> \unfoldRepeats \articulate {
> \new PianoStaff
> <<
> \new Staff { \set PianoStaff.midiInstrument = #"accordion" \context
> Voice << {\right} {\dynamics } >> }
> \new Staff { \context Voice << {\left} {\dynamics }>> }
> >>
> }
> \midi { }
> }
I get an error when compiling the above with 2.14.1 (i don't suppose
there should be much difference from 2.14.2): "programming error:
Impossible or ambiguous (de)crescendo in MIDI."
When i delete first three measures of music and dynamics, file
compiles and dynamics in MIDI are correct.
cheers,
Janek
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: midi file without dynamics,
Janek Warchoł <=