Re: Possible to adjust relative midi volume of a single voice?

2010-03-25 Thread Dmytro O. Redchuk
У ср, 2010-03-24 у 23:23 +0100, Carl Youngblood пише:
 I am writing a six-part male choir arrangement and would like to
 generate midi for each part that plays the part louder than the rest.
 Although I can use a sequencing program to adjust the volume of a
 given track, it would be nice to be able to generate voices with a
 specific volume or relative volume in my lilypond source. Does anyone
 know how to do this? Here is my source code:
[...]

   \midi {
 \context {
   \Staff
   \remove Staff_performer
 }
 \context {
   \Voice
   \consists Staff_performer
 }
I believe, now it should be possible to tune volumes with setting them
at Voice level, something like this:

tenoronenotes = \relative c {
  \set Voice.midiMinimumVolume = #0.2
  \set Voice.midiMaximumVolume = #0.7
  %
  % notes...
}

I am not sure though.)

ps. I can be wrong. Have you btw read Controlling MIDI dynamics in
Notation Reference?

-- 
  Dmytro O. Redchuk



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


Re: Tuplets, one-line staves etc. in lilypond-book

2010-03-25 Thread Siska Ádám
I found that including music signs without the staff (in other words, having 
music glyphs freely in the text) is something more solvable from the LaTeX side 
than the lilypond-book way. However, I still don't know about the tuplets. Is 
there really no way to have tuplets in a lilypond-book excerpt? That sounds 
weird to me. Anyway, if it can't be solved in a standard way, does anybody have 
an idea for a workaround?


Thank you,
Adam


On 2010.03.24., at 1:58, Siska Ádám wrote:

 Hello Members,
 
 
 I am writing a score with LaTeX  Lilypond-book where I need a lot of inline 
 excerpts in the text. As I noticed, using the Lilypond environment doesn't 
 let me inline citations of score fragments as it always creates a new 
 paragraph for the music, therefore I can only live with the \lilypond 
 command. However, since { and } is not supported within this command, there 
 are a couple of things I can't really solve. Here's a list of the things I 
 couldn't find out up to now. Please, if anyone of you had a suggestion, don't 
 hesitate to tell me. Thanks!
 
 - Creating tuplets. Using the \times command won't put a bracket over my 
 tuplets, as it applies only to the first note.
 - Removing/modifying the staff. At a point I need to include a few rythm 
 patterns for which I don't need a 5-line stave. I either need an one-line 
 stave, or (which could be even better), I needed no stave at all, just the 
 rythms.
 - Including music signs without a staff. I can't find out how could I put 
 (for example) a \pp sign in my text without getting a stave.
 
 
 Thank you all for your kind help,
 Ádám
 
 
 
 ___
 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


Re: Setting 3/4 beaming

2010-03-25 Thread Carl Sorensen



On 3/25/10 4:40 AM, T.Skeggs t.ske...@talktalk.net wrote:

 Thank you for the mantra required to inhibit 6/8 beaming in 3/4 time
 [viz.  \overrideBeamSettings #'Score #'(3 . 4) #'end #'((* . (1 1 1)))  ]
 
 It took a bit of trial-and-error to find a location for this command that
 took effect
 (not with the early global (key/time) commands, nor inside the Score block),
 but it is overall more effective than the use of multiple  \noBeam
 commands.

There are examples in the documentation that show how to use
\overrideBeamSettings (see the Notation Reference for 2.13, Section 1.2.4
Setting automatic beam behavior).

What made it hard to follow those examples?  If you can tell us, we may be
able to improve the documentation.

 
 The command:  \WaltzTimeBeams   would have been more intuitive, and it makes
 me
 wonder just how many musicians find themselves spending more time trying to
 learn
 Lilypond that actually writing music?

I'm sure that it takes newcomers to LilyPond time to learn how to do all the
customization they need.  It also takes musicians time to learn to play an
instrument.  I think both take time to learn, but bring satisfaction once
the learning takes place.

It would have taken as much time to find the \waltzTimeBeams command in the
documentation as it would have to find \overrideBeamSettings.  And then you
would not have any idea how to fix automatic beam settings in other
settings.

You could help the LilyPond project by creating a brief example of
how to set beams to waltz time, and putting it in a snippet in the LSR,
where it would be added to the documentation.

Thanks,

Carl



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


Re: Tablature without white space around TabNoteHead

2010-03-25 Thread Carl Sorensen



On 3/24/10 11:31 AM, David Stocker dstoc...@notesettersinc.com wrote:

 Is there a way to prevent LilyPond from whiting out the space around tablature
 numbers, so that the tablature staff line goes all the way through the tab
 number?

Yes, use

\override TabNoteHead #'whiteout = ##t

When you get this figured out, would you please make a snippet for inclusion
in the LSR and the documentation?

Thanks,

Carl



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


Re: Tablature without white space around TabNoteHead

2010-03-25 Thread David Stocker

Do you need an accompanying text for the docs?

On 03/25/2010 09:33 AM, Carl Sorensen wrote:



On 3/24/10 11:31 AM, David Stockerdstoc...@notesettersinc.com  wrote:

   

Is there a way to prevent LilyPond from whiting out the space around tablature
numbers, so that the tablature staff line goes all the way through the tab
number?
 

Yes, use

\override TabNoteHead #'whiteout = ##t

When you get this figured out, would you please make a snippet for inclusion
in the LSR and the documentation?

Thanks,

Carl



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

   


--
David Stocker
804-598-3762
http://notesettersinc.com

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


Re: Tablature without white space around TabNoteHead

2010-03-25 Thread David Stocker

Carl,

I don't know if this is what you need, but the code snippet works fine 
and I think it sufficiently demonstrates what I was after.


For the Notation Reference and LSR:

You can tell LilyPond to break tab lines around the tab numbers, or to 
draw tab lines all the way through the numbers. This is controlled with 
code\override TabNoteHead #'whiteout/code, which is set to true by 
default.


music = {
  \relative c {
c e g c e4 g b d g b f' c e g c e2
  }
}


  \new Staff {
\clef treble_8
\music
  }
  \new TabStaff {
\override TabNoteHead #'whiteout = ##t
\music
  }



  \new Staff {
\clef treble_8
\music
  }
  \new TabStaff {
\override TabNoteHead #'whiteout = ##f
\music
  }



On 03/25/2010 09:33 AM, Carl Sorensen wrote:




On 3/24/10 11:31 AM, David Stockerdstoc...@notesettersinc.com  wrote:


Is there a way to prevent LilyPond from whiting out the space around tablature
numbers, so that the tablature staff line goes all the way through the tab
number?


Yes, use

\override TabNoteHead #'whiteout = ##t

When you get this figured out, would you please make a snippet for inclusion
in the LSR and the documentation?

Thanks,

Carl



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



--
David Stocker
804-598-3762
http://notesettersinc.com

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


Strange behavior with slurs in Tab when overriding whiteout

2010-03-25 Thread David Stocker
Has anyone encountered this? It seems like a bug. Using \override 
TabNoteHead #'whiteout = ##f causes slurs to jump to a different voice 
in the TabStaff when two voices are present.


For what it's worth, the very presence of the \override seems to be the 
trigger. In the first example, uncommenting the override and changing it 
to ##t yields the same result (only with whiteout around the tab numbers).


\version 2.13.16

\include english.ly

fingers = {
  \relative c' {
\voiceOne
\partial 4
%p
e8( fs )
%1
g4
  }
}

thumb = {
  \relative c, {
\voiceTwo
\partial 4
%p
fs8 e
%1
e4
  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\fingers
  }
  \new Voice = thumb {
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
%\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\fingers
  }
  \new Voice = thumb {
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

--
David Stocker
804-598-3762
http://notesettersinc.com

\version 2.13.16

\include english.ly

fingers = {
  \relative c' {
\voiceOne
\partial 4
%p
e8( fs )
%1
g4
  }
}

thumb = {
  \relative c, {
\voiceTwo
\partial 4
%p
fs8 e
%1
e4
  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
	\clef treble_8
	\key e \minor
	\numericTimeSignature
	\time 4/4
	
	  \new Voice = fingers {
	\fingers
	  }
	  \new Voice = thumb {
	\thumb
	  }
	
  }
  \new TabStaff = tablature {
	\clef moderntab
	%\override TabNoteHead #'whiteout = ##f
	
	  { \fingers }
	  { \thumb }
	
  }

  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
	\clef treble_8
	\key e \minor
	\numericTimeSignature
	\time 4/4
	
	  \new Voice = fingers {
	\fingers
	  }
	  \new Voice = thumb {
	\thumb
	  }
	
  }
  \new TabStaff = tablature {
	\clef moderntab
	\override TabNoteHead #'whiteout = ##f
	
	  { \fingers }
	  { \thumb }
	
  }

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


Re: Tablature without white space around TabNoteHead

2010-03-25 Thread David Stocker
Moving the \voiceOne and \voiceTwo commands out of the variables and 
into the appropriate voices in the notation staff avoids the problem 
altogether. So the problem seems to be related to delineating anything 
having to do with voices in a TabStaff.


\version 2.13.16

\include english.ly

fingers = {
  \relative c' {
%\voiceOne
\partial 4
%p
e8( fs )
%1
g4
  }
}

thumb = {
  \relative c, {
%\voiceTwo
\partial 4
%p
fs8 e
%1
e4
  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\voiceOne
\fingers
  }
  \new Voice = thumb {
\voiceTwo
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
%\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\voiceOne
\fingers
  }
  \new Voice = thumb {
\voiceTwo
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

On 03/25/2010 10:22 AM, David Stocker wrote:

Carl,

I don't know if this is what you need, but the code snippet works fine 
and I think it sufficiently demonstrates what I was after.


For the Notation Reference and LSR:

You can tell LilyPond to break tab lines around the tab numbers, or to 
draw tab lines all the way through the numbers. This is controlled 
with code\override TabNoteHead #'whiteout/code, which is set to 
true by default.


music = {
  \relative c {
c e g c e4 g b d g b f' c e g c e2
  }
}


  \new Staff {
\clef treble_8
\music
  }
  \new TabStaff {
\override TabNoteHead #'whiteout = ##t
\music
  }



  \new Staff {
\clef treble_8
\music
  }
  \new TabStaff {
\override TabNoteHead #'whiteout = ##f
\music
  }



On 03/25/2010 09:33 AM, Carl Sorensen wrote:




On 3/24/10 11:31 AM, David Stockerdstoc...@notesettersinc.com  wrote:


Is there a way to prevent LilyPond from whiting out the space around tablature
numbers, so that the tablature staff line goes all the way through the tab
number?


Yes, use

\override TabNoteHead #'whiteout = ##t

When you get this figured out, would you please make a snippet for inclusion
in the LSR and the documentation?

Thanks,

Carl



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



--
David Stocker
804-598-3762
http://notesettersinc.com


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


--
David Stocker
804-598-3762
http://notesettersinc.com

\version 2.13.16

\include english.ly

fingers = {
  \relative c' {
%\voiceOne
\partial 4
%p
e8( fs )
%1
g4
  }
}

thumb = {
  \relative c, {
%\voiceTwo
\partial 4
%p
fs8 e
%1
e4
  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
	\clef treble_8
	\key e \minor
	\numericTimeSignature
	\time 4/4
	
	  \new Voice = fingers {
	\voiceOne
	\fingers
	  }
	  \new Voice = thumb {
	\voiceTwo
	\thumb
	  }
	
  }
  \new TabStaff = tablature {
	\clef moderntab
	%\override TabNoteHead #'whiteout = ##f
	
	  { \fingers }
	  { \thumb }
	
  }

  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
	\clef treble_8
	\key e \minor
	\numericTimeSignature
	\time 4/4
	
	  \new Voice = fingers {
	\voiceOne
	\fingers
	  }
	  \new Voice = thumb {
	\voiceTwo
	\thumb
	  }
	
  }
  \new TabStaff = tablature {
	\clef moderntab
	\override TabNoteHead #'whiteout = ##f
	
	  { \fingers }
	  { \thumb }
	
  }

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


Re: Strange behavior with slurs in Tab when overriding whiteout

2010-03-25 Thread David Stocker

Just reposting this to the right thread. My bad.

On 03/25/2010 10:40 AM, David Stocker wrote:
Moving the \voiceOne and \voiceTwo commands out of the variables and 
into the appropriate voices in the notation staff avoids the problem 
altogether. So the problem seems to be related to delineating anything 
having to do with voices in a TabStaff.


\version 2.13.16

\include english.ly

fingers = {
  \relative c' {
%\voiceOne
\partial 4
%p
e8( fs )
%1
g4
  }
}

thumb = {
  \relative c, {
%\voiceTwo
\partial 4
%p
fs8 e
%1
e4
  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\voiceOne
\fingers
  }
  \new Voice = thumb {
\voiceTwo
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
%\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\voiceOne
\fingers
  }
  \new Voice = thumb {
\voiceTwo
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

On 03/25/2010 10:22 AM, David Stocker wrote:

Carl,

I don't know if this is what you need, but the code snippet works 
fine and I think it sufficiently demonstrates what I was after.


For the Notation Reference and LSR:

You can tell LilyPond to break tab lines around the tab numbers, or 
to draw tab lines all the way through the numbers. This is controlled 
with code\override TabNoteHead #'whiteout/code, which is set to 
true by default.


music = {
  \relative c {
c e g c e4 g b d g b f' c e g c e2
  }
}


  \new Staff {
\clef treble_8
\music
  }
  \new TabStaff {
\override TabNoteHead #'whiteout = ##t
\music
  }



  \new Staff {
\clef treble_8
\music
  }
  \new TabStaff {
\override TabNoteHead #'whiteout = ##f
\music
  }



On 03/25/2010 09:33 AM, Carl Sorensen wrote:




On 3/24/10 11:31 AM, David Stockerdstoc...@notesettersinc.com  wrote:


Is there a way to prevent LilyPond from whiting out the space around tablature
numbers, so that the tablature staff line goes all the way through the tab
number?


Yes, use

\override TabNoteHead #'whiteout = ##t

When you get this figured out, would you please make a snippet for inclusion
in the LSR and the documentation?

Thanks,

Carl



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



--
David Stocker
804-598-3762
http://notesettersinc.com


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


--
David Stocker
804-598-3762
http://notesettersinc.com


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


--
David Stocker
804-598-3762
http://notesettersinc.com

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


Re: Strange behavior with slurs in Tab when overriding whiteout

2010-03-25 Thread Trevor Daniels

David

This is another effect of relying on the implicit declaration
of Voice contexts.  Because no tab voice exists when the
override is encountered one is created, and notes from both
\fingers and \thumb are placed in that one voice.  You'll find the
same effect is created with any override at that point.  If you
apply the override to the Staff context only the two voices you
require are created implicitly and I think you will find all is
well.  Alternatively you can create the tab voices explicitly and
place the override inside each of them.

Yes, I suppose it is a bug of sorts, but really it is due to
LilyPond trying to determine what you want from imprecise code
and making assumptions that produce, in this case, the wrong result.

Trevor


- Original Message - 
From: David Stocker dstoc...@notesettersinc.com

To: lilypond-user@gnu.org
Sent: Thursday, March 25, 2010 2:34 PM
Subject: Strange behavior with slurs in Tab when overriding whiteout



Has anyone encountered this? It seems like a bug. Using \override
TabNoteHead #'whiteout = ##f causes slurs to jump to a different 
voice

in the TabStaff when two voices are present.

For what it's worth, the very presence of the \override seems to 
be the
trigger. In the first example, uncommenting the override and 
changing it
to ##t yields the same result (only with whiteout around the tab 
numbers).


\version 2.13.16

\include english.ly

fingers = {
  \relative c' {
\voiceOne
\partial 4
%p
e8( fs )
%1
g4
  }
}

thumb = {
  \relative c, {
\voiceTwo
\partial 4
%p
fs8 e
%1
e4
  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\fingers
  }
  \new Voice = thumb {
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
%\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

\score {
  \new StaffGroup = Guiter/Tab {

  \new Staff = notation {
\clef treble_8
\key e \minor
\numericTimeSignature
\time 4/4

  \new Voice = fingers {
\fingers
  }
  \new Voice = thumb {
\thumb
  }

  }
  \new TabStaff = tablature {
\clef moderntab
\override TabNoteHead #'whiteout = ##f

  { \fingers }
  { \thumb }

  }

  }
}

--
David Stocker
804-598-3762
http://notesettersinc.com









___
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


Corrections for Instructions for cygwin lilypond

2010-03-25 Thread Andrew Senior
I found these instructions http://lilypond.org/install/cygwin 
via Google and have a couple of fixes to suggest: 

1) the instructions should be referenced from the download page 
http://lilypond.org/install/ - I gave up on a cygwin install when I didn't find 
it 
there. 

2) I found that in the cygwin installer lilypond isn't under publishing but 
under interpreters (and the documentation is under docs.)

Just FYI.




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