[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: grace notes MIDI playback
From:       Gilberto Agostinho <gilbertohasnofb () gmail ! com>
Date:       2015-11-29 22:37:03
Message-ID: 1448836623680-184263.post () n5 ! nabble ! com
[Download RAW message or body]

Hi all,

I found a workaround for my problem and I am sharing it here. If I define
these in the beginning of the score and use the articulate.ly script, the
grace notes will behave as I expect:

#(define ac:defaultGraceBackwardness 0)
#(define ac:defaultGraceFactor 1)

Example:

\include "articulate.ly"
\version "2.19.28"

%%%%%%%%%%%% grace on beat and no compression %%%%%%%%%%%%
#(define ac:defaultGraceBackwardness 0) % default 1, meaning it goes back in
time
#(define ac:defaultGraceFactor 1) % compression factor

A = \relative c'' {e2 \grace {dis32[ e, a' bes,]} ees,4 \grace {dis'32}
ees,4}
B = {\clef bass c,4 c, c, c,}
\markup {"score"}
\score {
  <<
    \new Staff \A
    \new Staff \B
  >>
  \layout {}
}
\markup {"playback"}
\score {
  <<
    \new Staff \articulate \A
    \new Staff \B
  >>
  \layout {}
  \midi {}
}

Producing:
<http://lilypond.1069038.n5.nabble.com/file/n184263/30.png> 

and:  example.mid
<http://lilypond.1069038.n5.nabble.com/file/n184263/example.mid>  

Cheers,
Gilberto




--
View this message in context: \
http://lilypond.1069038.n5.nabble.com/grace-notes-MIDI-playback-tp184215p184263.html \
Sent from the User mailing list archive at Nabble.com.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic