[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use of Ambitus_engraver in DrumStaff causes program crash
From: |
Neil Puttock |
Subject: |
Re: use of Ambitus_engraver in DrumStaff causes program crash |
Date: |
Sun, 11 Jan 2009 00:26:08 +0000 |
Hi Jesse,
2009/1/10 Jesse Engle <address@hidden>:
>> I'm not top posting.
>
> % use of Ambitus_engraver in DrumStaff causes program crash
>
> \version "2.12.1"
>
> hands = \drummode {
> \repeat unfold 2 {
> cymr8 cymr << cymr sn >> cymr
> }
> }
>
> feet = \drummode {
> hhp4 hhp hhp hhp
> }
>
> \score {
> \new DrumStaff \with {
> \consists "Ambitus_engraver"
> } <<
> \new DrumVoice { \voiceOne \hands }
> \new DrumVoice { \voiceTwo \feet }
> >>
> }
Percussion noteheads are unpitched, so you shouldn't expect ambitus to
work in this situation.
The crash occurs because the Ambitus_engraver tries to retrieve a
non-existent pitch from the notehead, causing a segmentation fault.
Regards,
Neil