drum notes

2003-03-26 Thread Joerg Anders
Hi all!

I'm about to improve the NoteEdit drum notes export.
To comprehend the system I wrote the following 
crash test:

  \include paper16.ly

  \include drumpitch-init.ly

  drh = \notes { \clef percussion
bda4 bd ssh ss | ssl sna sn hc | sne tomfl hhc hh | tomfh hhp toml hho | 
hhho tomml tommh cymca | cymc tomh cymra cymr | cymch rb tamb cyms | cb cymcb 
vibs cymrb | 
bohm boh boho bolm | bol bolo cghm cglm | cgho cgh cglo cgl | timh timl agh 
agl | 
cab mar whs whl | guis guil gui cl | wbh wbl cuim cuio | trim tri trio ua | 
ub uc ud ue | da db dc dd | de r r r
\bar |.
  }

  \score {
\context Staff=drumst \notes 
  \apply #(drums-paper 'drums) 
\context Voice=voa {\stemUp \drh }
  

  }

During ly2dvi a get a lot of messages of this kind:

  warning: lily-guile: Kit `drums' doesn't contain drum `triangle'
  See lily/drumpitch.ly for supported drums.
  warning: lily-guile: Kit `drums' doesn't contain drum `opentriangle'
  See lily/drumpitch.ly for supported drums.
  warning: lily-guile: Kit `drums' doesn't contain drum `oneup'

And only a few notes have special drum heads.
But I consulted drumpitch.ly. The bda bd ssh ss ... words are
simply a copy from drumpitch.ly. 

Sould I install a new version of guile ? I use GNU LilyPond 1.6.8.


-- 
J.Anders, Chemnitz, GERMANY ([EMAIL PROTECTED])


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: ConTeXt

2003-03-26 Thread Michal Seta
Hi all again,

Just to close this discussion about ConTeXt, I wish to say that there is a pretty 
stright forward way of including .tex documents in ConTeXt (I should have RTFM).  So, 
I just have to process my .ly files and include them in the documents I want.

Thanks for listening.

./MiS
-- 
  _
  __  __ (_)___   Michal Seta
 /  \/  \ _/^ _|
/V |_  \ @creazone.32k.org
   (___/V\___|_|___/
http://www.[creazone]|[noonereceiving].32k.org









___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: drum notes

2003-03-26 Thread Rune Zedeler
Joerg Anders wrote:

I'm about to improve the NoteEdit drum notes export.
The lilypond drum notation is currently not working properly in 1.7.
When I get time and energy ( :-( ) I will make some better drum support.
I don't think that you should spend much energy in supporting the 
current (1.6) drum system as it will probably not keep on working. As I 
said: It does not work in 1.7.

To comprehend the system I wrote the following 
crash test:

  \include paper16.ly

  \include drumpitch-init.ly

  drh = \notes { \clef percussion
	bda4 bd	ssh ss | ssl sna sn hc | sne tomfl hhc hh | tomfh hhp toml hho | 
	hhho tomml tommh cymca | cymc tomh cymra cymr | cymch rb tamb cyms | cb cymcb vibs cymrb | 
	bohm boh boho bolm | bol bolo cghm cglm | cgho cgh cglo cgl | timh timl agh agl | 
	cab mar whs whl | guis guil gui cl | wbh wbl cuim cuio | trim tri trio ua | 
	ub uc ud ue | da db dc dd | de r r r
	\bar |.
  }

  \score {
\context Staff=drumst \notes 
  \apply #(drums-paper 'drums) 
\context Voice=voa {\stemUp \drh }
  

  }
During ly2dvi a get a lot of messages of this kind:

  warning: lily-guile: Kit `drums' doesn't contain drum `triangle'
  See lily/drumpitch.ly for supported drums.
  warning: lily-guile: Kit `drums' doesn't contain drum `opentriangle'
  See lily/drumpitch.ly for supported drums.
  warning: lily-guile: Kit `drums' doesn't contain drum `oneup'
And only a few notes have special drum heads.
But I consulted drumpitch.ly. The bda bd ssh ss ... words are
This is the expected result. The 'drums kit is for typesetting a normal 
drum kit - and percussion instruments (like the triangle) not present on 
a typical drum kit will not be typeset normally.

The transposing pitches (from ua in the above) are  NOT drums - they 
should only be entered as arguments to transpose-like commands.

-Rune



___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


Re: nested lilypond-book files?

2003-03-26 Thread Oscar A. Valdez
\mbinlude works, but inserts page breaks before and after the included parts.

\mbinput crashes with the following output:

Traceback (most recent call last):
  File /usr/bin/lilypond-book, line 1540, in ?
do_file(input_filename)
  File /usr/bin/lilypond-book, line 1424, in do_file
chunks = read_doc_file(input_filename)
  File /usr/bin/lilypond-book, line 1007, in read_doc_file
chunks = chop_chunks(chunks, 'input', do_input_file, 1)
  File /usr/bin/lilypond-book, line 953, in chop_chunks
newchunks = newchunks + func(m)
  File /usr/bin/lilypond-book, line 880, in do_input_file
return read_doc_file(m.group('filename'))
IndexError: no such group

Any ideas on getting \input or \mbinput to work?

Oscar

==

What you can use is the standard LaTeX procedure for splitting a
document into several files, using \include or \input (read
some LaTeX introduction on the difference between these two).
However, for some strange reason, you should use the commands
\mbinclude and \mbinput instead in lilypond-book. This was
recently discussed in the mailing list.

Example

main.lilybook:
\documentclass{blah}
\begin{document}
\mbinclude{mvmt2.lilybook}
\end{document}

mvmt2.lilybook:
% Note, no \begin{document} here, since that's already
% done in the main file
lilypondfile{score-2a.ly}


   /Mats






-
Este correo se envio usando IMP Webmail
Visite el proyecto en: http://horde.org/imp


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user