Re: No time signature or bar lines

2013-02-10 Thread ivan . k . kuznetsov

Thanks to everyone for all of the helpful information !



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


Re: No time signature or bar lines

2013-02-10 Thread SoundsFromSound
Noted, thanks!


Paul Morris-6 wrote
> On Feb 10, 2013, at 12:22 AM, SoundsFromSound <

> soundsfromsound@

> > wrote:
> 
>> Hmm, I think I maybe figured it out.  Not 100% sure if it's the most
>> lean,
>> efficient code but this seems to work great for what I want:
>> 
>> A solo piano piece with no barlines and no time signature.
> 
> Looks fine to me.  As Xavier and David mentioned, probably better to
> override the stencil instead of removing the engraver:
> 
>   \layout { 
> \context { 
>   \Staff 
>   \override TimeSignature #'stencil = #point-stencil% = ##f  also
> works
> } 
>   } 
> 
> Cheers,
> -Paul
> 
> 
> 
>> 
>> 
>> \version "2.17.10"
>> 
>> \header {
>>  % Remove default LilyPond tagline
>>  tagline = ##f
>> }
>> 
>> global = {
>>  \key c \major
>>  \numericTimeSignature
>>  \time 4/4
>> }
>> 
>> right = \relative c'' {
>>  \global
>>  \cadenzaOn
>>  c4 \times 4/5 {fis8[ g e' g,, a'] } bes16[ c c c c]
>> 
>> }
>> 
>> left = \relative c' {
>>  \global
>>  c,8[ g a bes,] f[ g] g f'es
>> 
>> }
>> 
>> \score {
>>  \new PianoStaff \with {
>>instrumentName = "Piano"
>>  } <<
>>\new Staff = "right" \right
>>\new Staff = "left" { \clef bass \left }
 
>>  \layout { 
>>%% insert these lines within the 
>>%% layout block after your music: 
>>\context { 
>>  \Staff 
>>  \remove Time_signature_engraver 
>> 
>>} 
>> 
>>  } 
>> } 
>> 
>> 
>> 
>> 
>> -
>> composer | sound designer
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/No-time-signature-or-bar-lines-tp140688p140695.html
>> Sent from the User mailing list archive at Nabble.com.
>> 
>> ___
>> lilypond-user mailing list
>> 

> lilypond-user@

>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/No-time-signature-or-bar-lines-tp140688p140718.html
Sent from the User mailing list archive at Nabble.com.

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


Re: No time signature or bar lines

2013-02-10 Thread Paul Morris
On Feb 10, 2013, at 12:22 AM, SoundsFromSound  wrote:

> Hmm, I think I maybe figured it out.  Not 100% sure if it's the most lean,
> efficient code but this seems to work great for what I want:
> 
> A solo piano piece with no barlines and no time signature.

Looks fine to me.  As Xavier and David mentioned, probably better to override 
the stencil instead of removing the engraver:

  \layout { 
\context { 
  \Staff 
  \override TimeSignature #'stencil = #point-stencil% = ##f  also works
} 
  } 

Cheers,
-Paul



> 
> 
> \version "2.17.10"
> 
> \header {
>  % Remove default LilyPond tagline
>  tagline = ##f
> }
> 
> global = {
>  \key c \major
>  \numericTimeSignature
>  \time 4/4
> }
> 
> right = \relative c'' {
>  \global
>  \cadenzaOn
>  c4 \times 4/5 {fis8[ g e' g,, a'] } bes16[ c c c c]
> 
> }
> 
> left = \relative c' {
>  \global
>  c,8[ g a bes,] f[ g] g f'es
> 
> }
> 
> \score {
>  \new PianoStaff \with {
>instrumentName = "Piano"
>  } <<
>\new Staff = "right" \right
>\new Staff = "left" { \clef bass \left }
>>> 
>  \layout { 
>%% insert these lines within the 
>%% layout block after your music: 
>\context { 
>  \Staff 
>  \remove Time_signature_engraver 
> 
>} 
> 
>  } 
> } 
> 
> 
> 
> 
> -
> composer | sound designer
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/No-time-signature-or-bar-lines-tp140688p140695.html
> Sent from the User mailing list archive at Nabble.com.
> 
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


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


Re: No time signature or bar lines

2013-02-09 Thread SoundsFromSound
Hmm, I think I maybe figured it out.  Not 100% sure if it's the most lean,
efficient code but this seems to work great for what I want:

A solo piano piece with no barlines and no time signature.



\version "2.17.10"

\header {
  % Remove default LilyPond tagline
  tagline = ##f
}

global = {
  \key c \major
  \numericTimeSignature
  \time 4/4
}

right = \relative c'' {
  \global
  \cadenzaOn
  c4 \times 4/5 {fis8[ g e' g,, a'] } bes16[ c c c c]
 
}

left = \relative c' {
  \global
  c,8[ g a bes,] f[ g] g f'es
  
}

\score {
  \new PianoStaff \with {
instrumentName = "Piano"
  } <<
\new Staff = "right" \right
\new Staff = "left" { \clef bass \left }
  >>
  \layout { 
%% insert these lines within the 
%% layout block after your music: 
\context { 
  \Staff 
  \remove Time_signature_engraver 
  
} 

  } 
} 




-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/No-time-signature-or-bar-lines-tp140688p140695.html
Sent from the User mailing list archive at Nabble.com.

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


Re: No time signature or bar lines

2013-02-09 Thread SoundsFromSound
Thank you for posting this - it helped me with an exercise I was making for
someone.

One question:

How would one do this exact thing but for a solo /piano /staff? I can't seem
to add the global time signature/no bar lines for a grand staff - it messes
it all up.  I'm making a mistake somewhere.

Can someone help me do this with a piano staff?
(\new PianoStaff?)

Thanks!


Paul Morris-6 wrote
> On Feb 9, 2013, at 6:53 PM, 

> ivan.k.kuznetsov@

>  wrote:
> 
>> (1) the example below is pretty much what I want expect
>> that there is space where the time signature would normally go 
>> (I erase the time signature with
>> "\override TimeSignature #'transparent = ##t" but the space
>> is still there). 
>> 
>> How can I get rid of this space?
> 
> I don't know why this does not work:
> 
> %%
>  \version "2.16.0"
> 
> \score { % score
> 
>  \new Staff \with { 
>\override TimeSignature #'break-visibility = #'#(#f #f #f) }  % <---
> ADDED
>  {
>  \time 4/4
>  \key c \major
>  \clef "treble"
>\cadenzaOn
> a1b1
> c'1   d'1   e'1   f'1   g'1   a'1   b'1 
> c''1  d''1  e''1  f''1  g''1  a''1  b''1
>\cadenzaOff
>  }
> 
>  \layout {
> 
>\context {
>   \Score
>  % 
>}
>  }
> 
> } % score
> %%
> 
> ...as described here:
> http://lilypond.org/doc/v2.16/Documentation/notation/visibility-of-objects#using-break_002dvisibility
> 
> But the following works.  
> 
> HTH,
> -Paul
> 
> %%
>  \version "2.16.0"
> 
> \score { % score
> 
>  \new Staff \with { \remove "Time_signature_engraver" }  % <--- ADDED
>  {
>  \time 4/4
>  \key c \major
>  \clef "treble"
>\cadenzaOn
> a1b1
> c'1   d'1   e'1   f'1   g'1   a'1   b'1
> c''1  d''1  e''1  f''1  g''1  a''1  b''1
>\cadenzaOff
>  }
> 
>  \layout {
> 
>\context {
>   \Score
>   % \override TimeSignature #'transparent = ##t  
>}
>  }
> 
> } % score
> 
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user





-
composer | sound designer
--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/No-time-signature-or-bar-lines-tp140688p140694.html
Sent from the User mailing list archive at Nabble.com.

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


Re: No time signature or bar lines

2013-02-09 Thread Paul Morris
On Feb 9, 2013, at 6:53 PM, ivan.k.kuznet...@gmail.com wrote:

> (1) the example below is pretty much what I want expect
> that there is space where the time signature would normally go 
> (I erase the time signature with
> "\override TimeSignature #'transparent = ##t" but the space
> is still there). 
> 
> How can I get rid of this space?

I don't know why this does not work:

%%
 \version "2.16.0"

\score { % score

 \new Staff \with { 
   \override TimeSignature #'break-visibility = #'#(#f #f #f) }  % <--- ADDED
 {
 \time 4/4
 \key c \major
 \clef "treble"
   \cadenzaOn
a1b1
c'1   d'1   e'1   f'1   g'1   a'1   b'1 
c''1  d''1  e''1  f''1  g''1  a''1  b''1
   \cadenzaOff
 }

 \layout {

   \context {
  \Score
 % 
   }
 }

} % score
%%

...as described here:
http://lilypond.org/doc/v2.16/Documentation/notation/visibility-of-objects#using-break_002dvisibility

But the following works.  

HTH,
-Paul

%%
 \version "2.16.0"

\score { % score

 \new Staff \with { \remove "Time_signature_engraver" }  % <--- ADDED
 {
 \time 4/4
 \key c \major
 \clef "treble"
   \cadenzaOn
a1b1
c'1   d'1   e'1   f'1   g'1   a'1   b'1
c''1  d''1  e''1  f''1  g''1  a''1  b''1
   \cadenzaOff
 }

 \layout {

   \context {
  \Score
  % \override TimeSignature #'transparent = ##t  
   }
 }

} % score



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


Re: No time signature or bar lines

2013-02-09 Thread Xavier Scheuer
On 10 February 2013 00:53,   wrote:
>
> I need to create musical examples for instruction
> and many of these ideally would have no bar lines
> or time signatures.  Appended is such an example.
>
>
> (1) the example below is pretty much what I want expect
> that there is space where the time signature would normally go
> (I erase the time signature with
> "\override TimeSignature #'transparent = ##t" but the space
> is still there).
>
> How can I get rid of this space?

  \override Staff.TimeSignature #'stencil = ##f
(or remove "Time_signature_engraver" but I would not use this because
of possible "side-effects" that could occur)


> (2) Are the \cadenzaOn and \cadenzaOff tags the standard way to
> write musical examples without bar lines or are there
> other ways that might be preferable in such examples?

IIRC \cadenzaOn prevents automatic line breaks, you need to insert
manually \bar "" commands at places you want to allow line breaks.

  \set Timing.defaultBarType = ""
does not have this drawback and thus might be preferable depending on
what you want.

Cheers,
Xavier

-- 
Xavier Scheuer 

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