Re: A help document i would like to have

2014-09-27 Thread TaoCG
I see, I misunderstood. More like the opposite approach to LilyPonds glossary
then.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/A-help-document-i-would-like-to-have-tp166860p166871.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: A help document i would like to have

2014-09-27 Thread TaoCG
There is a music glossary as part of the LilyPond references which, I
believe, is what you're looking for, though many entries are incomplete yet.

http://lilypond.org/doc/v2.18/Documentation/music-glossary/index.html

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/A-help-document-i-would-like-to-have-tp166860p166866.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: Strange happenings with alternate music fonts 2.19.14

2014-09-26 Thread TaoCG
My guess is that it has nothing to do with the new fonts.
See this issue https://code.google.com/p/lilypond/issues/detail?id=4102



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Strange-happenings-with-alternate-music-fonts-2-19-14-tp166835p166838.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: Problem with \showStaffSwitch

2014-09-19 Thread TaoCG
Noeck wrote
> Am 19.09.2014 um 21:45 schrieb TaoCG:
>> Now I have to guess your problem and my guess is that you didn't connect
>> the
>> notes with \glissando. The line won't print automatically after a staff
>> change.
> 
> What he is looking for is not a glissando but a visible staff switch
> which is printed automatically when using \showStaffSwitch as he does.
> 
> Joram
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Right. My bad, sorry!

Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Problem-with-showStaffSwitch-tp166612p166621.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: Problem with \showStaffSwitch

2014-09-19 Thread TaoCG
Please, always post a minimial working example and the LilyPond version
you're using. Also the second image doesn't show for me.
Now I have to guess your problem and my guess is that you didn't connect the
notes with \glissando. The line won't print automatically after a staff
change.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Problem-with-showStaffSwitch-tp166612p166616.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: how to force extra accidental in this case

2014-09-19 Thread TaoCG
By the way, the braces in your definition of UpperMusic are not necessary.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/how-to-force-extra-accidental-in-this-case-tp166605p166613.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: how to force extra accidental in this case

2014-09-19 Thread TaoCG
You could do it by changing the accidental style in your spacer voice.

\version "2.18.2"

Uppernotes = { \repeat "unfold" 8 { cis'8 } }

accidentals = {
s2
\accidentalStyle Staff.dodecaphonic
s8
\accidentalStyle Staff.default
s4.
} % doesn't work


LowerMusic = { r2 c'!8 r r4 }

UpperMusic = { \context Voice << { \Uppernotes } {\accidentals } >> }


\score {

\new PianoStaff

<<

\new Staff \UpperMusic

\new Staff \LowerMusic

>>

}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/how-to-force-extra-accidental-in-this-case-tp166605p166611.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: \override #'(font-series . medium) doesn't work anymore?

2014-09-19 Thread TaoCG
tisimst wrote
> 2. As shown on the 
> Ubuntu font website   
> , there is NO PHYSICAL DIFFERENCE between the upright (non-italic) shaped
> series of "Regular" and "Medium" variants (not sure why that is since
> there is definitely a difference between the corresponding italic-shaped
> variants). Thus, even if it were possible to use both "Regular" and
> "Medium" font-series, the Ubuntu font won't show any difference, at least
> in the upright case.

There must be something wrong on your side. I can see a clear difference
between Regular and Medium in both normal and italic shape.
Well, I installed the Ubuntu fonts and tried to access the Medium face from
within LilyPond without success. Version is 2.18.2 on Windows.
Since the second post stated that it worked in 2.19.13 I supposed it might
have to do with the recent changes in font selection but apparently this
really is a bug which has been there before.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/override-font-series-medium-doesn-t-work-anymore-tp166556p166596.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: Same distance staff in a book.

2014-09-19 Thread TaoCG
I believe the ragged-bottom property is what you're looking for.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Same-distance-staff-in-a-book-tp166589p166591.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: \override #'(font-series . medium) doesn't work anymore?

2014-09-18 Thread TaoCG
Does this work?

\paper {
  #(define fonts
(set-global-fonts
#:sans "Ubuntu"
  ))
}

I don't have 2.19.14 installed but afaik the code for setting the global
fonts was changed in 2.19.12 to support alternative music fonts.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/override-font-series-medium-doesn-t-work-anymore-tp166556p166561.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: Ignore key signature?

2014-09-17 Thread TaoCG
You can also define your own accidental-style. The code below always prints
accidentals when a pitch has an alteration.
I suppose it will work the same for 2.19.

\version "2.18.2"

\relative {
#(set-accidentals-properties #f
 `(Staff
   ,(lambda (c p bn mp)
(if (= 0 (ly:pitch-alteration p))
'(#f . #f)
'(#f . #t
 '()
 'Staff)

\omit Staff.KeySignature
\key d \major
c'4 d e fis f ges a! cis
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ignore-key-signature-tp166525p166527.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: Ignore key signature?

2014-09-17 Thread TaoCG
Oops, I didn't think of repeated notes. Well maybe it's helpful anyway.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ignore-key-signature-tp166525p166528.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: settings to get closer to Sibelius

2014-09-12 Thread TaoCG
For the thickness of lines (barlines, stafflines, etc.) you shouldn't rely on
your computer display and always compare printed output.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/settings-to-get-closer-to-Sibelius-tp166324p166361.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: multimeasuerrest breve too wide

2014-09-12 Thread TaoCG
As a workaround you could omit the spacer like this:

<<
  { c'4*8 c' c' }
  { \time 8/4 c'4 r r2 r1 R\breve c'4 r r2 r1 }
>>





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/multimeasuerrest-breve-too-wide-tp166355p166359.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: lilypond-book and includes

2014-08-09 Thread TaoCG
Ok, I solved it. It's still strange though.
The problem lay in the included file at this part:

drumPitchNames =
#'((enuopen . enuopen)
   (enumuff . enumuff)
   (chacha . chacha)
   (en . enuopen)
   (em . enumuff)
   (ch . chacha)) 

When I rename the 'em'-shortcut to 'ef' it works.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilypond-book-and-includes-tp165429p165438.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: lilypond-book and includes

2014-08-09 Thread TaoCG
There was an error in the snippet I posted.
This is correct:

### snippet ###
okonkolo = \drummode {
en2 ch
}

\score {
\new StaffGroup
<<
\time 4/4
\new BataStaff \okonkolo
>>
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilypond-book-and-includes-tp165429p165436.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: lilypond-book and includes

2014-08-09 Thread TaoCG
Thanks, I tried the mentioned workaround but apparently this isn't the
problem.
Its not that the included file is not found. As I said, if I specify a
non-existant file with \include while using --include I get an error that
file is not found, but when I put the correct filename I get an empty staff
instead of the desired output.

The file I want to include contains some custom drum-definitions.
I post it, maybe someone can try to reproduce the problem.

### file to include: bata-def.ly ###
#(define (place-rests rest)
 (let* ((sp 0))
 (if
  (eq? (ly:grob-property-data rest 'duration-log) 1)
  (set! sp -2))
 sp))

drumPitchNames =
#'((enuopen . enuopen)
   (enumuff . enumuff)
   (chacha . chacha)
   (en . enuopen)
   (em . enumuff)
   (ch . chacha))

#(define bata-style
 '(
  (enuopen () #f -2)
  (enumuff cross #f -2)
  (chacha () #f 2)))

\layout {
\context {
\DrumStaff
\name BataStaff
drumStyleTable = #(alist->hash-table bata-style)
\override StaffSymbol.line-positions = #'(-2 2)
\override Rest.staff-position = #place-rests
\override TimeSignature.style = #'numbered
\override Stem.direction = #1
}
\context {
\StaffGroup
\accepts BataStaff
}
}


### actual snippet ###
\include "bata-def.ly"

okonkolo = \drummode {
eo2 ch
}

\score {
\new StaffGroup
<<
\time 4/4
\new BataStaff \okonkolo
>>
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilypond-book-and-includes-tp165429p165435.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-book and includes

2014-08-09 Thread TaoCG
Dear List,

I'm having trouble using includes with lilypond-book.
When I use \include in the snippet with an absolute path it works but when I
try to include the path with the comand-line option I get an empty staff.

e.g.

\include "/home/user/lily/test.ly"

works, whereas

\include "test.ly"

with

--include=/home/user/lily/

doesn't.

And I don't get an error message, it's just an empty staff.
If I change the \include to a non-existant file I do get an error message.

I use lilypond-book from within lyx if this matters.

So, using absolute paths would be a workaround but I'd much prefer finding a
solution for this to work with --include



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lilypond-book-and-includes-tp165429.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: Help with music-function generating music

2014-03-26 Thread TaoCG
Urs Liska wrote
> Hi all,
> 
> I'm completely at a loss and need to get some help and pushes in the 
> right direction.
> 
> I'm for the first time trying to write a music function that actually 
> gerenates music events on its own, i.e. that doesn't use #{ #} to output 
> music.
> The sections in the "Scheme tutorial" in the Extending Manual don't 
> really help me, and trying to understand 
> http://lsr.di.unimi.it/LSR/Snippet?id=566 which seems to be quite 
> related to what I want is equally over my head.
> Therefore I'd be happy if someone could give me a (commented?) example 
> of at least the first steps of what I try. From there I'd be able to go 
> forward or ask more concrete questions.
> 
> The initial thing my function should do is:
> - take a pitch and a number
> - repeat that pitch for the given number of times
> - beam the whole group
> - make that in a loop that allows me
>to apply a new override for each note
> 
> I think that should be very basic, and it's actually quite far from what 
> I want to achieve, but it should be a good starting point for 
> understanding how it works.
> 
> Thanks in advance
> Urs
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Hi,

as Paul Morris pointed out \displayMusic is the best starting point to learn
the scheme way of writing music.
For example \displayMusic { c8[ c c c] } will show you how to beam a group.
Also I don't really get your last point. What kind of override do you want
to apply to the notes?

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Help-with-music-function-generating-music-tp160833p160866.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


Temporary polyphony with lyrics

2014-03-16 Thread TaoCG
Hey all,

I have a one-staff vocal part where I need somewhere in the middle a
temporary two-voice part withe different lyrics to each voice but my
attempts so far have failed and I have the feeling that I'm trying to solve
this the wrong way.
I prepared a minimal example and what strikes me as odd is that after the
temporary polyphony all notes are registered on the same time as if duration
wasn't important anymore.
I also tried \set associatedVoice with named voices instead of \addlyrics
but then the lyrics simply won't show.

\version "2.18.0"

foo = \relative
{
\voiceOne
c'1
}
\addlyrics { foo }

barr = \relative
{
\voiceTwo
c''1
}
\addlyrics { bar }

music = \relative
{
c'1
<< \foo \\ \barr >>
c1 c2
}

text = \lyricmode
{
text here
}

\score
{
<<
\new Staff \new Voice = "v" \music
\new Lyrics \lyricsto "v" \text
>>
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Temporary-polyphony-with-lyrics-tp160493.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: Text above Chord

2014-03-06 Thread TaoCG
Lukas Rytz wrote
> Hello
> 
> The example below prints "text" below the chord.
> How can I print the text above the chord?
> 
> Thanks!
> Lukas
> 
> 
> \version "2.18.0"
> <<
>   \new ChordNames \chordmode { c1:7 }
>   c''1^"text"
>>>
> 
> [image: Inline image 1]
> 
> ___
> lilypond-user mailing list

> lilypond-user@

> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> image.png (3K)
> ;

Maybe something like this will work for you?
Since this separates text and music you'll have to count to place the text
at the right position.

\version "2.18.0"

\score
{
<<
\new Lyrics \lyricmode { foo2 _4 bar }
\new ChordNames \chordmode { c1:7 }
\new Staff { c'2 c'4 c' }
>>
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-above-Chord-tp160161p160166.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: Adding markup to percent repeat sign

2014-02-02 Thread TaoCG
David Bellows wrote
> Hello all,
> 
> I'm writing a kind of minimalist piece that has a lot of repeated
> measures that I would like to notate using the percent repeat symbol
> with text above it like "8x" or any other arbitrary text.
> 
> The built-in functionality does not seem to allow for this unless I'm
> missing something. I found a snippet to generate a percent repeat
> sign:
> 
> makePercent =
> #(define-music-function (parser location note) (ly:music?)
>"Make a percent repeat the same length as NOTE."
>(make-music 'PercentEvent
>'length (ly:music-length note)))
> 
> But this does not allow me to add \markup to it like:
> 
> \version "2.19.1"
> \score {
> c e g c | \makePercent s1^\markup{"8x"}
> }
> 
> The normal \repeat percent 8 {blah} approach does not work because it
> creates a lot of measures with the repeat sign and I just want the one
> measure.
> 
> I've seen solutions for spanning a selection with a spanner like
> --3x-- but that's not what I want nor do I want to use voltas
> (and I believe I saw a solution for putting the "8x" over the bar line
> which is not what I want either).
> 
> I'm fairly certain I've seen this notation before in other scores.
> 
> Anyone have any ideas?
> 
> Thanks
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Hi,

you can prepend your percent repeats with this:

s1*0^\markup "text"

I think this should give you the output you're looking for.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Adding-markup-to-percent-repeat-sign-tp158763p158766.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: musicxml2ly on Windows

2014-01-06 Thread TaoCG
Alex Loomis-2 wrote
> Have you tried upgrading to 2.18? It's possible that if the issue is with
> musicxml2ly that it has been fixed.
> 
> 
> 
> On Jan 5, 2014, at 4:42 PM, TaoCG <

> tao_lilyponduser@

> > wrote:
> 
>> TaoCG wrote
>>> 
>>> Phil Holmes-2 wrote
>>>> - Original Message - 
>>>> From: "TaoCG" <
>> 
>>>> tao_lilyponduser@
>> 
>>>> >
>>>> To: <
>> 
>>>> lilypond-user@
>> 
>>>> >
>>>> Sent: Sunday, January 05, 2014 3:32 PM
>>>> Subject: Re: musicxml2ly on Windows
>>>> 
>>>> 
>>>>> Phil Holmes-2 wrote
>>>>>> - Original Message - 
>>>>>> From: "TaoCG" <
>>>>> 
>>>>>> tao_lilyponduser@
>>>>> 
>>>>>> >
>>>>>> To: <
>>>>> 
>>>>>> lilypond-user@
>>>>> 
>>>>>> >
>>>>>> Sent: Sunday, January 05, 2014 2:40 PM
>>>>>> Subject: musicxml2ly on Windows
>>>>>> 
>>>>>> 
>>>>>>> Dear all,
>>>>>>> 
>>>>>>> what would be the best way to invoke musicxml2ly on Windows when
>>>>>>> there 
>>>>>>> is
>>>>>>> also a Python 3 installation.
>>>>>>> When I try to run it with the python that comes with lilypond like
>>>>>>> this
>>>>>>> 
>>>>>>> python.exe musicxml2ly.py test.xml
>>>>>>> 
>>>>>>> I get this error:
>>>>>>> Could not find platform independent libraries
>>>>>> 
>>>> 
> 
>>>>>>> Could not find platform dependent libraries
>>>>>> 
>>>> 
> 
>>>>>>> Consider setting $PYTHONHOME to
>>>>>> 
>>>> 
> 
>>>>>> [:
>>>>>> 
>>>> 
> 
>>>>>> ]
>>>>>>> 'import site' failed; use -v for traceback
>>>>>>> Traceback (most recent call last):
>>>>>>> File "musicxml2ly.py", line 3, in ?
>>>>>>>   import optparse
>>>>>>> ImportError: No module named optparse
>>>>>>> 
>>>>>>> This is with Lilypond 2.16
>>>>>>> 
>>>>>>> 
>>>>>>> Regards,
>>>>>>> Tao
>>>>>> 
>>>>>> 
>>>>>> What directory are you running the command from?  What does your PATH
>>>>>> statement look like?
>>>>>> 
>>>>>> --
>>>>>> Phil Holmes
>>>>>> 
>>>>>> 
>>>>>> ___
>>>>>> lilypond-user mailing list
>>>>> 
>>>>>> lilypond-user@
>>>>> 
>>>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>>> 
>>>>> I ran it from C:\Program Files (x86)\Lilypond\usr\bin
>>>>> and my Path is:
>>>>> C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
>>>>> Files (x86)\QT Lite\QTSystem
>>>> 
>>>> 
>>>> OK.  What does python -V give you?
>>>> 
>>>> --
>>>> Phil Holmes 
>>>> 
>>>> 
>>>> ___
>>>> lilypond-user mailing list
>> 
>>>> lilypond-user@
>> 
>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>> From lilypond\usr\bin
>>> Python 2.4.5
>>> 
>>> from everywhere else
>>> Python 3.3.2
>> 
>> Hmm... I tried replacing the python3-directory with the lily\usr\bin\ and
>> now I get this error:
>> 
>>  File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2105
>>if current_staff and staff <> current_staff and not
>> n.get_maybe_exist_named_child ('chord'):
>>^
>> SyntaxError: invalid syntax
>> 
>> 
>> These brackets sure look strange. Is this an error in musicxml2ly?
>> 
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157204.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

I haven't yet.
I got it working with a virtual linuxbox running LP 2.16.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157289.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: musicxml2ly on Windows

2014-01-05 Thread TaoCG
TaoCG wrote
> 
> Phil Holmes-2 wrote
>> - Original Message - 
>> From: "TaoCG" <

>> tao_lilyponduser@

>> >
>> To: <

>> lilypond-user@

>> >
>> Sent: Sunday, January 05, 2014 3:32 PM
>> Subject: Re: musicxml2ly on Windows
>> 
>> 
>>> Phil Holmes-2 wrote
>>>> - Original Message - 
>>>> From: "TaoCG" <
>>>
>>>> tao_lilyponduser@
>>>
>>>> >
>>>> To: <
>>>
>>>> lilypond-user@
>>>
>>>> >
>>>> Sent: Sunday, January 05, 2014 2:40 PM
>>>> Subject: musicxml2ly on Windows
>>>>
>>>>
>>>>> Dear all,
>>>>>
>>>>> what would be the best way to invoke musicxml2ly on Windows when there 
>>>>> is
>>>>> also a Python 3 installation.
>>>>> When I try to run it with the python that comes with lilypond like
>>>>> this
>>>>>
>>>>> python.exe musicxml2ly.py test.xml
>>>>>
>>>>> I get this error:
>>>>> Could not find platform independent libraries
>>>> 
>> 
>>>>> Could not find platform dependent libraries
>>>> 
>> 
>>>>> Consider setting $PYTHONHOME to
>>>> 
>> 
>>>> [:
>>>> 
>> 
>>>> ]
>>>>> 'import site' failed; use -v for traceback
>>>>> Traceback (most recent call last):
>>>>>  File "musicxml2ly.py", line 3, in ?
>>>>>import optparse
>>>>> ImportError: No module named optparse
>>>>>
>>>>> This is with Lilypond 2.16
>>>>>
>>>>>
>>>>> Regards,
>>>>> Tao
>>>>
>>>>
>>>> What directory are you running the command from?  What does your PATH
>>>> statement look like?
>>>>
>>>> --
>>>> Phil Holmes
>>>>
>>>>
>>>> ___
>>>> lilypond-user mailing list
>>>
>>>> lilypond-user@
>>>
>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>> I ran it from C:\Program Files (x86)\Lilypond\usr\bin
>>> and my Path is:
>>> C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
>>> Files (x86)\QT Lite\QTSystem
>> 
>> 
>> OK.  What does python -V give you?
>> 
>> --
>> Phil Holmes 
>> 
>> 
>> ___
>> lilypond-user mailing list

>> lilypond-user@

>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> From lilypond\usr\bin
> Python 2.4.5
> 
> from everywhere else
> Python 3.3.2

Hmm... I tried replacing the python3-directory with the lily\usr\bin\ and
now I get this error:

  File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2105
if current_staff and staff <> current_staff and not
n.get_maybe_exist_named_child ('chord'):
^
SyntaxError: invalid syntax


These brackets sure look strange. Is this an error in musicxml2ly?




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157204.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: Automatic octaves

2014-01-05 Thread TaoCG
Mark Stephen Mrotek wrote
> Gentlemen,
> 
> If each pitch name is enclosed in < >, the octaves are formed.
> 
> Mark
> 
> -Original Message-
> From: lilypond-user-bounces+carsonmark=

> ca.rr.com@

> [mailto:lilypond-user-bounces+carsonmark=

> ca.rr.com@

> ] On Behalf Of
> Daniel Rosen
> Sent: Sunday, January 05, 2014 8:52 AM
> To: Pierre Perol-Schneider
> Cc: 

> lilypond-user@

> Subject: RE: Automatic octaves
> 
>> From: Pierre Perol-Schneider [mailto:

> pierre.schneider.paris@

> ] 
>> Sent: Sunday, January 05, 2014 5:42 AM
>> To: Daniel Rosen
>> Cc: 

> lilypond-user@

>> Subject: Re: Automatic octaves
>> 
>> A standart update works fine.
>> Here you go :
> 
> Pierre,
> 
> This doesn't change anything for me. Is there something I need to change
> on
> my end?
> 
> I actually should have been more precise before when I described the
> output
> I was getting from the original snippet: it works on the final chord in
> the
> example, but that's all. The same thing happens with your version.
> 
> DR
> ___
> 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

I wrote an alternative approach to automatic octaves a little while ago.
Maybe it's useful to you:
http://pastebin.com/u9dbkENA

It uses capital notenames to add octaves.
For example

c4 D e F

is the same as

c4  e 

If you don't use the default pitch-language you have to modify the code to
suit your needs.
It's not extensively tested nor is it tested with 2.18 but I guess it should
work.

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-Automatic-octaves-tp157172p157195.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: musicxml2ly on Windows

2014-01-05 Thread TaoCG
Phil Holmes-2 wrote
> - Original Message - 
> From: "TaoCG" <

> tao_lilyponduser@

> >
> To: <

> lilypond-user@

> >
> Sent: Sunday, January 05, 2014 3:32 PM
> Subject: Re: musicxml2ly on Windows
> 
> 
>> Phil Holmes-2 wrote
>>> - Original Message - 
>>> From: "TaoCG" <
>>
>>> tao_lilyponduser@
>>
>>> >
>>> To: <
>>
>>> lilypond-user@
>>
>>> >
>>> Sent: Sunday, January 05, 2014 2:40 PM
>>> Subject: musicxml2ly on Windows
>>>
>>>
>>>> Dear all,
>>>>
>>>> what would be the best way to invoke musicxml2ly on Windows when there 
>>>> is
>>>> also a Python 3 installation.
>>>> When I try to run it with the python that comes with lilypond like this
>>>>
>>>> python.exe musicxml2ly.py test.xml
>>>>
>>>> I get this error:
>>>> Could not find platform independent libraries
>>> 
> 
>>>> Could not find platform dependent libraries
>>> 
> 
>>>> Consider setting $PYTHONHOME to
>>> 
> 
>>> [:
>>> 
> 
>>> ]
>>>> 'import site' failed; use -v for traceback
>>>> Traceback (most recent call last):
>>>>  File "musicxml2ly.py", line 3, in ?
>>>>import optparse
>>>> ImportError: No module named optparse
>>>>
>>>> This is with Lilypond 2.16
>>>>
>>>>
>>>> Regards,
>>>> Tao
>>>
>>>
>>> What directory are you running the command from?  What does your PATH
>>> statement look like?
>>>
>>> --
>>> Phil Holmes
>>>
>>>
>>> ___
>>> lilypond-user mailing list
>>
>>> lilypond-user@
>>
>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>> I ran it from C:\Program Files (x86)\Lilypond\usr\bin
>> and my Path is:
>> C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
>> Files (x86)\QT Lite\QTSystem
> 
> 
> OK.  What does python -V give you?
> 
> --
> Phil Holmes 
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

>From lilypond\usr\bin
Python 2.4.5

from everywhere else
Python 3.3.2



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157191.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: musicxml2ly on Windows

2014-01-05 Thread TaoCG
Phil Holmes-2 wrote
> - Original Message - 
> From: "TaoCG" <

> tao_lilyponduser@

> >
> To: <

> lilypond-user@

> >
> Sent: Sunday, January 05, 2014 2:40 PM
> Subject: musicxml2ly on Windows
> 
> 
>> Dear all,
>>
>> what would be the best way to invoke musicxml2ly on Windows when there is
>> also a Python 3 installation.
>> When I try to run it with the python that comes with lilypond like this
>>
>> python.exe musicxml2ly.py test.xml
>>
>> I get this error:
>> Could not find platform independent libraries 
> 
>> Could not find platform dependent libraries 
> 
>> Consider setting $PYTHONHOME to 
> 
> [:
> 
> ]
>> 'import site' failed; use -v for traceback
>> Traceback (most recent call last):
>>  File "musicxml2ly.py", line 3, in ?
>>import optparse
>> ImportError: No module named optparse
>>
>> This is with Lilypond 2.16
>>
>>
>> Regards,
>> Tao
> 
> 
> What directory are you running the command from?  What does your PATH 
> statement look like?
> 
> --
> Phil Holmes 
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

I ran it from C:\Program Files (x86)\Lilypond\usr\bin
and my Path is:
C:\Python33\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\QT Lite\QTSystem



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181p157186.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


musicxml2ly on Windows

2014-01-05 Thread TaoCG
Dear all,

what would be the best way to invoke musicxml2ly on Windows when there is
also a Python 3 installation.
When I try to run it with the python that comes with lilypond like this

python.exe musicxml2ly.py test.xml

I get this error:
Could not find platform independent libraries 
Could not find platform dependent libraries 
Consider setting $PYTHONHOME to [:]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "musicxml2ly.py", line 3, in ?
import optparse
ImportError: No module named optparse

This is with Lilypond 2.16


Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/musicxml2ly-on-Windows-tp157181.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: Missing notes after lyrics end: bug?

2013-12-15 Thread TaoCG
Arjen Bax-2 wrote
> I am typesetting an SATB hymn with where the lyrics of the four voices
> are almost the same. This results in ChoirStaff setup with two Staff
> contexts and a Lyrics context inbetween. The staff contexts each contain
> two voices.
> 
>   \new ChoirStaff <<
> \new Staff = upper <<
>   \new Voice = sop
>   \new Voice = alt
> >>
> \new Lyrics \lyricsto alt
> \new Staff = lower <<
>   \new Voice = ten
>   \new Voice = bas
> >>
>   >>
> 
> Now in bar 38 soprano and bass have 2 syllables less than alto and
> tenor. I'd like to add the alternative soprano text above the upper
> staff just for that single bar.
> 
> I have tried the following, defining the auxiliary soparno lyrics to be:
> 
>   sopTxt = \new Lyrics = sopL \with {
> alignAboveContext = "upper"
>   }
>   \lyricsto sop \lyricmode { be with Him }
> 
> and replacing bar 38 of the soprano melody { c4 g g2 } by
> 
>   << { c4 g g2 } { \sopTxt } >>
> 
> This has the intended effect of the lyrics "be with Him" being aligned
> above the upper staff, but as a side effect, the complete soprano melody
> from the next bar onwards vanishes! Is this a bug, or should I do this
> differently?
> 
> Complete minimal working example, omitting the lower staff:
> 
>   \version "2.16.2"
> 
>   sopTxt = \new Lyrics = sopL \with { alignAboveContext = "upper" }
> \lyricsto sop \lyricmode { A C }
> 
>   sopV = \relative c'' { << { c2 c } { \sopTxt } >> c4 c c c }
>   altV = \relative c'  { c4 c c c c c c c }
> 
>   \score {
> \new ChoirStaff <<
>   \new Staff = upper <<
>   \new Voice = sop { \voiceOne \sopV }
>   \new Voice = alt { \voiceTwo \altV }
>   >>
>   \new Lyrics \lyricsto alt { A B C D E F G H }
> >>
>   }
> 
> Where are the four c4 notes of the soprano?
> 
> Vriendelijke groet / Kind regards / Vennlig hilsen,
> Arjen Bax
> 
> 
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

I don't know exactly what happens in your example but a lyrics context
inside a voice doesn't seem right to me. Instead create a subvoice and
assign the lyrics later to it.
I modified your example to show what I mean.

\version "2.16.2" 

  sopV = \relative c'' { c4 c \new Voice = sopL { \voiceOne c2 c } c4 c } 
  altV = \relative c'  { c4 c c c c c c c } 

  \score { 
\new ChoirStaff <<
  \new Staff = upper << 
\new Voice = sop { \voiceOne \sopV } 
\new Voice = alt { \voiceTwo \altV } 
  >> 
  \new Lyrics \with { alignAboveContext = "upper" } \lyricsto sopL { A C
}
  \new Lyrics \lyricsto alt { A B C D E F G H } 
>> 
  } 



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Missing-notes-after-lyrics-end-bug-tp155865p155867.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: Custom note names / octavize pitch

2013-12-15 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>> David Kastrup wrote
>>> TaoCG <
>>
>>> tao_lilyponduser@
>>
>>> > writes:
>>> 
>>>> David Kastrup wrote
>>>>> 
>>>>> Again, it is totally unclear what you want to be your input and your
>>>>> output.
>>>>
>>>> If my message reached you like this then indeed it is.
>>>> On my side, via the nabble web interface, it looks fine though.
>>> 
>>> Web interfaces are somewhat treacherous.  Gmane.org seems to be more
>>> reliable.
>>> 
>>>> I'll just post a screenshot and try to make it clearer.
>>>>
>>>> 2013-12-13_154458.png
>>>> <http://lilypond.1069038.n5.nabble.com/file/n155723/2013-12-13_154458.png>;
>>>>   
>>> 
>>> Well, an afterthought: you could probably define uppercase letters to be
>>> a quartertone (or less) sharp, and then postprocess your music, turning
>>> all of those back to normal pitch and adding the top octave.
>>> 
>>> If you do the unsharpening/octavation in the toplevel-music-functions
>>> hook, it will actually happen at a time when all \relative music has
>>> already been turned into absolute music, so that would not interfere.
>>
>> That's an interesting idea, I'll definitely try it, thanks!
>> What exactly do you mean by toplevel? Are these functions defined or
>> applied
>> differently than regular music functions?
> 
> toplevel-music-functions is a central hook containing a list of Scheme
> functions that are applied when scorify-music is called.  I think the
> arguments they receive is the parser and music, and they return music
> again.
> 
> -- 
> David Kastrup
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Thanks, I got it working. I have to rethink the use of capital letters
though since it conflicts with expressions like \clef F.
Also at this point I simply extended my language of choice in
define-note-names.scm, but I suppose I could simply append a new
language-definition to language-pitch-names?!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-note-names-octavize-pitch-tp155705p155830.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: Custom note names / octavize pitch

2013-12-14 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>> David Kastrup wrote
>>> 
>>> Again, it is totally unclear what you want to be your input and your
>>> output.
>>
>> If my message reached you like this then indeed it is.
>> On my side, via the nabble web interface, it looks fine though.
> 
> Web interfaces are somewhat treacherous.  Gmane.org seems to be more
> reliable.
> 
>> I'll just post a screenshot and try to make it clearer.
>>
>> 2013-12-13_154458.png
>> <http://lilypond.1069038.n5.nabble.com/file/n155723/2013-12-13_154458.png>;
>>   
> 
> Well, an afterthought: you could probably define uppercase letters to be
> a quartertone (or less) sharp, and then postprocess your music, turning
> all of those back to normal pitch and adding the top octave.
> 
> If you do the unsharpening/octavation in the toplevel-music-functions
> hook, it will actually happen at a time when all \relative music has
> already been turned into absolute music, so that would not interfere.
> 
> -- 
> David Kastrup
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

That's an interesting idea, I'll definitely try it, thanks!
What exactly do you mean by toplevel? Are these functions defined or applied
differently than regular music functions?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-note-names-octavize-pitch-tp155705p155770.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: Custom note names / octavize pitch

2013-12-13 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>>> Uh, you might want to improve your "illustration": it is utterly
>>> incomprehensible what you want to be your input and your output.
>>
>> Yes, I noticed and tried (see my second post). Apparently nabble
>> auto-converted the note 'b' in a chord-construct into a html bold tag.
> 
> Sorry, but I don't find the following very illustrative either:
> 
> TaoCG wrote
>> For illustration I imagine the following snippet (relative)
>> 
>> <b b'>4 
>> 
> 
>> 8 <b b'> r 
>> 
> 
>>  r 
> 
>>  |
>> r8 
>> 
> 
>>  r 
> 
>>  r 
>> 
> 
>>  r 
>> 
> 
>>  |
>> 
>> to become this
>> 
>> B4 
>> 
> 
>> 8 B r 
>> 
> 
>>  r A |
>> r8 
>> 
> 
>>  r A r 
>> 
> 
>>  r G |
>> 
>> or even better
>> 
>> B4 
>> 
> 
>> 8 B r q r A |
>> r8 
>> 
> 
>>  r A r q r G |
> 
> Again, it is totally unclear what you want to be your input and your
> output.
> 
> -- 
> David Kastrup
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

If my message reached you like this then indeed it is.
On my side, via the nabble web interface, it looks fine though.
I'll just post a screenshot and try to make it clearer.

2013-12-13_154458.png
<http://lilypond.1069038.n5.nabble.com/file/n155723/2013-12-13_154458.png>  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-note-names-octavize-pitch-tp155705p155723.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: Custom note names / octavize pitch

2013-12-13 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>> Hi all,
>>
>> I'm looking for a way to octavize a note with the least input possible. I
>> know there are music functions in the LSR that do this but they aren't
>> very
>> useful to me because in the music I need this for the octaves usually
>> aren't
>> successive and it wouldn't really save input if I had to write the
>> function
>> for single pitches, even if the function name were reduced to a single
>> letter.
>> So I was wondering if this maybe could be achieved with custom note
>> names,
>> maybe a capital letter for an additional octave. After a look at
>> define-note-names.scm I fear it's not but I thought I ask if a note name
>> accepts anything else than ly:make-pitch before I try to experiment on my
>> own.
>>
>> For illustration I imagine the following snippet (relative)
>>
>> *4 
> 
> 8 * r 
> 
>  r   |
>> r8 
> 
>  r   r 
> 
>  r 
> 
>  |
>>
>> to become this
>>
>> B4 
> 
> 8 B r 
> 
>  r A |
>> r8 
> 
>  r A r 
> 
>  r G |
>>
>> or even better
>>
>> B4 
> 
> 8 B r q r A |
>> r8 
> 
>  r A r q r G |
> 
> Uh, you might want to improve your "illustration": it is utterly
> incomprehensible what you want to be your input and your output.
> 
> -- 
> David Kastrup
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Yes, I noticed and tried (see my second post). Apparently nabble
auto-converted the note 'b' in a chord-construct into a html bold tag.

@Noeck
Thanks for the links. It gave me an idea to experiment with.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-note-names-octavize-pitch-tp155705p155711.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: Custom note names / octavize pitch

2013-12-13 Thread TaoCG
Hmm... nabble appearantly auto-converts this to html so here are the snippets
again:


TaoCG wrote
> For illustration I imagine the following snippet (relative)
> 
> <b b'>4 
> 
> 8 <b b'> r 
> 
>  r 

>  |
> r8 
> 
>  r 

>  r 
> 
>  r 
> 
>  |
> 
> to become this
> 
> B4 
> 
> 8 B r 
> 
>  r A |
> r8 
> 
>  r A r 
> 
>  r G |
> 
> or even better
> 
> B4 
> 
> 8 B r q r A |
> r8 
> 
>  r A r q r G |





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-note-names-octavize-pitch-tp155705p155706.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


Custom note names / octavize pitch

2013-12-13 Thread TaoCG
Hi all,

I'm looking for a way to octavize a note with the least input possible. I
know there are music functions in the LSR that do this but they aren't very
useful to me because in the music I need this for the octaves usually aren't
successive and it wouldn't really save input if I had to write the function
for single pitches, even if the function name were reduced to a single
letter.
So I was wondering if this maybe could be achieved with custom note names,
maybe a capital letter for an additional octave. After a look at
define-note-names.scm I fear it's not but I thought I ask if a note name
accepts anything else than ly:make-pitch before I try to experiment on my
own.

For illustration I imagine the following snippet (relative)

*4 8 * r  r   |
r8  r   r  r  |

to become this

B4 8 B r  r A |
r8  r A r  r G |

or even better

B4 8 B r q r A |
r8  r A r q r G |



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Custom-note-names-octavize-pitch-tp155705.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: Glissando to a rest

2013-05-04 Thread TaoCG
This should work. You just have to make sure the space between the two notes
isn't too tight or the glissando won't print. In this case it happens if you
omit the \break.

\relative c''
{
  es4*1/2->\glissando
  \hideNotes
  es,
  \unHideNotes
  r4 r2 | \break
  es1
}

HTH,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Glissando-to-a-rest-tp145286p145451.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: Repeated accidental after tie across line break

2013-03-26 Thread TaoCG
Kieren MacMillan wrote
> By hiding the accidental after the break, I introduce [unnecessary]
> ambiguity at the beginning of the system, which can only be resolved by
> looking backwards to the end of the last system — it is precisely for this
> reason that Gould (and many others) suggest repeating the accidental after
> a line break.

I don't see the ambiguity. The note is tied anyway and not to be articulated
if I were to start playing from that measure. If I want to play the note I
have to look back anyway.

I use reminder accidentals a lot because I believe they greatly improve
sightreadability but as I said earlier I believe a reminder in the discussed
case would be rather disturbing for sightreading, if at all I'd rather
denote the alteration with a small accidental above the notehead but this is
of course personal preference.

Also I don't think this has something to do with classical or non-classical
music or a piece having or not having a key signature.
If I were to write or to play something more "classical" I'd prefer the tied
note without accidental as well.

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeated-accidental-after-tie-across-line-break-tp143454p143507.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: Repeated accidental after tie across line break

2013-03-26 Thread TaoCG
Kieren MacMillan wrote
> 1. Without a "tied-to" accidental, "starting at the beginning of the
> system" (e.g.) will almost certainly lead to confusion or errors;

What makes you think so?
Actually I instinctively thought the opposite.
If I were to see such a note while sightreading I'm almost certain I'd
misinterprete the tie for a slur.
Of course I can only speak for myself here.

I play and typeset a lot of latin american music which has a lot of
syncopation which makes this particlar scene appear quite often.
Maybe I got used to something non-standard but it still seems more logical
to me to omit the tied accidental and treat the measure as if there was no
line break.
That's why I'm curious why Gould states his rule as he does. Is there any
reasoning in his book?

Of course I'm also for flexibility and to have all listed options available
so everyone can choose what s/he prefers.

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeated-accidental-after-tie-across-line-break-tp143454p143482.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: Repeated accidental after tie across line break

2013-03-26 Thread TaoCG
I must admit I haven't been keeping myself up to date on this topic, maybe
because the last time I was annoyed by this is quite some time ago.
Thanks for the hint, this seems to be the feature I was missing in the past.
I will try it later.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeated-accidental-after-tie-across-line-break-tp143454p143476.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: Repeated accidental after tie across line break

2013-03-26 Thread TaoCG
I wonder... The topics been up a few times already, once by myself years ago
when I just started with LilyPond. I already got used to remove the
accidentals manually, but what I'd really like is an automated way to
suppress them without having to use an override every time, especially since
determining automatic line breaks is also done by lily and the manual
removal can only be done in a secondary editing step.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Repeated-accidental-after-tie-across-line-break-tp143454p143472.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: Hiding one empty staff of three-staff piano score but not two

2013-03-25 Thread TaoCG
When you override something in the layout-block you do so for every instance
of Staff.
If you want to make only the third staff disappear you have to remove the
override from the layout-block and apply only to that staff like this:

leftTwo = \relative c {
  \override Staff.VerticalAxisGroup #'remove-first = ##t
  s1*8 | %First two lines
  c1 | c | c | c |
}

HTH,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Hiding-one-empty-staff-of-three-staff-piano-score-but-not-two-tp143427p143429.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: Aw: Re: Pseudo-handwritten font

2013-03-15 Thread TaoCG
This is all very interesting, I'd love to have a jazz style font in LilyPond,
though I don't particularly like the Sigler Jazz font. I much prefer their
Swing font.
I was still wondering if there won't be any license issues if the font is
redrawn manually since in the end everyone familiar with the Sigler fonts
will recognize it as such or some might even say: "Hey look, they're using
the same jazz font as Finale/Sibelius."

That to say, one thing I especially liked from the beginning was Lilys
unique font which clearly distinguished it from the commercial counterparts.
Copying a Sigler font will make the output look more similar to Finale or
Sibelius.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Pseudo-handwritten-font-tp142117p142745.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: Slur and tie between chords

2013-02-13 Thread TaoCG
One possibility is to use a third voice marked \voiceTwo.
You'll get some warnings about colliding note columns which you can safely
ignore.

\relative c'
{
  \time 2/4
  \key des \major
  \clef F
  
  <<
{ r4 ges | as ges | f2 } \\
{ \tweak Stem #'length #7 des2( | as)~ | as } \\
{ \voiceTwo des,2~ | des~ | des }
  >>
}

HTH,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Slur-and-tie-between-chords-tp140883p140885.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: Center barline on first note of measure

2012-11-13 Thread TaoCG
David Nalesnik-2 wrote
> Hi,
> 
> On Tue, Nov 13, 2012 at 12:29 PM, TaoCG <

> tao_lilyponduser@

> > wrote:
>> So, is this possible?
>> I tried to set the #'first-note property of the BarLine's #'space-alist
>> to 0
>> but no effect.
>>
>> What I'm basically trying to achieve is a lot of RhythmicStaff in a
>> StaffGroup so that the span bars mark the first beat in a measure rather
>> than separating two measures.
>> Maybe using bar lines isn't even the right approach but I wouldn't know
>> how
>> to mimic the span bars.
>>
> 
> I think the file at this link will do what you want:
> http://www.mail-archive.com/

> lilypond-user@

> /msg70143.html
> 
> HTH,
> David
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Wow, thanks, that's really cool.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Center-barline-on-first-note-of-measure-tp136347p136353.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


Center barline on first note of measure

2012-11-13 Thread TaoCG
So, is this possible?
I tried to set the #'first-note property of the BarLine's #'space-alist to 0
but no effect.

What I'm basically trying to achieve is a lot of RhythmicStaff in a
StaffGroup so that the span bars mark the first beat in a measure rather
than separating two measures.
Maybe using bar lines isn't even the right approach but I wouldn't know how
to mimic the span bars.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Center-barline-on-first-note-of-measure-tp136347.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


lyric hyphens and repeats

2012-11-04 Thread TaoCG
Is there something similar to lyric hyphens as is \laissezVibrer and
\repeatTie to ties?

In this  sample
   I'd like
to  have lyric hyphens for Renovemos and Llenemos but I don't know if it's
possible because they notes to the syllables aren't printed in succession
nor are they written in one context.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/lyric-hyphens-and-repeats-tp135806.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: dashed ties and line breaks

2012-11-04 Thread TaoCG
David Nalesnik-2 wrote
> Hi Tao,
> 
> On Sun, Nov 4, 2012 at 5:08 AM, TaoCG <

> tao_lilyponduser@

> > wrote:
>> I was trying to make a tie dashed before and solid after a line break.
>> I tried \tieHalfDashed but it makes both ties half dashed.
>> Is there any way to do this?
>>
> 
> This is a case where you can use \alterBroken, which is a function new
> to 2.16.  This command allows you to make changes to the parts of
> broken spanners independently.  Here, I've applied LilyPond's default
> settings for a dashed tie to the first part of the broken spanner, and
> settings for an ordinary tie to the second.  (Alternatively, you can
> just leave out the second group of settings, but I put it in in case
> you want to see what to modify if you want to do something special to
> the last half of the tie.)
> 
> There's been a syntax change in the latest development version, which
> allows for greater flexibility.  You can now use the command as a
> tweak (thanks to David Kastrup).
> 
> I show both versions below.  (Note that running convert-ly on an older
> file will update the syntax automatically.)
> 
> \version "2.16.0"
> 
> \relative c'' {
>   \once \alterBroken Tie #'dash-definition #'( ((0 1 0.4 0.75)) ((0 1 1
> 1)) )
> % or \once \alterBroken Tie #'dash-definition #'( ((0 1 0.4 0.75)) ()
> % or  \once \alterBroken Tie #'dash-definition #'( ((0 1 0.4 0.75)) )
>  )
>   c1~
>   \break
>   c
> }
> 
> \version "2.17.6"
> 
> \relative c'' {
>   \once \alterBroken #'dash-definition #'( ((0 1 0.4 0.75)) ((0 1 1 1)) )
> Tie
>   c1~
>   \break
>   c
> }
> 
> 
> HTH,
> David
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Cool, thanks for the explanation and examples.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dashed-ties-and-line-breaks-tp135787p135805.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


dashed ties and line breaks

2012-11-04 Thread TaoCG
I was trying to make a tie dashed before and solid after a line break.
I tried \tieHalfDashed but it makes both ties half dashed.
Is there any way to do this?

I also tried with \laissezVibrer and \repeatTie but the former one doesn't
have a #'dash-definition.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/dashed-ties-and-line-breaks-tp135787.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


BendAfter maximum length?

2012-10-27 Thread TaoCG
Is there a property for BendAfter that controls the maximum length?
There is a minimum-length so I was wondering if there's an opposite
equivalent.

Right now the bend is stretched from the notehead until the next rest or
note and if there's a lot of space it seems way overdone.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/BendAfter-maximum-length-tp135430.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: please help with updating old scheme code

2012-10-18 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>> Ok, it seems my main problem for now is that I don't know how to
>> determine if
>> a NoteEvent is part of an EventChord.
>> Previously this was easy because every note was an EventChord and you
>> could
>> simply check for the length of its elements.
> 
> Well, now a NoteEvent is part of an EventChord if it is part of an
> EventChord.
> 
> For simulating the old state, take a look at the event-chord-wrap!
> function.
> 
> -- 
> David Kastrup
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Thanks, event-chord-wrap! was exactly what I needed.
I already thought I had to rewrite everything.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/please-help-with-updating-old-scheme-code-tp134976p135015.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: please help with updating old scheme code

2012-10-18 Thread TaoCG
Ok, it seems my main problem for now is that I don't know how to determine if
a NoteEvent is part of an EventChord.
Previously this was easy because every note was an EventChord and you could
simply check for the length of its elements.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/please-help-with-updating-old-scheme-code-tp134976p135013.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


please help with updating old scheme code

2012-10-17 Thread TaoCG
So, some years ago I wrote this code for an alternative method of displaying
chord symbols.
It still worked fine in 2.14 but not so in 2.16. I tried running convert-ly
but it didn't change anything.

Details and code can be found in this thread:
http://lilypond.1069038.n5.nabble.com/chord-symbols-as-plain-text-td32481.html

Apparently I have made an update to the code at some point, at least the
file I have been using until recently is somewhat different to the one in
that thread.
So here is the actual version:  chordsymbols.ly
  

I haven't done anything similar in scheme again so I only remember little of
what I did back then.
I'm posting this request for help here in hope that the things to change are
easy to spot for one of you experienced scheme-gurus.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/please-help-with-updating-old-scheme-code-tp134976.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: please help with updating lsr snippet

2012-10-15 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>> David Kastrup wrote
>>> TaoCG <
>>
>>> tao_lilyponduser@
>>
>>> > writes:
>>> 
>>>> This snippet would be really helpful for me:
>>>> http://lsr.dsi.unimi.it/LSR/Item?id=445
>>>>
>>>> But in 2.16.0 it only works on single notes if they are in a chord
>>>> construct
>>>> like 
>>
>> Thanks!
>> I created for myself a function to make simply octaves:
>> oct = #(define-music-function (parser location mus) (ly:music?) #{
>> \makeDuped c c' $mus #})
>>
>> If I use this in my music I get a warning every time like this:
>>
>> C:/Users/Tao/Dropbox/Lily Projects/sf_06_canzoni_3_klavier.ly:226:54:
>> Warnung: Keine rhythmische Gruppe zu beenden
>> s1*0^\markup { "F." \italic "non legato" } \oct { 
>>   \times 2/3 {
>> f,,16\ppp
>> g es } f16. f32 r as16 g32 f g es16 } |
>>
>> This seems to be caused by the tuplet. The output looks good though.
> 
> You get the same message for
> 
> { \time 2/4
>   \new Voice << \times 2/3 { c c c } \times 2/3 { c' c' c' } >>
> }
> 
> so it would seem that this is a problem not specifically caused by
> \makeDuped.
> 
> -- 
> David Kastrup
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

I see, thanks for the clarification.
Another thing I noticed is that the function also duplicates textscripts
attached to notes or rests.
Is this intended behaviour?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/please-help-with-updating-lsr-snippet-tp134657p134862.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: short glissandi not being printed

2012-10-14 Thread TaoCG
Thomas Morley wrote
> 2012/10/14 TaoCG <

> tao_lilyponduser@

> >:
>> Hello in this example the first glissando line is not printed.
>> In my actual score the second and third glissandi aren't printed either
>> but
>> I couldn't reproduce that.
>> I tried setting #'minimum-length but it had no effect. Is there another
>> way
>> to force the glissandi to show up?
>>
>> document.png
>> <http://lilypond.1069038.n5.nabble.com/file/n134812/document.png>;
>>
>> \version "2.16.0"
>>
>> \relative c'
>> {
>>   d2~ \times 2/3 { d32\f\>\glissando cis\glissando d\glissando
>> bes\glissando
>> d8.[\glissando c32]\! r } r4 |
>> }
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/short-glissandi-not-being-printed-tp134812.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
> 
> Hi,
> 
> did you add
> \override Glissando #'springs-and-rods = #ly:spanner::set-spacing-rods
> ?
> 
> -Harm
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

I didn't, it did the trick though, thanks!
What exactly does this property do? The internals reference isn't very
helpful on that one.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/short-glissandi-not-being-printed-tp134812p134815.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


short glissandi not being printed

2012-10-14 Thread TaoCG
Hello in this example the first glissando line is not printed. 
In my actual score the second and third glissandi aren't printed either but
I couldn't reproduce that.
I tried setting #'minimum-length but it had no effect. Is there another way
to force the glissandi to show up?

document.png
  

\version "2.16.0"

\relative c'
{
  d2~ \times 2/3 { d32\f\>\glissando cis\glissando d\glissando bes\glissando
d8.[\glissando c32]\! r } r4 |
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/short-glissandi-not-being-printed-tp134812.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: please help with updating lsr snippet

2012-10-12 Thread TaoCG
David Kastrup wrote
> TaoCG <

> tao_lilyponduser@

> > writes:
> 
>> This snippet would be really helpful for me:
>> http://lsr.dsi.unimi.it/LSR/Item?id=445
>>
>> But in 2.16.0 it only works on single notes if they are in a chord
>> construct
>> like 
> 
> 4 or something.
>> My understanding of scheme is very limited but I thought it might have
>> something to do with the function checking for equality with 'EventChord
>> so
>> I tried changing that to 'NoteEvent but it doesn't have the desired
>> effect.
> 
> This has been discussed several times on this list.  See
> <URL:http://lists.gnu.org/archive/html/lilypond-user/2012-04/msg00312.html>;
> for something with extended functionality.
> 
> The LSR does not support more than a single LilyPond version,
> unfortunately, so we have to decide when to switch.
> 
> -- 
> David Kastrup
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Thanks!
I created for myself a function to make simply octaves:
oct = #(define-music-function (parser location mus) (ly:music?) #{
\makeDuped c c' $mus #})

If I use this in my music I get a warning every time like this:

C:/Users/Tao/Dropbox/Lily Projects/sf_06_canzoni_3_klavier.ly:226:54:
Warnung: Keine rhythmische Gruppe zu beenden
s1*0^\markup { "F." \italic "non legato" } \oct { 
  \times 2/3 { f,,16\ppp
g es } f16. f32 r as16 g32 f g es16 } |

This seems to be caused by the tuplet. The output looks good though.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/please-help-with-updating-lsr-snippet-tp134657p134663.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: Grace note aligned to beat

2012-10-12 Thread TaoCG
k-ohara5a5a wrote
> Oscar Dub 
> 
>  gmail.com> writes:
> 
>> Grace notes in LilyPond seem to be engraved before the note they are
>> attached 
>> to by default. Is there an
>> override or a hack so I can get graces displayed as I'd like (i.e
>> displacing 
>> the note hosting them)?
> 
> If there are just a few, it is easier to write them as normal notes.
> Explicitly specify that the first note is in small type, and that the
> durations are shorter than what is literally shown on the printed score.
> 
> {\clef bass
>  \stemUp \teeny gis8*1/2_(\> \stemNeutral \normalsize fis'1*15/16)\! }
> 
> The grace gets spaced like 1/2 of an eighth note, and then the whole note 
> gets the remaining 15/16 of a whole note to fill the measure.
> 
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Also if you want to mimic the grace notes you might want to use
\graceStyleOn and \graceStyleOff rather than \teeny.
You can find these commands in this thread provided by Thomas Morley:
http://lilypond.1069038.n5.nabble.com/help-with-grace-positioning-tp134539.html



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Grace-note-aligned-to-beat-tp134643p134662.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: parenthesize chord

2012-10-12 Thread TaoCG
David Nalesnik-2 wrote
> Hi,
> 
> On Tue, Oct 9, 2012 at 2:29 AM, TaoCG <

> tao_lilyponduser@

> > wrote:
>> Hello, can the chord parentheses engraver also do square brackets?
> 
> It could, but there would have to be some additions to the code.
> Unfortunately, I don't have any time to do anything Lily-related till
> next week!
> 
> -David
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Ok, don't worry.
I already helped myself by modifying this snippet
http://lsr.dsi.unimi.it/LSR/Item?id=377
since I only needed this for one occasion I tweaked the brackets so to match
the chord.
Thanks for the help.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p134658.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


please help with updating lsr snippet

2012-10-12 Thread TaoCG
This snippet would be really helpful for me:
http://lsr.dsi.unimi.it/LSR/Item?id=445

But in 2.16.0 it only works on single notes if they are in a chord construct
like 4 or something.
My understanding of scheme is very limited but I thought it might have
something to do with the function checking for equality with 'EventChord so
I tried changing that to 'NoteEvent but it doesn't have the desired effect.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/please-help-with-updating-lsr-snippet-tp134657.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: help with grace positioning

2012-10-11 Thread TaoCG
Thomas Morley wrote
> 2012/10/10 TaoCG <

> tao_lilyponduser@

> >:
>> I'm trying to typeset the following measure:
>> sf282.png
>> <http://lilypond.1069038.n5.nabble.com/file/n134539/sf282.png>;
>>
>> And that's the closest I got:
>> attempt.png
>> <http://lilypond.1069038.n5.nabble.com/file/n134539/attempt.png>;
>>
>> \version "2.16.0"
>>
>> skipOnce =
>> {
>>   \once \override NoteColumn #'glissando-skip = ##t
>>   \once \override NoteHead #'transparent = ##t
>> }
>>
>> \relative c''
>> {
>>   #(define afterGraceFraction (cons 1 5000))
>>   \times 2/3 { f8~ f4\glissando } \tupletDown
>>   \times 4/5 { \skipOnce e16 \afterGrace e4_( { e32[ f e])\glissando } }
>> \tupletNeutral
>>   \times 4/5 { \skipOnce f16 f4~ } f4~
>> }
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/help-with-grace-positioning-tp134539.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
> 
> Hi,
> 
> you could try the approach below.
> 
> I took the `graceSettings´ from /ly/engraver-init.ly and created some
> overrides with them, using these overrides in a temporary second
> voice.
> Because of the lower fontSize some additional tweaks were necessary.
> A music-function which minimises typing, while changing TupletBrackets
> 'minimal-length is added, too.
> 
> 
> 
> \version "2.16.0"
> 
> skipOnce =
> {
>   \once \override NoteColumn #'glissando-skip = ##t
>   \once \override NoteHead #'transparent = ##t
> }
> 
> % see `graceSettings´ in /ly/engraver-init.ly
> % TabNoteHead setting is omitted.
> graceStyleOn = {
> \override Stem #'direction = #UP
> \override Stem #'font-size = #-3
> \override Flag #'font-size = #-3
> \override NoteHead #'font-size = #-3
> \override Dots #'font-size = #-3
> \override Stem #'length-fraction = #0.8
> \override Stem #'no-stem-extend = ##t
> \override Beam #'beam-thickness = #0.384
> \override Beam #'length-fraction = #0.8
> \override Accidental #'font-size = #-4
> \override AccidentalCautionary #'font-size = #-4
> \override Slur #'direction = #DOWN
> \override Script #'font-size = #-3
> \override Fingering #'font-size = #-8
> \override StringNumber #'font-size = #-8
> }
> 
> graceStyleOff = {
> \revert Stem #'direction
> \revert Stem #'font-size
> \revert Flag #'font-size
> \revert NoteHead #'font-size
> \revert Dots #'font-size
> \revert Stem #'length-fraction
> \revert Stem #'no-stem-extend
> \revert Beam #'beam-thickness
> \revert Beam #'length-fraction
> \revert Accidental #'font-size
> \revert AccidentalCautionary #'font-size
> \revert Slur #'direction
> \revert Script #'font-size
> \revert Fingering #'font-size
> \revert StringNumber #'font-size
> }
> 
> tweakNh =
> #(define-music-function (parser location mus)(ly:music?)
> "Adjusting the NoteHead"
> #{
>  %% Construction-helpers:
> % \tweak #'layer #5
> % \tweak #'color #red
> \tweak #'X-offset #1.32
> \tweak #'stem-attachment #'(3.82 . 0.5)
> $mus
> #})
> 
> tupletLength =
> #(define-music-function (parser location ln)(number?)
> "Adjust TupletBracket's minimum-length"
> #{
> \override Score.TupletBracket #'springs-and-rods =
> #ly:spanner::set-spacing-rods
> \override Score.TupletBracket #'minimum-length = $ln
> #})
> 
> \score {
> \new Staff
> \new Voice \relative c'' {
>   \tupletLength #10
>   \tupletDown
>   \times 2/3 { f8~ f4\glissando }
>   \times 4/5 {
>   \skipOnce e16
>   <<
> { \voiceOne \graceStyleOn \tweakNh e32_([ f
> e])\glissando }
> \new Voice { \voiceTwo  e4 }
>>>
>   }
>   \oneVoice
>   \times 4/5 { \graceStyleOff \skipOnce  f16  f4~ }
>   f4 |
> }
> \layout {
>  

Re: error message

2012-10-10 Thread TaoCG
Mark Stephen Mrotek wrote
> After putting my code into Frescobaldi I clicked the Lilypond icon and got
> this error message:
> 
>  
> 
> Starting lilypond-windows.exe 2.16.0 [Untitled]...
> 
> Could not start lilypond-windows.exe.
> 
> Please check path and permissions.
> 
>  
> 
> Lilypond 2.16.0 is installed.
> 
>  
> 
> What do I need to do?

Hmm... did you try what the error message suggests?
In frescobaldi lilypond settings check if the command points correctly to
the windows binary on your machine. If that's not the cause try running
frescobaldi as administrator (Win7 right click -> Run as Administrator).

HTH,
Tao




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/error-message-tp134549p134571.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


help with grace positioning

2012-10-10 Thread TaoCG
I'm trying to typeset the following measure:
sf282.png   

And that's the closest I got:
attempt.png   

\version "2.16.0"

skipOnce =
{
  \once \override NoteColumn #'glissando-skip = ##t
  \once \override NoteHead #'transparent = ##t
}

\relative c''
{
  #(define afterGraceFraction (cons 1 5000))
  \times 2/3 { f8~ f4\glissando } \tupletDown
  \times 4/5 { \skipOnce e16 \afterGrace e4_( { e32[ f e])\glissando } }
\tupletNeutral
  \times 4/5 { \skipOnce f16 f4~ } f4~
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/help-with-grace-positioning-tp134539.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: parenthesize chord

2012-10-09 Thread TaoCG
Hello, can the chord parentheses engraver also do square brackets?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p134439.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: Collision problem when using \stopStaff and \startStaff

2012-10-05 Thread TaoCG
Thomas Morley wrote
> 2012/10/5 TaoCG <

> tao_lilyponduser@

> >:
>> I currently have to typeset a lot of this:
>> skipgliss.png
>> <http://lilypond.1069038.n5.nabble.com/file/n134155/skipgliss.png>;
>>
>> The problem is when I use stop and startStaff to hide the ledgerlines the
>> dynamics and tupletbracket both move as close to the staff as possible
>> and
>> collide like you see in the image.
>>
>> Here is the lily code. When you comment out the stop- and startStaff
>> commands the bracket and dynamics move to its proper place.
>>
>> \version "2.16.0"
>>
>> skipGlissOn =
>> {
>> \override NoteColumn #'glissando-skip = ##t
>> \override NoteHead #'transparent = ##t
>> \stopStaff
>> \override Staff.LedgerLineSpanner #'transparent = ##t
>> \startStaff
>> }
>>
>> skipGlissOff =
>> {
>> \revert NoteColumn #'glissando-skip
>> \revert NoteHead #'transparent
>> \stopStaff
>> \revert Staff.LedgerLineSpanner #'transparent
>> \startStaff
>> }
>>
>> \relative c'
>> {
>> \dynamicUp
>> \times 8/10 { c32\pp\>\glissando \skipGlissOn c c c b b b b
>> \skipGlissOff b\! r }
>> }
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/Collision-problem-when-using-stopStaff-and-startStaff-tp134155.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
> 
> No need for \startStaff and \stopStaff.
> Why not simply
> \override NoteHead #'no-ledgers = ##t
> But not tested.
> 
> HTH,
>   Harm
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Works perfect, thanks!
It didn't occur to me to not do something with LedgerLineSpanner.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Collision-problem-when-using-stopStaff-and-startStaff-tp134155p134157.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


Collision problem when using \stopStaff and \startStaff

2012-10-05 Thread TaoCG
I currently have to typeset a lot of this:
skipgliss.png
  

The problem is when I use stop and startStaff to hide the ledgerlines the
dynamics and tupletbracket both move as close to the staff as possible and
collide like you see in the image.

Here is the lily code. When you comment out the stop- and startStaff
commands the bracket and dynamics move to its proper place.

\version "2.16.0"

skipGlissOn =
{
\override NoteColumn #'glissando-skip = ##t
\override NoteHead #'transparent = ##t
\stopStaff
\override Staff.LedgerLineSpanner #'transparent = ##t
\startStaff
}

skipGlissOff =
{
\revert NoteColumn #'glissando-skip
\revert NoteHead #'transparent
\stopStaff
\revert Staff.LedgerLineSpanner #'transparent
\startStaff
}

\relative c'
{
\dynamicUp
\times 8/10 { c32\pp\>\glissando \skipGlissOn c c c b b b b
\skipGlissOff b\! r }
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Collision-problem-when-using-stopStaff-and-startStaff-tp134155.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: double dashed barline

2012-10-05 Thread TaoCG
Thomas Morley wrote
> 2012/10/4 TaoCG <

> tao_lilyponduser@

> >:
>> I found two different approaches to print double dashed bar lines here:
>> http://lilypond.1069038.n5.nabble.com/Fine-with-dashed-double-barline-occurring-in-middle-of-bar-td17372.html
>>
>> But I need the barline to span a piano and choir staff which neither
>> method
>> currently supports.
>> Anyone has an alternative approach or could help implement it into one of
>> the existing ones?
>>
>>
>>
>> --
>> View this message in context:
>> http://lilypond.1069038.n5.nabble.com/double-dashed-barline-tp134112.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
> 
> I extended the function provided by Robin Bannister:
> 
> \version "2.15.25"
> 
> barDoubled = #(define-music-function (parser location glyph) (string?)
>   (define (bar-gap-bar grob)
> (let* (
>   (layout (ly:grob-layout grob))
>   (weight (ly:output-def-lookup layout 'line-thickness 0.1))
>   (raw-gap (ly:grob-property grob 'thin-kern))
>   (gap (* raw-gap weight)))
> (ly:stencil-combine-at-edge (ly:bar-line::print grob)
>   X RIGHT (ly:bar-line::print grob) gap)))
> 
>   (define (span-bar-gap-bar grob)
> (let* (
>   (layout (ly:grob-layout grob))
>   (weight (ly:output-def-lookup layout 'line-thickness 0.1))
>   (raw-gap (ly:grob-property grob 'thin-kern))
>   (gap (* raw-gap weight)))
> (ly:stencil-combine-at-edge (ly:span-bar::print grob)
>   X RIGHT (ly:span-bar::print grob) gap)))
>   #{
> \bar $glyph
> \once \override Score.BarLine #'stencil = $bar-gap-bar
> \once \override Score.SpanBar #'stencil = $span-bar-gap-bar
>   #})
> 
> \score {
> <<
> \new ChoirStaff <<
> \new Staff \relative c' { c'1 b \barDoubled "dashed" c }
> \new Staff \relative c' { g'1 g g }
> \new Staff \relative c' { \clef "G_8" e1 d e }
> \new Staff \relative c' { \clef bass c g c }
> >>
> \new PianoStaff <<
> \new Staff \relative c' { 
> 
> 1 
> 
>  
> 
>  }
> \new Staff \relative c' { \clef bass c g c }
> >>
> >>
> }
> 
> HTH,
>   Harm
> 
> P.S.
> Once the bar-line-patch is approved you can simple write:
> #(define-bar-line "!!" "!!" #f "!")
> and use it with \bar "!!"
> see http://codereview.appspot.com/6498052
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Thank you very much!
Looking forward to the new barlines.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/double-dashed-barline-tp134112p134154.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


double dashed barline

2012-10-04 Thread TaoCG
I found two different approaches to print double dashed bar lines here:
http://lilypond.1069038.n5.nabble.com/Fine-with-dashed-double-barline-occurring-in-middle-of-bar-td17372.html

But I need the barline to span a piano and choir staff which neither method
currently supports.
Anyone has an alternative approach or could help implement it into one of
the existing ones?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/double-dashed-barline-tp134112.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: unwanted barnumber

2012-10-04 Thread TaoCG
Thomas Morley wrote
> 2012/10/3 Thomas Morley <

> thomasmorley65@

> >:
>> 2012/10/3 TaoCG <

> tao_lilyponduser@

> >:
>>> TaoCG wrote
>>>>
>>>> thomasmorley65 wrote
>>>>> Sorry, forgot to answer all.
>>>>> Here again:
>>>>>
>>>>> 2012/10/3 TaoCG <
>>>
>>>>> tao_lilyponduser@
>>>
>>>>> >:
>>>>>> When I typeset a dashed barline in the middle of a bar lilypond
>>>>>> prints
>>>>>> an
>>>>>> additional Barnumber in parentheses above it. Is there a way to avoid
>>>>>> this?
>>>>>
>>>>> Using:
>>>>>
>>>>> \relative c' {
>>>>> \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
>>>>> c1
>>>>> d
>>>>> e
>>>>> c8 c c c \bar "dashed"
>>>>> c c c c
>>>>> \break
>>>>> d1 e f
>>>>> \bar "|."
>>>>> }
>>>>>
>>>>> I can't confirm your observation with any tested version.
>>>>> i.e "2.14.2", "2.16.0", "2.17.0"
>>>>>
>>>>> -Harm
>>>>>
>>>>> ___
>>>>> lilypond-user mailing list
>>>
>>>>> lilypond-user@
>>>
>>>>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>>> Ah sorry, it didn't occur to me that this might not be standard
>>>> behaviour
>>>> (I suppose because of the parentheses, they make it look intentional).
>>>> I made a short snippet. Apparently the additional bar number is a
>>>> result
>>>> of both of the overrides, comment out either and it will disappear. In
>>>> my
>>>> score I use bar numbers every 5 measures.
>>>>
>>>> \version "2.16.0"
>>>>
>>>> {
>>>>   \override Score.BarNumber #'break-visibility = #end-of-line-invisible
>>>>   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
>>>>   r2 \bar "dashed" r
>>>> }
>>>
>>> I got rid of the additional barnumber by setting the stencil to ##f just
>>> before the \bar command.
>>> Still if someone knows of an automatic way that would be great.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://lilypond.1069038.n5.nabble.com/unwanted-barnumber-tp134059p134072.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
>>
>> Bit hackish, but you could use:
>>
>> \version "2.16.0"
>>
>> omitParenthesizedBarNumbers =
>> \override Score.BarNumber #'after-line-breaking =
>>   #(lambda (grob)
>> (let* ((text (ly:grob-property grob 'text))
>>(text-arg (caadr text))
>>(bracket? (string-contains text-arg "(")))
>> (if bracket?
>>   (ly:grob-set-property! grob 'stencil #f)
>>   #f)))
>>
>> \layout {
>> \context {
>> \Score
>> \omitParenthesizedBarNumbers
>> }
>> }
>>
>> {
>>   \override Score.BarNumber #'break-visibility = #end-of-line-invisible
>>   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2)
>>   r1  r2  \bar "dashed" r r1 r r r r
>> }
>>
>> HTH,
>>   Harm
> 
> Hi again,
> 
> please replace `omitParenthesizedBarNumbers' with the following, less
> hackish version
> 
> omitParenthesizedBarNumbers =
> \override Score.BarNumber #'after-line-breaking =
>   #(lambda (grob)
> (let* ((text (ly:grob-property grob 'text))
>(text-arg (caadr text))
>(nmbr? (string->number text-arg)))
> (if (not nmbr?)
>   (ly:grob-suicide! grob)
>   #f)))
> 
> 
> Regards,
>   Harm
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Thanks!



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/unwanted-barnumber-tp134059p134111.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: unwanted barnumber

2012-10-03 Thread TaoCG
TaoCG wrote
> 
> thomasmorley65 wrote
>> Sorry, forgot to answer all.
>> Here again:
>> 
>> 2012/10/3 TaoCG <

>> tao_lilyponduser@

>> >:
>>> When I typeset a dashed barline in the middle of a bar lilypond prints
>>> an
>>> additional Barnumber in parentheses above it. Is there a way to avoid
>>> this?
>> 
>> Using:
>> 
>> \relative c' {
>> \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
>> c1
>> d
>> e
>> c8 c c c \bar "dashed"
>> c c c c
>> \break
>> d1 e f
>> \bar "|."
>> }
>> 
>> I can't confirm your observation with any tested version.
>> i.e "2.14.2", "2.16.0", "2.17.0"
>> 
>> -Harm
>> 
>> ___
>> lilypond-user mailing list

>> lilypond-user@

>> https://lists.gnu.org/mailman/listinfo/lilypond-user
> Ah sorry, it didn't occur to me that this might not be standard behaviour
> (I suppose because of the parentheses, they make it look intentional).
> I made a short snippet. Apparently the additional bar number is a result
> of both of the overrides, comment out either and it will disappear. In my
> score I use bar numbers every 5 measures.
> 
> \version "2.16.0"
> 
> {
>   \override Score.BarNumber #'break-visibility = #end-of-line-invisible
>   \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
>   r2 \bar "dashed" r
> }

I got rid of the additional barnumber by setting the stencil to ##f just
before the \bar command.
Still if someone knows of an automatic way that would be great.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/unwanted-barnumber-tp134059p134072.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: unwanted barnumber

2012-10-03 Thread TaoCG
thomasmorley65 wrote
> Sorry, forgot to answer all.
> Here again:
> 
> 2012/10/3 TaoCG <

> tao_lilyponduser@

> >:
>> When I typeset a dashed barline in the middle of a bar lilypond prints an
>> additional Barnumber in parentheses above it. Is there a way to avoid
>> this?
> 
> Using:
> 
> \relative c' {
> \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
> c1
> d
> e
> c8 c c c \bar "dashed"
> c c c c
> \break
> d1 e f
> \bar "|."
> }
> 
> I can't confirm your observation with any tested version.
> i.e "2.14.2", "2.16.0", "2.17.0"
> 
> -Harm
> 
> ___
> lilypond-user mailing list

> lilypond-user@

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

Ah sorry, it didn't occur to me that this might not be standard behaviour (I
suppose because of the parentheses, they make it look intentional).
I made a short snippet. Apparently the additional bar number is a result of
both of the overrides, comment out either and it will disappear. In my score
I use bar numbers every 5 measures.

\version "2.16.0"

{
  \override Score.BarNumber #'break-visibility = #end-of-line-invisible
  \set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
  r2 \bar "dashed" r
}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/unwanted-barnumber-tp134059p134071.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


unwanted barnumber

2012-10-03 Thread TaoCG
When I typeset a dashed barline in the middle of a bar lilypond prints an
additional Barnumber in parentheses above it. Is there a way to avoid this?



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/unwanted-barnumber-tp134059.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


Dynamic collisions

2012-09-30 Thread TaoCG
I'm getting a lot of colliding dynamics like in the attached pdf. 
sf_03_m14.pdf
  
If I try to isolate that specific measure the dynamics don't collide:

\version "2.16.0"

\score
{
  <<
\new PianoStaff
<<
  \new Staff \relative c'''
  {
\override Score.Hairpin #'circled-tip = ##t
\override Score.Hairpin #'minimum-length = #10
r4 \times 2/3 { r8 d4~\< } \times 2/3 { d8\\> r4\! } r4
  }
  \new Staff \relative c'
  {
\clef F
<<
  { r16 d4..~^\< d\p\> r16\! } \\
  { r2 \times 2/3 { r4 c8~\< } \times 2/3 { c\f\> r4\! } }
>>
  }
>>
  >>
}

Does anyone have an idea what might be causing this and how to resolve it?




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Dynamic-collisions-tp133884.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


slur collisions

2012-09-26 Thread TaoCG
I'm having slurs collide with tuplet brackets.
I tried \override Score.TupletBracket #'avoid-slur #'around (and other
values) but they don't seem to have any effect.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/slur-collisions-tp133630.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: parenthesize chord

2012-09-25 Thread TaoCG
Nick Payne-3 wrote
> You can add whiteout to the ChordParentheses, but that also results in
> the staff lines disappearing underneath them:
> 
> \override ChordParentheses #'whiteout = ##t

Thanks, I layered the glissandi and chord-parentheses below the staff lines.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p133527.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: parenthesize chord

2012-09-23 Thread TaoCG
David Nalesnik-2 wrote
> Here's my hack!
> 
> A while back I was experimenting with defining new grobs, and a
> chord-parenthesizer was one of them.  It's based on a rewrite of
> `arpeggio-engraver.cc' and incorporates material from `stencil.scm'
> (to draw the parentheses) and uses the approach found in the
> regression test `scheme-text-spanner.ly'.
> 
> I updated this to work with 2.16.0, but that's about it.
> 
> It's a lot of code, I know, but hopefully it will be useful.
> 
> -David

Thank you, that looks very good.
The parentheses collide with glissando lines. Would it be possible to
resolve that collision automatically?




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p133361.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: parenthesize chord

2012-09-22 Thread TaoCG
m...@mikesolomon.org wrote
> One of many possible hacks...
> 
> #(define (parenthesize-elements grob . rest)
> (let* ((refp (if (null? rest)
>  grob
>  (car rest)))
>(elts (ly:grob-object grob 'elements))
>(x-ext (ly:relative-group-extent elts refp X))
>(stencils (ly:grob-property grob 'stencils))
>(lp (car stencils))
>(rp (cadr stencils))
>(padding (ly:grob-property grob 'padding 0.5)))
> 
>   (ly:stencil-add
>(ly:stencil-translate-axis lp (- (car x-ext) padding) X)   
>(ly:stencil-translate-axis rp (+ (cdr x-ext) padding) X
> 
> \relative c' {
> \override NoteColumn #'stencils =
> #parentheses-item::calc-angled-bracket-stencils
> \override NoteColumn #'stencil = #parenthesize-elements

> }

Hmm... this looks weird.
pchord.pdf   

Thanks for the help though.




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10p13.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


special accidentals

2012-09-22 Thread TaoCG
Hello,

I currently have to copy parts from a modern opera and sometime it has these
accidentals.
My guess is that these are just a different way to type quarter tones but
I'm not sure since I haven't seen them before. Anyone know if this is true
because then I'd just replace them with the standard lily accidentals for
quarter tones.


acc.pdf   



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/special-accidentals-tp12.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


parenthesize chord

2012-09-22 Thread TaoCG
Is it possible to put put single parentheses around a chord?
If I parenthesize a chord each note gets a pair of parentheses on its own.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/parenthesize-chord-tp10.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: Glissando from e-flat to e

2012-09-22 Thread TaoCG
Marc Hohl wrote
> Perhaps \once \override Glissando #'extra-dy = #0.5?

Yes, perfect. Thank you!




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Glissando-from-e-flat-to-e-tp133308p133315.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


Glissando from e-flat to e

2012-09-22 Thread TaoCG
I need to typeset a glissando from e-flat to e and I'd like it to look as if
it'd go upward, right now the line is straight and not actually visible
because it collides with the staff line.
I suppose the property to edit is normalized-endpoints but changing it
didn't seem to have any effect.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Glissando-from-e-flat-to-e-tp133308.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: Help with musicxml2ly

2012-09-22 Thread TaoCG
pls-2 wrote
> I can't really tell whether your file is too complex for musicxml2ly
> because I haven't seen it.  Probably not. Negative skips are an indication
> of time-related problems.  Quite a few programs export faulty pickup
> measures.  In some cases musicxml2ly has problems with certain ways of
> encoding multiple voices.  That's why I asked.  The Python error you
> posted might just disappear when you get a grip on the negative skips.  So
> the best (but tedious) way to go would be to open the .xml-file with a
> text editor take out (comment out or cut) all the measures but the first,
> run musicxml2ly (and lilypond) and see what happens.  If there are no
> errors and the compilation is successful paste in measure by measure and
> repeat the conversion and compilation until the first negative skip
> appears.  There is no easy way out if you want to help to improve
> musicxml2ly!
> 
> Give it a try.  If all else fails post me the file off-list.
> 
> hth
> patrick

Thanks, I tried that but I still get around 20 or so negative skips with
only the first measure.

As much as I'd like to get this to work I believe I'd be best off reytyping
this manually because I don't have much time to finish this and it seems
it'd require some time to get into the materia first.

Anyway, I'd have to ask for permission first before I could send you the
file but let me know if you're interested to see it.

When I'm done with this I'll experiment more with musicxml to be prepared
for future projects. This is my first big copying job and I haven't foreseen
the possible usefulness of this tool.

Thanks for the help and input so far.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Help-with-musicxml2ly-tp133253p133291.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: Help with musicxml2ly

2012-09-21 Thread TaoCG
pls-2 wrote
> Hi,
> 
> can you replicate the error in a tiny example and post the .xml-file? 
> 
> Right now I can only guess. Is there a pickup measure? Are there multiple
> voices?
> 
> patrick

Unfortunately no. It's a very complex piece which I got in Sibelius format
which I exported then to musicxml hoping I'd be able to convert it to
lilypond. Actually I have no idea how musicxml works.
It has no pickup measure but definitely multiple voices.

You think if it's too complex musicxml2ly can't handle it?
Maybe I'll just have to copy it by hand.

Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Help-with-musicxml2ly-tp133253p133277.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


Help with musicxml2ly

2012-09-21 Thread TaoCG
Hello,

I'm trying to convert from xml for the first time but I get the following
errors:
a long list of Negative skips and then this

Traceback (most recent call last):
  File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2947,
in ?

main()
  File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2942,
in m
ain
voices = convert (filename, options)
  File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2860,
in c
onvert
update_score_setup (score, part_list, voices)
  File "C:\Program Files (x86)\LilyPond\usr\bin\musicxml2ly.py", line 2768,
in u
pdate_score_setup
score_structure.set_part_information (part_id, staves_info)
  File "C:\Program Files
(x86)\LilyPond\usr\share\lilypond\current\python\musice
xp.py", line 1922, in set_part_information
self.contents.set_part_information (part_id, staves_info)
  File "C:\Program Files
(x86)\LilyPond\usr\share\lilypond\current\python\musice
xp.py", line 1766, in set_part_information
c.set_part_information (part_name, staves_info)
AttributeError: PartGroupInfo instance has no attribute
'set_part_information'



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Help-with-musicxml2ly-tp133253.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


Modern Flags with 2.16.0

2012-09-20 Thread TaoCG
Dear List,

I'm currently trying to migrate from 2.14 to 2.16 and can't find how to
create modern flags.
I read that flags are now internally separated from stems but the style
property of a flag doesn't seem to support modern-straight as it used to in
2.14.

Am I looking at the wrong place or is this feature lost?

Thanks for the help and expect more questions in the future since it appears
there are some fundamental changes in the versions.

Regards,
Tao



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Modern-Flags-with-2-16-0-tp133203.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


Issue with pango font tree and global staff size

2012-06-02 Thread TaoCG

Dear list,

I am having a problem with using a custom pango font tree and
set-global-staff-size at the same time.
If I set the staff size before the \paper block only the staff lines change,
the feta glyphs and text don't.
But if I set the staff-size after the \paper block it resets the pango font
tree to the default lily fonts.

I made two snippets for demonstration. Both tested with 2.14.2 and 2.15.39
with the same results.


%
% 1.ly
%

music = { a4^"Markup" b c' d' }

\paper
{
#(define fonts
(make-pango-font-tree
"Linux Libertine"
"Linux Biolinum"
"Courier New"
(/ 20 20)))
}

#(set-global-staff-size 15)

\score
{
<< \new Staff \music >>
\layout { }
}


%
% 2.ly
%

#(set-global-staff-size 15)

music = { a4^"Markup" b c' d' }

\paper
{
#(define fonts
(make-pango-font-tree
"Linux Libertine"
"Linux Biolinum"
"Courier New"
(/ 20 20)))
}

\score
{
<< \new Staff \music >>
\layout { }
}

http://old.nabble.com/file/p33948694/1.png 1.png 
http://old.nabble.com/file/p33948694/2.png 2.png 
-- 
View this message in context: 
http://old.nabble.com/Issue-with-pango-font-tree-and-global-staff-size-tp33948694p33948694.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: control notelength via variable?

2011-03-21 Thread TaoCG


David Kastrup wrote:
> 
>> On Sat 19 Mar 2011, 12:15 TaoCG wrote:
>>> Hi,
>> Hi!
>>
>>> I need to control the length of rest and notes with a variable.
>>> something like:
>>> len = 2
>>> r\len
>>> 
>>> this doesn't work of course but is there a way to do this?
>>> I tried overriding duration-log but it only changes the visual
>>> appearance.
>> Strange, lilypond *does* compile this:
>>
>> len = #1
>> {
>>  c''#len
>> }
>>
>> but engrave[s] c''4 actually. It's interesting.
> 
> Not particularly.  You can intersperse Scheme expressions with music
> events, and they are evaluated and the value, in general, is ignored.
> Nothing more, nothing less.  With one exception:
> 
> #(define len (ly:export (ly:make-duration 1 0)))
> {
> c''#len
> }
> 
> -- 
> David Kastrup
> 

Thanks, this works great.
I just had to modify it a little so I could control the duration with a
variable:

#(define duration 1)

#(define (len d) (ly:export (ly:make-duration d 0)))

{
r#(len duration)
#(set! duration 2)
r#(len duration)
}
-- 
View this message in context: 
http://old.nabble.com/control-notelength-via-variable--tp31190034p31202057.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


control notelength via variable?

2011-03-19 Thread TaoCG

Hi,

I need to control the length of rest and notes with a variable.
something like:
len = 2
r\len

this doesn't work of course but is there a way to do this?
I tried overriding duration-log but it only changes the visual appearance.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/control-notelength-via-variable--tp31190034p31190034.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Scheme question

2011-03-10 Thread TaoCG


Carl Sorensen-3 wrote:
> 
> It is possible to determine the current time signature from the Timing
> context using the timeSignatureFraction property.
> 
> However, this is difficult to do in a music function, because the music
> function does not have a context available.
> 
> You'll need to use a context-specced-music expression to make this happen,
> if I recall correctly.
> 
> You might search the lilypond-devel archives for context-specced-music.
> 
> HTH,
> 
> Carl
> 

Hi,

I was trying to figure out how this could work according to your suggestions
but I got lost really quick.
Is there some additional information available on contexts like 'Timing or
'ContextSpeccedMusic?

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Scheme-question-tp31109572p31122831.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Scheme question

2011-03-10 Thread TaoCG


Carl Sorensen-3 wrote:
> 
> It is possible to determine the current time signature from the Timing
> context using the timeSignatureFraction property.
> 
> However, this is difficult to do in a music function, because the music
> function does not have a context available.
> 
> You'll need to use a context-specced-music expression to make this happen,
> if I recall correctly.
> 
> You might search the lilypond-devel archives for context-specced-music.
> 
> HTH,
> 
> Carl
> 

Thanks. It's a start.
I was wondering now how would you determine the time signature if it wasn't
for a music function, e.g. is it possible to store the value in another
variable?
Also, is there some info about the Timing context because I couldn't find it
in the Internals.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Scheme-question-tp31109572p31113015.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Scheme question

2011-03-09 Thread TaoCG

Hi,

is it possible to determine the current time signature with scheme?
I would like to alter the functions from this snippet so that the length of
the produced rest equals the denominator and that $count equals the
nominator.
http://lsr.dsi.unimi.it/LSR/Snippet?id=332

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Scheme-question-tp31109572p31109572.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: How to override VoltaBracket once?

2011-03-08 Thread TaoCG


-Eluze wrote:
> 
> just put it at the beginning of each alternative in which you want to
> lower the volta bracket!
> hth
> 

Alright, I always thought that both brackets count as one.
Also I thought that I at least had tried to put this in one of the
alternatives but apparently I didn't.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/How-to-override-VoltaBracket-once--tp31095175p31096272.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


How to override VoltaBracket once?

2011-03-08 Thread TaoCG

Hi,

what I am basically trying to do is to override a property of VoltaBracket
once but I can't figure out where to place the command in the code. When I
remove \once it works fine. I know I can just revert the property but I am
still curious why it won't work.

Actually I have a coda sign in the alternative-part and I set its
outside-staff-priority to 0 to have it below the volta bracket but now the
volta bracket seems to be to far away.
The following snippet produces what I want but if I try to override with
\once nothing happens.

\version "2.13.52"


music =
{
\repeat unfold 6 { c'1 }
}

frame =
{
\override Score.VoltaBracket #'extra-offset = #'(0 . -1.5)  
\repeat volta 2
{   
s1*2
}
\alternative
{
{ s1*2 }
{
s1
\once \override Score.RehearsalMark 
#'outside-staff-priority = #0
\mark \markup \musicglyph #"scripts.coda"
s1
}
}
\bar "||"
}

\score
{
<<
\new Staff = "s" \new Voice = "v" << \frame \music >>
>>
}
-- 
View this message in context: 
http://old.nabble.com/How-to-override-VoltaBracket-once--tp31095175p31095175.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Strange behaviour of Lyrics above Staff

2011-03-07 Thread TaoCG


Phil Holmes-2 wrote:
> 
> Have a look at http://code.google.com/p/lilypond/issues/detail?id=1486 and 
> http://code.google.com/p/lilypond/issues/detail?id=1483 which I think will 
> clarify some of this for you.  You may need to experiment with staff
> spacing 
> commands and lyric affinities.
> 
> --
> Phil Holmes
> 
Thanks. It seems the solution on the page you posted in issue 1486 does the
trick.
I still don't see why 1486 is fixed though. The problem is still there and I
don't think I have seen a potential workaround in the docs, just a note in
CHANGES that only said  lyrics above a staff have to set #'staff-affinity =
#DOWN or use alignAboveContext but that really isn't a change.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Strange-behaviour-of-Lyrics-above-Staff-tp31089958p31094964.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Strange behaviour of Lyrics above Staff

2011-03-07 Thread TaoCG

Hi,

I am having weird results with Lyrics above the Staff.
I tried to reduce the problem to a small snippet.

What I notice is that the distance to the staff is very large except on the
first system on a page.
Also the distance raises if you put a rehearsal mark at the beginning of a
system although they don't collide.

I tried moving the lyrics closer to the staff by overriding the
#'outside-staff-padding property of LyricText but with no effect at all.

Here comes the snippet. If you remove the rehearsal mark you'll see that the
lyrics will move much closer to the staff than on the following systems.

\version "2.13.52"

outer = 40
inner = 8

\header
{
title = "Test"
}

music =
{
\mark \default
\repeat unfold \outer { \repeat unfold \inner { c'8 } \break }
}

text = \lyricmode
{
\repeat unfold \outer { \repeat unfold \inner { foo } }
}

\score
{
<<
\new Staff = "s" \new Voice = "v" \music
\new Lyrics \with { alignAboveContext = "s" }
{
\set associatedVoice = "v" { \text }
}
>>
}

http://old.nabble.com/file/p31089958/score.pdf score.pdf 
-- 
View this message in context: 
http://old.nabble.com/Strange-behaviour-of-Lyrics-above-Staff-tp31089958p31089958.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: "community compose" with lilypond

2011-02-28 Thread TaoCG


lilypond-5 wrote:
> 
> I would like to "compose" with the community with Lilypond.
> 
> Problem :
> I play Djembé, a instrument without music notation. I would like to  
> write using Lilypond notation. But this notation can be wrong of  
> course. No one knows Djembé classical music notation, so no one can  
> say it is Ok, or wrong. I would like to check the Lilypond notation by  
> playing its midi with a Djembé soundfont.
> 
> Djembé players can hear if the sound is not good, so the notation has  
> to be altered. I would like to use a wiki for that with the LilyPond  
> extension. So anyone can make a (small) change and hear the  
> difference. See f.e http://www.oscarvandillen.com/Lilypond
> 
> Can a custom soundfont be attached to the  ? So the sound,  
> and thus the noation, can be checked? I would be a kind of "composing"  
> or more writing Lilypond with the community.
> 
> If that is possible then the small Djembé community can start saving  
> original African Djembé music. So it will not be lost.
> 
Well, I am no expert in MIDI, so anyone correct me if I am wrong, but to my
knowledge lilypond doesn't contain any soundfont at all. The MIDI-files
generated by Lilypond are just played via the GM-Standard Soundfont that
comes with your operating system.

I suggest you to take a look at the file drumpitch-init.ly in
usr\share\lilypond\current\ly of your Lilypond directory and analyze it
until you understand what it does. Part of it is described here:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Common-notation-for-percussion#Custom-percussion-staves

I don't work with MIDI output but I believe if you make your custom
drum-pitch tables you can alter the midi-drumpitch table accordingly, you'll
just have to know which MIDI-representation each sound of your soundfont has
and later make sure that your MIDI-file is played back using your djembé
soundfont.

I hope this was of some help.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/%22community-compose%22-with-lilypond-tp31034040p31036914.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: Trouble Understanding VerticalAxisGroup - advice needed please

2011-02-27 Thread TaoCG



pkx166h wrote:
> 
> All the example shows in the NR is to add a '\with' between the existing
> \*Staff and the rest of the { } expression and put the \override after the
> {. So the braces are already in place.
> 
> I haven't actually 'added' any new braces - again as per the example.
> 
> So what is the \with doing? Because if you remove the \with you don't get
> any errors.
> 
> I've tried putting the closing brace in every conceivable place but I get
> the unexpected '}' message.
> 
> ?
> 
> James
> 

Maybe you should install the latest development release.
I think some subproperties of the VerticalAxisGroup properties have been
renamed (and rewritten?).
At least I remember that I had to replace #'space with #'basic-distance when
I installed 2.13.51 so the properties you are trying to override probably
aren't specified yet in 2.13.4

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/Trouble-Understanding-VerticalAxisGroup---advice-needed-please-tp31027076p31027821.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: How to use Markup for Barnumbers?

2011-02-27 Thread TaoCG


pkx166h wrote:
> 
> I'm more intrigued to know why you'd have bar numbers in pairs like this.
> 
> That is if they are just repeats then you are repeating bar X but if it is
> a new bar then it is a new bar if you see what I mean.
> 

Well in my case the new bar is different to bar X in the vocal and horn
parts but is not in the rhythm section, you see?
To be precise, the harmonic structure of the song is AABAAB but the melodic
part is ABCDBC and to fit the music for the rhythm section on less pages I
am going to put it like this:
§ |: A :| B  dal segno(I hope this is clear)


So the repeated A part would be the B part for vocals and horns and in
rehearsals I prefer to work with bar numbers instead of rehearsal marks
that's why I wanted to have two at the same time.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/How-to-use-Markup-for-Barnumbers--tp31019034p31027143.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: How to remove all empty staves?

2011-02-26 Thread TaoCG


Robin Bannister wrote:
> 
> Robin Bannister wrote:
>> Something relevant must have changed between 2.13.40 and 2.13.46. 
>
> I've narrowed this down to between 2.13.42 and 2.13.43, 
> so it's probably the commit to fix issue 1336
> http://code.google.com/p/lilypond/issues/detail?id=1336 
>
> "Don't make paper columns if skipTypesetting = ##t". 
> 

Wow, thanks for your efforts.
I don't really understand this issue though.


Robin Bannister wrote:
> 
> A different approach would be to go straight to e.g. bar 49 from bar 32 
> i.e. comment out the removable section and say 
>
>> \set Score.currentBarNumber = #49 
> 

Well, actually I have a global frame with rehearsal marks etc., which I
wanted to use for all parts but I guess I'll just have to make an
alternative one for the rhythm section in this case.

Regards,
Tao
-- 
View this message in context: 
http://old.nabble.com/How-to-remove-all-empty-staves--tp31019724p31022080.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: How to remove all empty staves?

2011-02-26 Thread TaoCG


Robin Bannister wrote:
> 
> Tao wrote:
>>  maybe this is a bug?
>
> It is an issue: 
> http://lists.gnu.org/archive/html/bug-lilypond/2009-03/msg00019.html
>
>
> Try turning skipTypesetting on and off: 
>
>> \set Score.skipTypesetting = ##t
>>   [ ... empty section ... ] 
>> \set Score.skipTypesetting = ##f
>
>
> Cheers, 
> Robin
> 

Thanks for your help.
Unfortunately this seems to neutralize all \break commands.
I tried to reproduce this in a small snippet:

\version "2.13.51"

{
c'1
\break
\set Score.skipTypesetting = ##t
s1
\set Score.skipTypesetting = ##f
\break
c'1
}

http://old.nabble.com/file/p31020717/sample.png sample.png 

-- 
View this message in context: 
http://old.nabble.com/How-to-remove-all-empty-staves--tp31019724p31020717.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


Re: How to remove all empty staves?

2011-02-26 Thread TaoCG


Phil Holmes-2 wrote:
> 
> If the music only has full measure rests for that section, then putting
> this 
> layout block in the definition will allow the staff to disappear:
> 
> \layout {
>   \context {
> \RemoveEmptyStaffContext
> }
> 
> 
> --
> Phil Holmes
> 

Actually I have:

\context {
   \Staff \RemoveEmptyStaves
}

Does this make any difference?

I tried changing it to your example but the result seems to be the same.
Again I tried to remove the rehearsal mark to see if it is keeping the staff
alive but apparently it's not and then only the bar number is seen taking up
vertical space for a whole staff.

I forgot to mention that I use the development version, maybe this is a bug?

Regards,
Tao

-- 
View this message in context: 
http://old.nabble.com/How-to-remove-all-empty-staves--tp31019724p31020129.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.


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


  1   2   >