Re: unmetered music question

2006-03-16 Thread Eddy-14


Mats Bengtsson-4 wrote:
 
 the |\revert| command for a context undoes an |\override| command
 so, simply do
 \revert Staff.TimeSignature #'print-function
 where you want to make the time signature visible again.
 
It works. Thanks !!!
Just, I need to put it in all staves.
If I understand Lilypond correctly, TimeSignature belongs to the Staff
context, so I need to revert its print-function in all staves, I can't do it
for a Staff group. Right ?
--
View this message in context: 
http://www.nabble.com/unmetered-music-question-t271448.html#a3431925
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: unmetered music question

2006-03-15 Thread Eddy-14


Mats Bengtsson wrote:
 
 If you don't want any time signature printed, you can do
 \override Staff.TimeSignature #'print-function = ##f
 
What if I don't want a time signature in a part of a piece, and I want it
back in another part ? Setting it invisible is not a solution, since I
change it in almost every bar, and it produces spaces at the begining of the
bars.
--
View this message in context: 
http://www.nabble.com/unmetered-music-question-t271448.html#a3412816
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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


Re: unmetered music question

2006-03-15 Thread Mats Bengtsson

Eddy-14 wrote:


Mats Bengtsson wrote:
 


If you don't want any time signature printed, you can do
\override Staff.TimeSignature #'print-function = ##f

   


What if I don't want a time signature in a part of a piece, and I want it
back in another part ? Setting it invisible is not a solution, since I
change it in almost every bar, and it produces spaces at the begining of the
bars.
 


To quote Section Layout tunings within contexts:

the |\revert| command for a context undoes an |\override| command

so, simply do
\revert Staff.TimeSignature #'print-function
where you want to make the time signature visible again.

  /Mats


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


Re: unmetered music question

2006-03-15 Thread Geoff Horton
 To quote Section Layout tunings within contexts:

 the |\revert| command for a context undoes an |\override| command

 so, simply do
 \revert Staff.TimeSignature #'print-function
 where you want to make the time signature visible again.

That still leaves the blank spaces within the bars. You have to remove
the engraver to stop that from happening (AFAIK), and I don't know how
to remove it and put it back as needed.

\layout {
  \context {
\Staff
\remove Time_signature_engraver
  }
}

gets rid of the engraver entirely.


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


Re: unmetered music question

2006-03-15 Thread Erik Sandberg
On Wednesday 15 March 2006 10.53, Eddy-14 wrote:
 Mats Bengtsson wrote:
  If you don't want any time signature printed, you can do
  \override Staff.TimeSignature #'print-function = ##f

 What if I don't want a time signature in a part of a piece, and I want it
 back in another part ? Setting it invisible is not a solution, since I
 change it in almost every bar, and it produces spaces at the begining of
 the bars.

The \time commands results in four property settings:
'timeSignatureFraction
'beatLength 
'measureLength
'beatGrouping
If you set those manually instead, but leave 'timeSignatureFraction untouched, 
then I think no time signature is created.

One way to figure out the values, could be to comment out the expression 
starting with:
(define-extra-display-method ContextSpeccedMusic (expr)
in
scm/define-music-display-methods.scm
and then compile a file containing:
\displayLilyMusic { \time 3/4  c } 

-- 
Erik


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


Re: unmetered music question

2006-03-15 Thread Graham Percival


On 15-Mar-06, at 3:07 AM, Geoff Horton wrote:


That still leaves the blank spaces within the bars. You have to remove
the engraver to stop that from happening (AFAIK), and I don't know how
to remove it and put it back as needed.

\layout {
  \context {
\Staff
\remove Time_signature_engraver
  }
}

gets rid of the engraver entirely.


What about
\new Staff \with {
 \remove blah } {
notes
}

Untested; see 9.1.3 for exact syntax.
- Graham



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


Re: unmetered music question

2006-03-15 Thread Geoff Horton
On 3/15/06, Graham Percival [EMAIL PROTECTED] wrote:

 On 15-Mar-06, at 3:07 AM, Geoff Horton wrote:

  That still leaves the blank spaces within the bars. You have to remove
  the engraver to stop that from happening (AFAIK), and I don't know how
  to remove it and put it back as needed.
 
  \layout {
\context {
  \Staff
  \remove Time_signature_engraver
}
  }
 
  gets rid of the engraver entirely.

 What about
 \new Staff \with {
   \remove blah } {
 notes
 }

 Untested; see 9.1.3 for exact syntax.
 - Graham



Same effect, I think. I prefer to keep the formatting decisions
isolated from the score setup as much as possible, so I'm not a big
fan of the \new syntax.

Geoff


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


Re: unmetered music question

2006-03-15 Thread Graham Percival


On 15-Mar-06, at 9:54 AM, Geoff Horton wrote:


On 3/15/06, Graham Percival [EMAIL PROTECTED] wrote:


On 15-Mar-06, at 3:07 AM, Geoff Horton wrote:

That still leaves the blank spaces within the bars. You have to 
remove
the engraver to stop that from happening (AFAIK), and I don't know 
how

to remove it and put it back as needed.


What about
\new Staff \with {
  \remove blah } {
notes
}

Same effect, I think. I prefer to keep the formatting decisions
isolated from the score setup as much as possible, so I'm not a big
fan of the \new syntax.


Well, if you want some staffs with time signatures and some staffs 
without time signatures, \with is your friend.  :)   If you want to add 
and remove time signatures in the middle of a piece, this solution 
doesn't work, of course.

- Graham



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


Re: unmetered music question

2006-03-15 Thread Mats Bengtsson

Geoff Horton wrote:


To quote Section Layout tunings within contexts:

the |\revert| command for a context undoes an |\override| command

so, simply do
\revert Staff.TimeSignature #'print-function
where you want to make the time signature visible again.
   



That still leaves the blank spaces within the bars. You have to remove
the engraver to stop that from happening (AFAIK), and I don't know how
to remove it and put it back as needed.
 


Are you really sure about that? I just tried the following
example and I cannot see any difference between the two
scores:

\version 2.6.0
\layout{
 raggedright = ##t
}

\score{\relative c'{
\override Score.TimeSignature #'print-function = ##f
\time 3/4 c c c |
\time 5/4 c c c c c |
\time 4/4 c c c c |
}
}

\score{
\new Staff \with {\remove Time_signature_engraver}
\relative c'{
\time 3/4 c c c |
\time 5/4 c c c c c |
\time 4/4 c c c c |
}
}

It's really easy to check such a thing with a small example
before sending misleading information to the mailing list.

  /Mats



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


Re: unmetered music question

2005-09-03 Thread Mats Bengtsson

If you don't want any time signature printed, you can do
\override Staff.TimeSignature #'print-function = ##f

   /Mats

Thomas Ruedas wrote:

Hi,
On Friday 02 September 2005 04:50, Mehmet Okonsar wrote:


try \cadenzaOn and \cadenzaOff


thanks Mehmet, that brought me at least much closer to the desired result. 
However, I still can't get rid of the 4/4 signature at the begin of the 
piece. Isn't there a way to switch that off? I also have the impression 
that lily doesn't quite forget that, because for some reason it omits the 
R1 rest in the first (quasi-)bar and puts it in bar 7, where it is 
completely out of place.

Any further ideas?
Thomas


--
=
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: unmetered music question

2005-09-03 Thread Thomas Ruedas
Hi again,
On Saturday 03 September 2005 17:38, Mats Bengtsson wrote:
 If you don't want any time signature printed, you can do
 \override Staff.TimeSignature #'print-function = ##f
ok, this was the final bit to produce something which is at least 
consistently structured and arithmetically correct in terms of note 
duration and time signature; the rest is fine-tuning, I guess.
For the records: the other suggestions concerning Score.timing, 
Timing.measureLength and Timing.automaticBars suggested by Kris and 
Mehmet did not change results, if I used cadenzaOn/Off anyway.
Thanks everybody for your help,
Thomas
-- 



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


Re: unmetered music question

2005-09-02 Thread Thomas Ruedas
Hi,
On Friday 02 September 2005 04:50, Mehmet Okonsar wrote:
 try \cadenzaOn and \cadenzaOff
thanks Mehmet, that brought me at least much closer to the desired result. 
However, I still can't get rid of the 4/4 signature at the begin of the 
piece. Isn't there a way to switch that off? I also have the impression 
that lily doesn't quite forget that, because for some reason it omits the 
R1 rest in the first (quasi-)bar and puts it in bar 7, where it is 
completely out of place.
Any further ideas?
Thomas
-- 


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


Re: unmetered music question

2005-09-02 Thread Kris Shaffer
Try \set Score.timing = ##f inside the staff context, instead of outside  
(referring to the code in the original email).  Also, can you post the  
whole file you're working from?  It may help the debugging.


--
Kris Shaffer
graduate student in music theory, Yale University
co-editor-in-chief for music theory, AmSteg.org
www.shaffermusic.com


On Fri, 02 Sep 2005 19:53:50 -0400, Thomas Ruedas [EMAIL PROTECTED] wrote:


Hi,
On Friday 02 September 2005 04:50, Mehmet Okonsar wrote:

try \cadenzaOn and \cadenzaOff
thanks Mehmet, that brought me at least much closer to the desired  
result.

However, I still can't get rid of the 4/4 signature at the begin of the
piece. Isn't there a way to switch that off? I also have the impression
that lily doesn't quite forget that, because for some reason it omits the
R1 rest in the first (quasi-)bar and puts it in bar 7, where it is
completely out of place.
Any further ideas?
Thomas



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


unmetered music question

2005-09-01 Thread Thomas Ruedas
Hi,
I am trying to set a piece where no meter is given, but don't quite 
succeed. What I have done is to omit the \time x/y command, but lily 
insists on having a 4/4 meter. Furthermore, I tried to follow the 
instruction from doc sect. 5.3.7 Unmetered music by setting
  \score {

 \set Score.timing = ##f
 \context Voice = fl { \FluteOne }
 \context PianoStaff 
 \context Staff = upper \UpperOne
 \context Staff = lower \LowerOne
 
 
}
and inserting bars by hand in the text for visual division of the music, 
but lily sets the bars for her 4/4 an addition to those.
Is it possible to set unmetered music the way I want with v.2.4.6, and how 
do I do it?
Thanks,
Thomas
-- 


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


Re: unmetered music question

2005-09-01 Thread Mehmet Okonsar
try \cadenzaOn and \cadenzaOff
Best Regards,
Mehmet Okonsar, pianist-composer
www.okonsar.com
- Original Message -
From: Thomas Ruedas [EMAIL PROTECTED]
To: Lilypond mailing list lilypond-user@gnu.org
Sent: Thursday, September 01, 2005 9:34 PM
Subject: unmetered music question


 Hi,
 I am trying to set a piece where no meter is given, but don't quite
 succeed. What I have done is to omit the \time x/y command, but lily
 insists on having a 4/4 meter. Furthermore, I tried to follow the
 instruction from doc sect. 5.3.7 Unmetered music by setting
   \score {
 
  \set Score.timing = ##f
  \context Voice = fl { \FluteOne }
  \context PianoStaff 
  \context Staff = upper \UpperOne
  \context Staff = lower \LowerOne
  
  
 }
 and inserting bars by hand in the text for visual division of the music,
 but lily sets the bars for her 4/4 an addition to those.
 Is it possible to set unmetered music the way I want with v.2.4.6, and how
 do I do it?
 Thanks,
 Thomas
 --


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





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