gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: Whole rest woe


From: Mats Bengtsson
Subject: Re: Q: Whole rest woe
Date: Sat, 03 Feb 2001 21:41:47 +0100

> Return-Path: sendmail
> Received: from fencepost.gnu.org (address@hidden [199.232.76.164])
>       by elixir.e.kth.se (8.9.3/8.9.3) with ESMTP id TAA02865
>       for <address@hidden>; Sat, 3 Feb 2001 19:21:57 +0100 (MET)
> Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org)
>       by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
>       id 14P7DE-0007cq-00; Sat, 03 Feb 2001 13:15:04 -0500
> Received: from piglet.toward.com ([204.194.180.31] helo=mail.toward.com)
>       by fencepost.gnu.org with esmtp (Exim 3.16 #1 (Debian))
>       id 14P7CV-0007Zr-00
>       for <address@hidden>; Sat, 03 Feb 2001 13:14:19 -0500
> Received: from toward.com [206.55.10.124] by mail.toward.com with ESMTP
>   (SMTPD32-6.05) id AA67171801B4; Sat, 03 Feb 2001 13:13:59 -0500
> Message-ID: <address@hidden>
> From: David Raleigh Arnold <address@hidden>
> X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-1mdklinus i586)
> X-Accept-Language: en
> MIME-Version: 1.0
> To: address@hidden
> CC: address@hidden
> Subject: Re: Q: Whole rest woe
> References: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> Sender: address@hidden
> Errors-To: address@hidden
> X-BeenThere: address@hidden
> X-Mailman-Version: 2.0
> Precedence: bulk
> List-Help: <mailto:address@hidden>
> List-Post: <mailto:address@hidden>
> List-Subscribe: <http://mail.gnu.org/mailman/listinfo/gnu-music-discuss>,
>       <mailto:address@hidden>
> List-Id: Discussion list for LilyPond and the GNU Music Project 
> <gnu-music-discuss.gnu.org>
> List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/gnu-music-discuss>,
>       <mailto:address@hidden>
> List-Archive: <http://mail.gnu.org/pipermail/gnu-music-discuss/>
> Date: Sat, 03 Feb 2001 12:55:55 -0500
> 
> Feature requests:
> 
> (1.)  Pitches for rests an option in the syntax.
> (2.)  Suppress heads.
> (3.)  Suppressed head notes are rests to midi but they must have pitch
> on account of their flags or beams and/or stems. To put it another
> way, (1.) and (2.) interact.


You can do this today, see the example below. The macros for
pitched rests are of course a bit clumsy since they don't
support relative octaves or different clefs. I didn't include
the actual rest in the macro definitions since that would fix
also the duration of the rest.

   /Mats

----------------------------------------------------
rg=\property Voice.Rest \set #'staff-position = #-1
rf=\property Voice.Rest \set #'staff-position = #-1.5
re=\property Voice.Rest \set #'staff-position = #-2
rd=\property Voice.Rest \set #'staff-position = #-2.5
% and so on ...
defaultrestpos = \property Voice.Rest \revert #'staff-position 

SuppressHead = \property Thread.NoteHead \override #'style =
#'transparent
EndSuppressHead = \property Thread.NoteHead \override #'style =
#'default

\score{
  \notes\relative c'{
    c d e f | 
    r8 \rg r \rf r \re r \rd  r \defaultrestpos r g f |
    g g g g g \SuppressHead g g \EndSuppressHead g |
  }
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]