noobie question. percussion instruments

2010-05-16 Thread Roberto Morales

Dear list

I am new in Lilypond and got the following problem defining my percussion 
instruments. According to the  manual I did the following

this example works fine

\version 2.12.3

#(define mibataca '(
(acousticbassdrum diamond #f -4)
(hiwoodblock  default #f 1)
(lowoodblock default #f 3)
(acousticsnare cross  #f 2)
(lowfloortom default #f -2)
(highfloortom default #f -1)
(lowtom default #f 0)
(opentriangle triangle #f 5)
)
)

timb = \drummode {bda8 sna wbh wbl tomfl tomh trio }

\score {

\new DrumStaff  {
\override Staff.StaffSymbol #'line-positions = #'(-2 1 )
\override StaffSymbol #'line-count = #2
\override Staff.BarLine #'bar-size = #3
\set DrumStaff.drumStyleTable = #(alist-hash-table mibataca)

\timb
}


but, when add cymbals to the same instrument they never got their new positon 
or noteheads.

I define a cymbal drums and same thing happens. Is this a bug or cymbals have 
some parameters extra i missing ?


#(define platillos '(
(chinesecymbal triangle #f -3 )
(crashcymbala  diamond #f 0)
)
)

pla  = \drummode {cymch cymc}

\new DrumStaff  {
\override Staff.StaffSymbol #'line-positions = #'(-2 1 )
\override StaffSymbol #'line-count = #2
\override Staff.BarLine #'bar-size = #3
\set DrumStaff.drumStyleTable = #(alist-hash-table platillos)

\pla
}
%---

thanks in advance


roberto



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: noobie question. percussion instruments

2010-05-16 Thread Roberto Morales
Hi XavierThanks for your observation in my mistyping, but I still got the same mistake and compilation still looks cleanProcessing `test.ly'Parsing...Interpreting music...Preprocessing graphical objects...Finding the ideal number of pages...Fitting music on 1 page...Drawing systems...Layout output to `test.ps'...Converting to `./test.pdf'...-% codes corrected#(define platillos '((chinesecymbal triangle AFICS #f -3 )(crashcymbal default #f 1)	))pla = \drummode {cymch cymc}new DrumStaff {\override Staff.StaffSymbol #'line-positions = #'(-2 1 )\override StaffSymbol #'line-count = #2\override Staff.BarLine #'bar-size = #3\set DrumStaff.drumStyleTable = #(alist-hash-table platillos)\pla}result in pdf

test.pdf
Description: Adobe PDF document
I download 2.13.21 and got the same results. I am on Mac OSX 10.6.3robertoOn May 16, 2010, at 3:13 PM, Xavier Scheuer wrote:2010/5/16 Roberto Morales roberto...@prodigy.net.mx:Dear listI am new in Lilypond and got the following problem defining mypercussion instruments. According to the manual I did the followingthis example works fine[...]but, when add cymbals to the same instrument they never got theirnew positon or noteheads.I define a cymbal drums and same thing happens. Is this a bug orcymbals have some parameters extra i missing ?Hi Roberto!I never use percussions but I tried compiling your code and thethe positions are as expected and the notehead of chinesecymbal isa triangle AFAICS (I use 2.13.21).crashcymbala is also at right position but hotehead is wrong and Ithink I know why.According to the doc:http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Percussion-notesthe "note name" of crashcymbala is "cymca", not "cymc".So either replace crashcymbala by crashcymbal (without the final 'a'),either replace "cymc" by "cymca". ;)Cheers,Xavier--Xavier Scheuer x.sche...@gmail.com___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: noobie question. percussion instruments

2010-05-16 Thread Roberto Morales
Correct!!

thank you very much Peter

r-

On May 16, 2010, at 10:51 PM, Peter Chubb wrote:

 Roberto == Roberto Morales roberto...@prodigy.net.mx writes:
 
 Roberto Hi Xavier Thanks for your observation in my mistyping, but I
 Roberto still got the same mistake and compilation still looks clean
 
 
 Roberto #(define platillos '( (chinesecymbal triangle AFICS #f -3 )
 Roberto (crashcymbal default #f 1) ) )
 
 There are some non-printing characters in there -- a control-B and a
 control-A --- they may be perturbing your results.
 
 
 
 --
 Dr Peter Chubb  peter DOT chubb AT 
 nicta.com.au
 http://www.ertos.nicta.com.au   ERTOS within National ICT 
 Australia
 All things shall perish from under the sky/Music alone shall live, never to 
 die


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user