Re: Caesura

2004-08-04 Thread Mats Bengtsson

Will Oram wrote:
Is there a fast way to place a caesura on top of or next to a bar to 
indicate a musical pause? I'm not talking about the Gregorian caesura 
(\caesura), which is just a dinky comma. I speak of the 'railroad 
tracks' used in current notation.

Before I try printing a caesura over a notehead and then moving it over 
manually, is there a faster way to print it -- or anything -- over a 
barline?
For a caesura, see Paul's answer, for anything, use
\mark "Text" or \mark \markup {...}
   /Mats
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: error message with lily2.2.0

2004-08-04 Thread Mats Bengtsson
It seems that you don't have a sufficiently recent version of the guile
package installed.
   /Mats
Jean Marc LEGRAND wrote:
Hi list !
I've just installed lily2.2.0 under my mdk10.0. Installation was no trouble at all.
But while runing lily on test.ly, I have this error message :
[EMAIL PROTECTED] LILYPOND]$ lilypond --verbose test.ly
lilypond (GNU LilyPond) 2.2.0
Ouverture du pipe `/usr/bin/lilypond-bin --version '
Ouverture du pipe `kpsexpand \$TEXMF'
Ouverture du pipe `kpsewhich -expand-path=\$T1FONTS'
Invocation de « /usr/bin/lilypond-bin  -I /home/parents/Documents/LILYPOND -I /h
ome/parents/Documents/LILYPOND -I /home/parents/Documents/LILYPOND -H dedication
 -H title -H subtitle -H subsubtitle -H footer -H head -H composer -H arranger -
H instrument -H opus -H piece -H metre -H meter -H poet -H texttranslator -H tex
theight -H orientation -H language -H latexpackages -H papersize -H pagenumber -
H latexheaders -H latexoptions -H linewidth -H unit --verbose test »
lilypond_datadir: `/usr/share/lilypond'
local_lilypond_datadir: `/usr/share/lilypond/2.2.0'
localedir: `/usr/share/locale'
LILYPONDPREFIX: `'
/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: In procedure dynamic-link in expression (load-extension 
"libguile-srfi-srfi-13-14-v-1" "scm_init_srfi_13"):
/usr/share/guile/1.6/srfi/srfi-13.scm:159:1: file: "libguile-srfi-srfi-13-14-v-1  
", message: "libguile-srfi-srfi-13-14-v-1.so: cannot open shared object file: No  such file or 
directory"
lilypond: warning: `lilypond-bin' a échoué (status 2) (ignoré)
lilypond: error: Échec de lilypond sur le fichier d'entrée test (statut 
d'exécution 2).
Traceback (most recent call last):
  File "/usr/bin/lilypond", line 867, in ?
run_lilypond (files, dep_prefix)
  File "/usr/bin/lilypond", line 292, in run_lilypond
ly.exit (status)
  File "/usr/share/lilypond/2.2.0/python/lilylib.py", line 130, in exit
raise _ ('Exiting (%d)...') % i
Fin d'exécution (512)...

I'm truly sorry, but I don't understand it, and I'm not very clever in computer 
litterature... I would be so gratefull to any help !
Regards
___
lilypond-user mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


scripts-caesura - glyph not quite right

2004-08-04 Thread Paul Scott
It's great to have the caesura/cutoff/railroad tracks but the glyph 
scripts-caesura should be two simple straight lines - slashes"

//
Paul Scott
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: scripts-caesura - glyph not quite right

2004-08-04 Thread Mats Bengtsson
There was a discussion about the layout of these when the symbol
was introduced some year ago. If you can provide some references
to well typeset scores and preferably some scanned images of what
it should look like, I'm sure that the LilyPond implementors will be
willing to change the layout or add another version.
(Unmotivated statements like "it should" don't have the same effect
on Han-Wen and Jan.)
   /Mats
Paul Scott wrote:
It's great to have the caesura/cutoff/railroad tracks but the glyph 
scripts-caesura should be two simple straight lines - slashes"

//
Paul Scott
___
lilypond-user mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: scripts-caesura - glyph not quite right

2004-08-04 Thread Paul Scott
Mats Bengtsson wrote:
There was a discussion about the layout of these when the symbol
was introduced some year ago. If you can provide some references
to well typeset scores and preferably some scanned images of what
it should look like, I'm sure that the LilyPond implementors will be
willing to change the layout or add another version.
(Unmotivated statements like "it should" don't have the same effect
on Han-Wen and Jan.)
Thanks.  I do actually have some examples from a printed part for a 
musical show which I could scan but fortunately I found some examples on 
the Internet which are just as good.  The first two occur in actual 
music.  The concept is so simple that these should be more than adequate.

http://www.music.vt.edu/musicdictionary/appendix/marks/pausemarks/Pause_caesura.jpg 
http://www.music.vt.edu/musicdictionary/textc/Caesura.html

These two are shown out of musical context:
http://www.arkkra.com/doc/uguide/textstr.html
http://www.musicianshall.org/thing.html
This was just an interesting result of my Google search:
http://orion.math.iastate.edu/burkardt/wordplay/letter_words.html
HTH,
Paul

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


staff size and tremolo

2004-08-04 Thread Libero Mureddu
Hi!
First of all, congratulation for this nice and interesting software, 
that I'm trying to learn in order to free myself, in a near future, 
both from sibelius and finale!
That's my problem:
I want to reduce the size of one staff, in my case the piano staff, but 
the solution found in the docs -> tips and tricks -> staff-size.ly is 
applied after the \new Staff \with etc.
Organizing my piece I used the structure shown in templates -> 
jazz-combo.ly, where the \new exist in the \score only for the drums. I 
don't know where to put the lines to reduce the staff for the other 
parts. Here is the structure of my file:
 about the tremolo I receive the following warning:
warning: beam has less than two visible stems:
\repeat "tremolo" 16 { g32 d'32
} }
What's wrong wtih my tremolo?
I'm using lilypond 2.2.5
apple ibook g3 800
mac os 10.3.4

Thank you in advance for your help.
Libero Mureddu
Vanha Viertotie, 21 As. 415
00350 Helsinki - Finlandia
Tel. +358-9-5808415
Mob. +358-41-7702668
[EMAIL PROTECTED]
Via Abbiati, 4
20148 Milano - Italia
Tel. +39-02-4075953
Mob. +39-339-8757587
\version "2.2.5"
\header {
  title = "A Rameau"
  composer = "Libero Mureddu"
}
% - Piano -
mdSuperiore = \notes {
\key g \major
 % \voiceOne
 \mark \default
 r4 r8 \relative g'' {g16 fis e d c b a}
  \relative g' {g fis e }\time 2/4
  | {d' c' b a g fis e fis}
}
mdInferiore = \notes {
 % \voiceTwo
}
msSuperiore = \notes {
  % \voiceOne
  }
msInferiore = \notes {
  \voiceTwo
  \key g \major
  \relative c {
\repeat "tremolo" 16 { g32 d'32 } }
  }
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \mdSuperiore
\context Voice = two \mdInferiore
  >>
}
PianoMS = {
  \clef bass
  \context Staff <<
  \context Voice = One \msSuperiore
  \context Voice = Two \msInferiore
>>
}
piano = {
  \context PianoStaff <<
  \override PianoStaff.TimeSignature  #'style = #'numbered
  \set PianoStaff.instrument = "Pianoforte "
  \context Staff = upper \PianoMD
  \context Staff = lower\PianoMS
>>
}
% - Contrabbasso -
basso = \notes {
  \key g\major
  | \relative c {g8. g'8 g,8 g'8. [g,8 g'] g,8~ [
  | g16 g'8 g,] g'8.
  | g,4 g8.
  }
}
basso = {
  \set Staff.instrument = "Contrabbasso"
  \override Staff.TimeSignature  #'style = #'numbered
  \clef bass
  \context Staff <<
\basso
  >>
}
% - Batteria -
su = \drums {
  hh4
}
giu = \drums {
  bd4
}
drumContents = {
  <<
  \override Staff.TimeSignature  #'style = #'numbered
\set DrumStaff.instrument = "Batteria"
\new DrumVoice { \voiceOne \su }
\new DrumVoice { \voiceTwo \giu }
  >>
}
% - partitura -
\score {
  <<
  \context PianoStaff = piano \piano
  \context Staff = basso \basso
  \new DrumStaff { \drumContents }
>>
}
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: scripts-caesura - glyph not quite right

2004-08-04 Thread Mats Bengtsson
Just to avoid any risk of confusion, I hope that you have seen
the caesura already available in LilyPond:
\override BreathingSign  #'text =
 #(make-musicglyph-markup "scripts-caesura")
es8[ d] \breathe  es[ f g f] |
This is taken from the example breathing-sign.ly in the Regression Tests
document.
  /Mats
Paul Scott wrote:
Mats Bengtsson wrote:
There was a discussion about the layout of these when the symbol
was introduced some year ago. If you can provide some references
to well typeset scores and preferably some scanned images of what
it should look like, I'm sure that the LilyPond implementors will be
willing to change the layout or add another version.
(Unmotivated statements like "it should" don't have the same effect
on Han-Wen and Jan.)

Thanks.  I do actually have some examples from a printed part for a 
musical show which I could scan but fortunately I found some examples on 
the Internet which are just as good.  The first two occur in actual 
music.  The concept is so simple that these should be more than adequate.

http://www.music.vt.edu/musicdictionary/appendix/marks/pausemarks/Pause_caesura.jpg 
http://www.music.vt.edu/musicdictionary/textc/Caesura.html

These two are shown out of musical context:
http://www.arkkra.com/doc/uguide/textstr.html
http://www.musicianshall.org/thing.html
This was just an interesting result of my Google search:
http://orion.math.iastate.edu/burkardt/wordplay/letter_words.html
HTH,
Paul

___
lilypond-user mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: staff size and tremolo

2004-08-04 Thread Mats Bengtsson
It's probably not very clear from the manual, but you can use the
\with{...} feature together with both syntaxes for creating a new
context:
\new Staff \with {SOME SETTINGS} {MUSIC}
and
\context Staff = NAME \with {SOME SETTINGS} {MUSIC}
So, in your example, you probably want to do
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \with{...} \mdSuperiore
\context Voice = two \with{...} \mdInferiore
  >>
}
The warning about the tremolo is harmless. It seems that the
implementors didn't think of the case of a full bar tremolo,
when they designed that warning. Since you get the correct
output, it's nothing to worry about.
   /Mats
Libero Mureddu wrote:
Hi!
First of all, congratulation for this nice and interesting software, 
that I'm trying to learn in order to free myself, in a near future, both 
from sibelius and finale!
That's my problem:
I want to reduce the size of one staff, in my case the piano staff, but 
the solution found in the docs -> tips and tricks -> staff-size.ly is 
applied after the \new Staff \with etc.
Organizing my piece I used the structure shown in templates -> 
jazz-combo.ly, where the \new exist in the \score only for the drums. I 
don't know where to put the lines to reduce the staff for the other 
parts. Here is the structure of my file:
 about the tremolo I receive the following warning:
warning: beam has less than two visible stems:
\repeat "tremolo" 16 { g32 d'32
} }
What's wrong wtih my tremolo?
I'm using lilypond 2.2.5
apple ibook g3 800
mac os 10.3.4

Thank you in advance for your help.
Libero Mureddu
Vanha Viertotie, 21 As. 415
00350 Helsinki - Finlandia
Tel. +358-9-5808415
Mob. +358-41-7702668
[EMAIL PROTECTED]
Via Abbiati, 4
20148 Milano - Italia
Tel. +39-02-4075953
Mob. +39-339-8757587
\version "2.2.5"
\header {
  title = "A Rameau"
  composer = "Libero Mureddu"
}
% - Piano -
mdSuperiore = \notes {
\key g \major
 % \voiceOne
 \mark \default
 r4 r8 \relative g'' {g16 fis e d c b a}
  \relative g' {g fis e }\time 2/4
  | {d' c' b a g fis e fis}
}
mdInferiore = \notes {
 % \voiceTwo
}
msSuperiore = \notes {
  % \voiceOne
  }
msInferiore = \notes {
  \voiceTwo
  \key g \major
  \relative c {
\repeat "tremolo" 16 { g32 d'32 } }
  }
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \mdSuperiore
\context Voice = two \mdInferiore
  >>
}
PianoMS = {
  \clef bass
  \context Staff <<
  \context Voice = One \msSuperiore
  \context Voice = Two \msInferiore
 >>
}
piano = {
  \context PianoStaff <<
  \override PianoStaff.TimeSignature  #'style = #'numbered
  \set PianoStaff.instrument = "Pianoforte"
  \context Staff = upper \PianoMD
  \context Staff = lower\PianoMS
 >>
}
% - Contrabbasso -
basso = \notes {
  \key g\major
  | \relative c {g8. g'8 g,8 g'8. [g,8 g'] g,8~ [
  | g16 g'8 g,] g'8.
  | g,4 g8.
  }
}
basso = {
  \set Staff.instrument = "Contrabbasso"
  \override Staff.TimeSignature  #'style = #'numbered
  \clef bass
  \context Staff <<
\basso
  >>
}
% - Batteria -
su = \drums {
  hh4
}
giu = \drums {
  bd4
}
drumContents = {
  <<
  \override Staff.TimeSignature  #'style = #'numbered
\set DrumStaff.instrument = "Batteria"
\new DrumVoice { \voiceOne \su }
\new DrumVoice { \voiceTwo \giu }
  >>
}
% - partitura -
\score {
  <<
  \context PianoStaff = piano \piano
  \context Staff = basso \basso
  \new DrumStaff { \drumContents }
 >>
}
___
lilypond-user mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: scripts-caesura - glyph not quite right

2004-08-04 Thread Paul Scott
Mats Bengtsson wrote:
Just to avoid any risk of confusion, I hope that you have seen
the caesura already available in LilyPond:
\override BreathingSign  #'text =
 #(make-musicglyph-markup "scripts-caesura")
es8[ d] \breathe  es[ f g f] |
This is taken from the example breathing-sign.ly in the Regression Tests
document.
Yes.  Thanks.  I have used it and it certainly got the job done.  I 
presume it had some logical reason derived from the other slight 
variation for ancient music.  Actually the modern use looks like it is 
probably directly derived from the ancient meaning.

It's just that all the printed music I have ever seen uses the form I am 
describing and since I use it quite a bit it's worth giving my input.

Thanks,
Paul

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


Re: scripts-caesura - glyph not quite right

2004-08-04 Thread Mats Bengtsson
Sorry, I didn't read the mail subject carefully enough.
Searching the mailing list archives, I realize that you were involved
in the original discussion about the design of the symbol. May I remind
you of Han-Wen's comment in
http://lists.gnu.org/archive/html/lilypond-user/2003-05/msg00283.html
Also, it's better to send feature requests or bug reports (whatever you
want to call your email) to bug-lilypond or lilypond-devel, once you
have found a scanned example that can convince the LilyPond hackers.
   /Mats
Paul Scott wrote:
Mats Bengtsson wrote:
Just to avoid any risk of confusion, I hope that you have seen
the caesura already available in LilyPond:
\override BreathingSign  #'text =
 #(make-musicglyph-markup "scripts-caesura")
es8[ d] \breathe  es[ f g f] |
This is taken from the example breathing-sign.ly in the Regression Tests
document.

Yes.  Thanks.  I have used it and it certainly got the job done.  I 
presume it had some logical reason derived from the other slight 
variation for ancient music.  Actually the modern use looks like it is 
probably directly derived from the ancient meaning.

It's just that all the printed music I have ever seen uses the form I am 
describing and since I use it quite a bit it's worth giving my input.

Thanks,
Paul

___
lilypond-user mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=
___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: staff size and tremolo

2004-08-04 Thread Libero Mureddu
Thank you for your help, the short explanation about kinds of syntaxes 
is very clear and helpful, but I've already tried to put somewhere else 
the \with {...} with no results. Anyway, I tried your solution putting 
\with after PianoMD, no more errors but the pdf doesn't have the staff 
reduced. The same if I put \with in the \score at the bottom of the 
file. With the drums part (\new DrumStaff at the bottom) I have the 
staff size reduced.

Libero Mureddu
\version "2.2.5"
\header {
  title = "A Rameau"
  composer = "Libero Mureddu"
}
% - Piano -
mdSuperiore = \notes {
\key g \major
 % \voiceOne
 \mark \default
 r4 r8 \relative g'' {g16 fis e d c b a}
  \relative g' {g fis e }\time 2/4
  | {d' c' b a g fis e fis}
}
mdInferiore = \notes {
 % \voiceTwo
}
msSuperiore = \notes {
  % \voiceOne
  }
msInferiore = \notes {
  \voiceTwo
  \key g \major
  \relative c {
\repeat "tremolo" 16 { g32 d'32 } }
  }
% HERE IS WHERE YOU SUGGESTED TO PUT \with
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  }\mdSuperiore
\context Voice = two \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  }\mdInferiore
  >>
}
PianoMS = {
  \clef bass
  \context Staff <<
  \context Voice = One \msSuperiore
  \context Voice = Two \msInferiore
>>
}
piano = {
  \context PianoStaff <<
  \override PianoStaff.TimeSignature  #'style = #'numbered
  \set PianoStaff.instrument = "Pianoforte "
  \context Staff = upper \PianoMD
  \context Staff = lower\PianoMS
>>
}
% - Contrabbasso -
basso = \notes {
  \key g\major
  | \relative c {g8. g'8 g,8 g'8. [g,8 g'] g,8~ [
  | g16 g'8 g,] g'8.
  | g,4 g8.
  }
}
basso = {
  \set Staff.instrument = "Contrabbasso"
  \override Staff.TimeSignature  #'style = #'numbered
  \clef bass
  \context Staff <<
\basso
  >>
}
% - Batteria -
su = \drums {
  hh4
}
giu = \drums {
  bd4
}
drumContents = {
  <<
  \override Staff.TimeSignature  #'style = #'numbered
\set DrumStaff.instrument = "Batteria"
\new DrumVoice { \voiceOne \su }
\new DrumVoice { \voiceTwo \giu }
  >>
}
% HERE I TRIED TO INSERT THE \with
% - partitura -
\score {
  <<
  \context PianoStaff = piano \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  } \piano
  \context Staff = basso \basso
  \new DrumStaff { \drumContents }
>>
}
Il giorno 04/ago/04, alle 12:59, Mats Bengtsson ha scritto:
It's probably not very clear from the manual, but you can use the
\with{...} feature together with both syntaxes for creating a new
context:
\new Staff \with {SOME SETTINGS} {MUSIC}
and
\context Staff = NAME \with {SOME SETTINGS} {MUSIC}
So, in your example, you probably want to do
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \with{...} \mdSuperiore
\context Voice = two \with{...} \mdInferiore
  >>
}
The warning about the tremolo is harmless. It seems that the
implementors didn't think of the case of a full bar tremolo,
when they designed that warning. Since you get the correct
output, it's nothing to worry about.
   /Mats
Libero Mureddu wrote:
Hi!
First of all, congratulation for this nice and interesting software, 
that I'm trying to learn in order to free myself, in a near future, 
both from sibelius and finale!
That's my problem:
I want to reduce the size of one staff, in my case the piano staff, 
but the solution found in the docs -> tips and tricks -> 
staff-size.ly is applied after the \new Staff \with etc.
Organizing my piece I used the structure shown in templates -> 
jazz-combo.ly, where the \new exist in the \score only for the drums. 
I don't know where to put the lines to reduce the staff for the other 
parts. Here is the structure of my file:
 about the tremolo I receive the following warning:
warning: beam has less than two visible stems:
\repeat "tremolo" 16 { g32 d'32
} }
What's wrong wtih my tremolo?
I'm using lilypond 2.2.5
apple ibook g3 800
mac os 10.3.4
Thank you in advance for your help.
Libero Mureddu
Vanha Viertotie, 21 As. 415
00350 Helsinki - Finlandia
Tel. +358-9-5808415
Mob. +358-41-7702668
[EMAIL PROTECTED]
Via Abbiati, 4
20148 Milano - Italia
Tel. +39-02-4075953
Mob. +39-339-8757587
\version "2.2.5"
\header {
  title = "A Rameau"
  composer = "Libero Mureddu"
}
% - Piano -
mdSuperiore = \notes {
\key g \major
 % \voiceOne
 \mark \default
 r4 r8 \relative g'' {g16 fis e d c b a}
  \relative g' {g fis e }\time 2/4
  | {d' c' b a g fis e fis}
}
mdInferiore = \notes {
 % \voiceTwo
}
msSuperiore = \notes {
  % \voiceOne
  }
msInferiore = \notes {
  \voiceTwo
  \key g \major
  \relative c {
\repeat "tremolo" 16 { g32 d'32 } }
  }
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \mdSuperiore
\context Voice = two \mdInferiore
  >>
}
PianoMS = {
  \clef bass
  \context Staf

Re: staff size and tremolo

2004-08-04 Thread Mats Bengtsson
Sorry, I copied the wrong lines of code in my previous answer.
What I meant was
piano = {
  \context PianoStaff <<
  \override PianoStaff.TimeSignature  #'style = #'numbered
  \set PianoStaff.instrument = "Pianoforte"
  \context Staff = upper \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  } \PianoMD
  \context Staff = lower \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  } \PianoMS
>>
}
which works fine when I try it here on your example.
However, your other trial works well as well:
\score {
  <<
  \context PianoStaff = piano \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  } \piano

   /Mats
Libero Mureddu wrote:
Thank you for your help, the short explanation about kinds of syntaxes 
is very clear and helpful, but I've already tried to put somewhere else 
the \with {...} with no results. Anyway, I tried your solution putting 
\with after PianoMD, no more errors but the pdf doesn't have the staff 
reduced. The same if I put \with in the \score at the bottom of the 
file. With the drums part (\new DrumStaff at the bottom) I have the 
staff size reduced.

Libero Mureddu
\version "2.2.5"
\header {
  title = "A Rameau"
  composer = "Libero Mureddu"
}
% - Piano -
mdSuperiore = \notes {
\key g \major
 % \voiceOne
 \mark \default
 r4 r8 \relative g'' {g16 fis e d c b a}
  \relative g' {g fis e }\time 2/4
  | {d' c' b a g fis e fis}
}
mdInferiore = \notes {
 % \voiceTwo
}
msSuperiore = \notes {
  % \voiceOne
  }
msInferiore = \notes {
  \voiceTwo
  \key g \major
  \relative c {
\repeat "tremolo" 16 { g32 d'32 } }
  }
% HERE IS WHERE YOU SUGGESTED TO PUT \with
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  }\mdSuperiore
\context Voice = two \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  }\mdInferiore
  >>
}
PianoMS = {
  \clef bass
  \context Staff <<
  \context Voice = One \msSuperiore
  \context Voice = Two \msInferiore
 >>
}
piano = {
  \context PianoStaff <<
  \override PianoStaff.TimeSignature  #'style = #'numbered
  \set PianoStaff.instrument = "Pianoforte"
  \context Staff = upper \PianoMD
  \context Staff = lower\PianoMS
 >>
}
% - Contrabbasso -
basso = \notes {
  \key g\major
  | \relative c {g8. g'8 g,8 g'8. [g,8 g'] g,8~ [
  | g16 g'8 g,] g'8.
  | g,4 g8.
  }
}
basso = {
  \set Staff.instrument = "Contrabbasso"
  \override Staff.TimeSignature  #'style = #'numbered
  \clef bass
  \context Staff <<
\basso
  >>
}
% - Batteria -
su = \drums {
  hh4
}
giu = \drums {
  bd4
}
drumContents = {
  <<
  \override Staff.TimeSignature  #'style = #'numbered
\set DrumStaff.instrument = "Batteria"
\new DrumVoice { \voiceOne \su }
\new DrumVoice { \voiceTwo \giu }
  >>
}
% HERE I TRIED TO INSERT THE \with
% - partitura -
\score {
  <<
  \context PianoStaff = piano \with {
  fontSize = #-1
  \override StaffSymbol #'staff-space = #(magstep -1)
  } \piano
  \context Staff = basso \basso
  \new DrumStaff { \drumContents }
 >>
}
Il giorno 04/ago/04, alle 12:59, Mats Bengtsson ha scritto:
It's probably not very clear from the manual, but you can use the
\with{...} feature together with both syntaxes for creating a new
context:
\new Staff \with {SOME SETTINGS} {MUSIC}
and
\context Staff = NAME \with {SOME SETTINGS} {MUSIC}
So, in your example, you probably want to do
PianoMD = {
  \clef treble
  \context Staff <<
\context Voice = one \with{...} \mdSuperiore
\context Voice = two \with{...} \mdInferiore
  >>
}
The warning about the tremolo is harmless. It seems that the
implementors didn't think of the case of a full bar tremolo,
when they designed that warning. Since you get the correct
output, it's nothing to worry about.
   /Mats
Libero Mureddu wrote:
Hi!
First of all, congratulation for this nice and interesting software, 
that I'm trying to learn in order to free myself, in a near future, 
both from sibelius and finale!
That's my problem:
I want to reduce the size of one staff, in my case the piano staff, 
but the solution found in the docs -> tips and tricks -> 
staff-size.ly is applied after the \new Staff \with etc.
Organizing my piece I used the structure shown in templates -> 
jazz-combo.ly, where the \new exist in the \score only for the drums. 
I don't know where to put the lines to reduce the staff for the other 
parts. Here is the structure of my file:
 about the tremolo I receive the following warning:
warning: beam has less than two visible stems:
\repeat "tremolo" 16 { g32 d'32
} }
What's wrong wtih my tremolo?
I'm using lilypond 2.2.5
apple ibook g3 800
mac os 10.3.4
Thank you in advance for your help.
Libero Mureddu
Vanha Viertotie, 21 As. 415
00350 Helsinki - Finlandia
Tel. +358-9-5808415
Mob. 

Lilypond 2.2 installs but software doesn't launch

2004-08-04 Thread Tom Duda
Hello

Because I don't see that Lilypond 2.3 has been ported to Windows, I downloaded and 
installed 2.2. When I launch lilypond-bin.exe, I see an empty Command Prompt for a few 
seconds and then it closes.

My OS is Win XP Media Center with all critical updates installed. My CPU is Pentium IV 
2.6 gHz with 512 megs RAM and 30+ gigs free space on the partition in which Lilypond 
resides. pagefile.sys is 1.6 gigs.

When I ran setup.exe, I left all packages at "Default" except for the folder that 
contains Lilypond. In that folder, I selected Lilypond and accepted the other items 
that became active in that folder. If it matters, I chose planetmirror.org as the 
source server.

What is most frustrating is that I have just one music score, apparently consisting of 
three files, that I want to see. For some reason, the person who made the score 
available did not save it in PostScript format. I have two files with a .ly extension 
and one with .lytxt extension.

Any advice would be greatly appreciated. :-)

Tom Duda





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


Using Lilypond

2004-08-04 Thread J L
Hi,
Can someone tell me how to call the scripts? I know that there is stuff in 
the documentation about doing so, but a physical example would be better 
(such as how to basically get it to open a file and generate an output file 
with the changes). I would in particular like to know how to operate 
'midi2ly' and 'convert-ly'.

Also, how is it decided which versions are ported to Windows?
Aligorith
_
Watch movie trailers online with the Xtra Broadband Channel  
http://xtra.co.nz/broadband


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