Steve,

On Mon, Feb 8, 2016 at 1:33 PM, Steve Prud'Homme [via Lilypond] <
ml-node+s1069038n187021...@n5.nabble.com> wrote:

> In this post :
> http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html
> We transform what is seen like an arpegio in this :
>
>   \tag #'midi {
>     \set tieWaitForNote = ##t
>     \grace { ef16 ~ af ~ bf ~ ef ~ } <ef, af bf ef>2
>     \unset tieWaitForNote
>   }
>
> So we cheat. So it is possible cheat midi to recreate a rool.
> Question : What is a roll 1/64 notes 1/128 notes ?
> How can I cheat to fake a snear roll.
>

Try this out:

%%%%%%%%%%%%%%%%%

\version "2.18.2"

drumroll = \drummode {
  \tag #'midi {
    \repeat unfold 64 sn64  % <--- here's what we want to hear
  sn8->
  }
  \tag #'engrave {
    sn1 \startTrillSpan  % <--- here's what we want to see
    sn8-> \stopTrillSpan
  }
}

% Engraved score
\score {
  \new DrumStaff {
    \keepWithTag #'engrave \drumroll
  }
  \layout {}
}

% MIDI score
\score {
  \new DrumStaff {
    \keepWithTag #'midi \drumroll
  }
  \midi {}
}

%%%%%%%%%%%%%%%%%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/It-is-possible-de-play-Snear-Roll-Midi-with-midi-TAG-if-yes-how-tp187012p187022.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

Reply via email to