If you combine bits and pieces from the two answers you have
received so far,
you end up with a working solution:
sn4 \once \override Rest #'staff-position = #1 r2. |
Another solution is to temporarily change to normal note mode and
use the \rest feature:
sn4 \notemode {c''2. \rest} |
However, if what you really want to achieve is to have rests placed
at their
default position, regardless of the polyphony, then the solution
you are after
is rather
\new DrumVoice { \voiceTwo \revert Rest #'direction \down }
/Mats
Ole Schmidt wrote:
does not work with dotted rests...
ole
Am 25.08.2007 um 21:40 schrieb pascal lawrynowicz:
Hi,
Maybe this will help :
\once \override Rest #'extra-offset = #'( 0.0 . 5.0) r4
PL
www.percunivers.com
Message: 1
Date: Sat, 25 Aug 2007 03:39:18 +0200
From: Ole Schmidt <address@hidden>
Subject: \rest in \drummode?
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes;
format=flowed
Dear all,
is there a way to place a rest (higher) in \drummode? (like
with \rest command in normal staffs)
%%%%
\version "2.10.15"
up = \drummode
{ s1 }
down = \drummode
{ sn4 sn2.\rest }
\new DrumStaff <<
\new DrumVoice { \voiceOne \up }
\new DrumVoice { \voiceTwo \down }
>>
\layout { ragged-right = ##t }
%%%%
best
ole
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================