Re: list of thicknesses affected by changing StaffSymbol.thickness

2016-02-08 Thread Paul Morris
> On Jan 31, 2016, at 5:15 PM, Simon Albrecht  wrote:
> 
> I do think that it should be easier to override staff line thickness in a 
> style sheet without changing other line thicknesses.

This would indeed be a good thing.  In the meantime, this snippet shows a 
possible workaround/hack:

http://lsr.di.unimi.it/LSR/Item?id=277

You may have to hold your nose, although it’s probably more foolproof than 
trying to do an inverse setting for everything affected by line-thickness.

To make things easier, I can imagine a user function that returns a list of 
line positions based on a thickness argument (and maybe optionally a line 
pattern list).  So for a staff with a single line at position '(2) it would 
return '(1.9  2  2.1) or maybe just '(1.9  2.1) when given a thickness argument 
of 0.2

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


Re: LSR search not working?

2016-02-08 Thread Pierre Perol-Schneider
Now I see. Smart idea!

Cheers,
Pierre

2016-02-07 23:31 GMT+01:00 Thomas Morley :

> 2016-02-07 12:13 GMT+01:00 Pierre Perol-Schneider
> :
> > 2016-02-05 10:38 GMT+01:00 Thomas Morley :
> >> - Doc-tag is removed. The way the bass-signs, "///a" etc, are done
> >> feels more like a workaround.
> >>   Not sure about it, though. Phil cc-ed, a second opinion would be nice.
> >
> >
> > This is definitely a workaround. Thing is, there is no reason that I
> know to
> > put each bass lute string as single, or?
>
> I wonder if it would be possible to tweak TabStaff to put out "///a",
> etc for pitches below lowest string.
> I mean, TabStaff is a special Staff. A common Staff uses LedgerLines
> for lower pitches...
> Worth some research/test I'd say.
> No clue when I'll have the time for it, though...
>
> Cheers,
>   Harm
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: overlaying noteheads in different voices

2016-02-08 Thread Nathan Ho

On 2016-02-08 19:27, Charles O. Lawrence wrote:

How do I get the dotted half low a in voice 2 to overlay (blot out? I
don't know the proper terminology) the eighth low a in voice 1?

I searched the LSR, but came up empty, probably because I don't know
the proper lilypond terminology for this notation.



Hi Charles,

I don't advise doing this because it is possible to interpret the eighth 
note as dotted. But if you must, you're looking for 
\mergeDifferentlyHeadedOn and \mergeDifferentlyDottedOn. See 
http://lilypond.org/doc/v2.18/Documentation/notation/multiple-voices#collision-resolution



Nathan

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


Re: Cannot resolve rest collision: rest direction not set

2016-02-08 Thread Brian Barker

At 19:26 08/02/2016 -0500, Joseph N. Srednicki wrote:
I receive the warning "cannot resolve rest collision: rest direction 
not set" when I compile the code listed below. Is there anything 
else that I can do to avoid the warning or am I overlooking something?


You need to add \voiceOne, \voiceTwo, etc. If you do that, the 
warnings disappear. See

http://lilypond.org/doc/v2.19/Documentation/notation/multiple-voices .

Oh, and you can then dispense with your \stemDown, which happens automatically.

Brian Barker 



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


overlaying noteheads in different voices

2016-02-08 Thread Charles O. Lawrence
How do I get the dotted half low a in voice 2 to overlay (blot out? I don't
know the proper terminology) the eighth low a in voice 1?

 

I searched the LSR, but came up empty, probably because I don't know the
proper lilypond terminology for this notation.

 

\new Staff

\relative c'' {

\time 6/8

<<

  \new Voice = "1" { \voiceOne {a,8 a' b c d e | }}

  \new Voice = "2" { \voiceTwo {a,,2. }}

>>

\bar "|." }

 

Thanks,

Charles

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


Re: list of thicknesses affected by changing StaffSymbol.thickness

2016-02-08 Thread Paul Morris
> On Feb 8, 2016, at 11:33 AM, Paul Morris  wrote:
> 
> To make things easier, I can imagine a user function that returns a list of 
> line positions based on a thickness argument (and maybe optionally a line 
> pattern list).  So for a staff with a single line at position '(2) it would 
> return '(1.9  2  2.1) or maybe just '(1.9  2.1) when given a thickness 
> argument of 0.2

\version "2.18.2"

#(define (thicker-line-positions thick pattern)
   (let ((th (/ thick 2)))
   (append-map 
(lambda (ln) (list (- ln th) ln (+ ln th)))
pattern)))

% #(display (thicker-line-positions 0.1 '(-4 -2 0 2 4)))
% displays:  (-4.05 -4 -3.95 -2.05 -2 -1.95 -0.05 0 0.05 1.95 2 2.05 3.95 4 
4.05)

#(define (line-positions-callback thick pattern)
   (lambda (grob) 
 (thicker-line-positions thick pattern)))


\relative {
  c'1 c c c 
}

\relative {
  \override Staff.StaffSymbol.line-positions =
  #(lambda (grob) (thicker-line-positions 0.2 '(-4 -2 0 2 4)))
  c'1 c c c 
}

\relative {
  \override Staff.StaffSymbol.line-positions =
  #(line-positions-callback 0.2 '(-4 -2 0 2 4))
  c'1 c c c 
}

%%

If we wanted to get extra fancy, we might be able to get the line-thickness 
property from the grob, and then use that to calculate things... such that when 
you entered X as a thickness input it would result in the same line thickness 
as entering X directly as a line-thickness value.  

…or there’s visual eyeballing and trial and error with the above.

Cheers,
-Paul 






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


It is possible de play Snear Roll Midi with midi TAG, if yes, how ?

2016-02-08 Thread Steve Prud'Homme
Hi, I really like this website :
http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html where
they explain how to play a midi arpegio that don't play by default in midi
with Lilypond. I want to know if it's possible to program snear roll to
play in midi, the same way, with midi tag.

-- 
Posté par Steve Prud'Homme
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: It is possible de play Snear Roll Midi with midi TAG, if yes, how ?

2016-02-08 Thread Steve Prud'Homme
In this post :
http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html
We transform what is seen like an arpegio in this :

  \tag #'midi {
\set tieWaitForNote = ##t
\grace { ef16 ~ af ~ bf ~ ef ~ } 2
\unset tieWaitForNote
  }

So we cheat. So it is possible cheat midi to recreate a rool.
Question : What is a roll 1/64 notes 1/128 notes ?
How can I cheat to fake a snear roll.

2016-02-08 14:28 GMT-05:00 immanuel litzroth :

> Midi standard does not include a snare roll. Many drum programs
> do include it but it's not standardized.
> Immanuel
>
> On Mon, Feb 8, 2016 at 6:39 PM, Steve Prud'Homme 
> wrote:
>
>> Hi, I really like this website :
>> http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html
>> where they explain how to play a midi arpegio that don't play by default in
>> midi with Lilypond. I want to know if it's possible to program snear roll
>> to play in midi, the same way, with midi tag.
>>
>> --
>> Posté par Steve Prud'Homme
>>
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>


-- 
Posté par Steve Prud'Homme
sprud...@gmail.com
514 466-3951
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: It is possible de play Snear Roll Midi with midi TAG, if yes, how ?

2016-02-08 Thread tisimst
Steve,

On Mon, Feb 8, 2016 at 1:33 PM, Steve Prud'Homme [via Lilypond] <
ml-node+s1069038n187021...@n5.nabble.com> wrote:

> In this post :
> http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html
> We transform what is seen like an arpegio in this :
>
>   \tag #'midi {
> \set tieWaitForNote = ##t
> \grace { ef16 ~ af ~ bf ~ ef ~ } 2
> \unset tieWaitForNote
>   }
>
> So we cheat. So it is possible cheat midi to recreate a rool.
> Question : What is a roll 1/64 notes 1/128 notes ?
> How can I cheat to fake a snear roll.
>

Try this out:

%

\version "2.18.2"

drumroll = \drummode {
  \tag #'midi {
\repeat unfold 64 sn64  % <--- here's what we want to hear
  sn8->
  }
  \tag #'engrave {
sn1 \startTrillSpan  % <--- here's what we want to see
sn8-> \stopTrillSpan
  }
}

% Engraved score
\score {
  \new DrumStaff {
\keepWithTag #'engrave \drumroll
  }
  \layout {}
}

% MIDI score
\score {
  \new DrumStaff {
\keepWithTag #'midi \drumroll
  }
  \midi {}
}

%

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/It-is-possible-de-play-Snear-Roll-Midi-with-midi-TAG-if-yes-how-tp187012p187022.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: It is possible de play Snear Roll Midi with midi TAG, if yes, how ?

2016-02-08 Thread immanuel litzroth
Midi standard does not include a snare roll. Many drum programs
do include it but it's not standardized.
Immanuel

On Mon, Feb 8, 2016 at 6:39 PM, Steve Prud'Homme  wrote:

> Hi, I really like this website :
> http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html
> where they explain how to play a midi arpegio that don't play by default in
> midi with Lilypond. I want to know if it's possible to program snear roll
> to play in midi, the same way, with midi tag.
>
> --
> Posté par Steve Prud'Homme
>
>
>
> ___
> 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


Tuplet with dashed tie

2016-02-08 Thread Gregor Giesen
Hi,

how can I write a dashed tie within a tuplet? In the following example
"\tieDashed" is ignored:

{
  \tieDashed \tuplet 3/2 { c' ( e') g' }
}

Alternatively, a tilde also does not work:
{
  \tieDashed \tuplet 3/2 { c' ~ e' g' }
}
Moreover, this yields the warning: unterminated tie.

Thanks in advance,
Gregor


signature.asc
Description: This is a digitally signed message part
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tuplet with dashed tie

2016-02-08 Thread Ralph Palmer
On Mon, Feb 8, 2016 at 2:58 PM, Gregor Giesen  wrote:

> Hi,
>
> how can I write a dashed tie within a tuplet? In the following example
> "\tieDashed" is ignored:
>
> Thanks in advance,
> Gregor


Greetings, Gregor -

This is not a tie. It's a slur. This works :

%%%

{
  \slurDashed \tuplet 3/2 { c'( e') g' }
}



Hope this helps,

Ralph

-- 
Ralph Palmer
Brattleboro, VT
USA
palmer.r.vio...@gmail.com
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Tuplet with dashed tie

2016-02-08 Thread David Kastrup
Gregor Giesen  writes:

> how can I write a dashed tie within a tuplet? In the following example
> "\tieDashed" is ignored:
>
> {
>   \tieDashed \tuplet 3/2 { c' ( e') g' }
> }

Because there is no tie in that example?

> Alternatively, a tilde also does not work:
> {
>   \tieDashed \tuplet 3/2 { c' ~ e' g' }
> }
> Moreover, this yields the warning: unterminated tie.

Which is correct as there is no c' to tie to.  Maybe you should check
the difference between tie and slur in the manual.  In German, it would
be the difference between "Haltebogen" and "Bindebogen".

\slurDashed works as expected.  So does \tieDashed but only if you
actually have a tie.

-- 
David Kastrup

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


Re: Tuplet with dashed tie

2016-02-08 Thread Robert Schmaus

Hi Gregor,

your first example doesn't work because what you have in the tuplet is 
in fact not a tie but a slur. Thus, \slurDashed *does* work.


The second example does not work because ties only work between two 
notes of the *same* pitch, therefore you get a warning about c not being 
tied to anything that could terminate the tie ...


Best,
Robert





Am 08/02/16 um 20:58 schrieb Gregor Giesen:

Hi,

how can I write a dashed tie within a tuplet? In the following example
"\tieDashed" is ignored:

{
   \tieDashed \tuplet 3/2 { c' ( e') g' }
}

Alternatively, a tilde also does not work:
{
   \tieDashed \tuplet 3/2 { c' ~ e' g' }
}
Moreover, this yields the warning: unterminated tie.

Thanks in advance,
Gregor



___
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: It is possible de play Snear Roll Midi with midi TAG, if yes, how ?

2016-02-08 Thread immanuel litzroth
That won't sound like a roll, but like a machinegun :-)
If these things aren't prerecorded in your software it's really
hard to get a convincing roll.
Immanuel

On Mon, Feb 8, 2016 at 9:52 PM, tisimst  wrote:

> Steve,
>
> On Mon, Feb 8, 2016 at 1:33 PM, Steve Prud'Homme [via Lilypond] <[hidden
> email] > wrote:
>
>> In this post :
>> http://lists.gnu.org/archive/html/lilypond-user/2011-05/msg00028.html
>> We transform what is seen like an arpegio in this :
>>
>>   \tag #'midi {
>> \set tieWaitForNote = ##t
>> \grace { ef16 ~ af ~ bf ~ ef ~ } 2
>> \unset tieWaitForNote
>>   }
>>
>> So we cheat. So it is possible cheat midi to recreate a rool.
>> Question : What is a roll 1/64 notes 1/128 notes ?
>> How can I cheat to fake a snear roll.
>>
>
> Try this out:
>
> %
>
> \version "2.18.2"
>
> drumroll = \drummode {
>   \tag #'midi {
> \repeat unfold 64 sn64  % <--- here's what we want to hear
>   sn8->
>   }
>   \tag #'engrave {
> sn1 \startTrillSpan  % <--- here's what we want to see
> sn8-> \stopTrillSpan
>   }
> }
>
> % Engraved score
> \score {
>   \new DrumStaff {
> \keepWithTag #'engrave \drumroll
>   }
>   \layout {}
> }
>
> % MIDI score
> \score {
>   \new DrumStaff {
> \keepWithTag #'midi \drumroll
>   }
>   \midi {}
> }
>
> %
>
> HTH,
> Abraham
>
>
> --
> View this message in context: Re: It is possible de play Snear Roll Midi
> with midi TAG, if yes, how ?
> 
> 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


Cannot resolve rest collision: rest direction not set

2016-02-08 Thread Joseph N. Srednicki
Hello:

 

I receive the warning "cannot resolve rest collision: rest direction not
set" when I compile the code listed below.

 

I tried to follow the recommendation in the attached post to avoid the
warning:

 

http://lilypond.1069038.n5.nabble.com/Resolving-quot-cannot-resolve-rest-col
lision-rest-direction-not-set-quot-warnings-td138061.html

 

Is there anything else that I can do to avoid the warning or am I
overlooking something?

 

Thanks for any suggestions that you are willing to provide.

 

Joe Srednicki

 

\version "2.19.35"

\language "english"

 

global = {

  \key d \dorian

  \time 6/8

}

 

rightOne = { \new Voice = "soprano" \relative c'' 

 {

   \global

   \partial 4. a4.

   a4. f4.

 }

  }

  

rightTwo = { \new Voice = "soprano" \relative c''  {

  \global

   r4. r16 \stemDown g [f e d cs] d4.

 }

}

 

leftOne = { \new Voice = "tenor" \relative c' {

\global

a4.\rest

a4.\rest a16\rest c [bf d g f] |

} 

}

 

leftTwo = { \new Voice = "bass" \relative c' {

\global

a,4.\rest

\override MultiMeasureRest #'staff-position = #-2

R2.

}

}

 

\score {

  \new PianoStaff <<

\new Staff = "right" << \rightOne \\ \rightTwo >>

\new Staff = "left" { \clef bass << \leftOne \\ \leftTwo >> }

  >>

  \layout { }

}

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