Re: combine different note heads (drumset)

2016-05-22 Thread Daniel E. Moctezuma
Thank you very much for your help Thomas!

For a moment I even considered extending on Feta font to support this stuff.
It seems the scheme function can be extended to support other noteheads, etc., 
so it might be a nice approach for what I'm looking to do.

Thanks again.

On 05/22 12:07, Thomas Morley wrote:
> 2016-05-22 10:34 GMT+02:00 Daniel E. Moctezuma <democtez...@gmail.com>:
> > Hello,
> >
> > I would like to define a note head type (or modify/tweak an existing one) 
> > that uses a combination of 2 existing note heads from the Feta font.
> > I'm trying to use the notation proposed by Norman Weinberg in his book 
> > Guide to Standardized Drumset Notation.
> >
> > Hi-Hat and Cymbals for instance use both Cross and Diamond shape note heads 
> > as follows:
> > 1. Half-note and whole-note use a diamond, very similar to s0miThin except 
> > the height of s0miThin is kind of short.
> > 2. Quarter-note and below use a cross shaped note-head such as s2cross.
> >
> > I did manage to make Lilypond show the above note heads accordingly using 
> > tweaks.
> > The disadvantage is that in order to achieve the desired result I would 
> > have to do something like "\customDiamond cymc2" every time I have to input 
> > half or whole notes.
> > So I'm looking for an easier way to input those kind of notes as well as to 
> > support chords.
> >
> > In the following sample code you can see how modifying the stencil can give 
> > you somewhat what I'm looking for, but here are some concerns:
> > 1. It doesn't work when using chords (for example: hitting the crash cymbal 
> > and the snare drum at the same time).
> > 2. When using s0miThin noteheads the stem is not conected to the diamond's 
> > left vertex.
> >
> > Maybe a better approach could be, instead of the "cross" note head defined 
> > in "mydrums" drum style table could be something like "crossdiamond" so it 
> > can include the above mentioned note heads.
> > Probably just modifying the existing "cross" notehead could be enough since 
> > Weinberg's book doesn't mention any usage of both s0cross and s1cross.
> >
> > Do you have any ideas on how to achieve something like this, as well as to 
> > fix the above 2 points mentioned?
> >
> > Sample:
> >
> > \version "2.18.2"
> >
> > #(define mydrums '(
> >  (crashcymbal cross #f 6)))
> >
> > % Based on: 
> > https://www.mail-archive.com/lilypond-user%40gnu.org/msg108679.html
> > #(define (my-note-head grob)
> >   (let ((duration (ly:grob-property grob 'duration-log)))
> >(if (>= duration 2)
> > (grob-interpret-markup grob
> >  (markup #:musicglyph "noteheads.s2cross"))
> > (grob-interpret-markup grob
> >  (markup #:scale (cons -0.65 1.2)
> >  #:musicglyph "noteheads.s0miThin")
> >
> > \new DrumStaff <<
> >   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
> >
> >   \drummode {
> > \cadenzaOn
> > \autoBeamOff
> > \override NoteHead.stencil = #my-note-head
> > cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|."
> >   }
> >>>
> >
> > --
> > Best regards
>
>
> Maybe:
>
> \version "2.18.2"
>
> #(define mydrums '(
>  (crashcymbal cross #f 6)
>  (snare () #f 1)))
>
> #(define (my-note-head grob)
>   (let ((duration (ly:grob-property grob 'duration-log))
> (drumtype
>   (ly:prob-property (ly:grob-property  grob 'cause) 'drum-type)))
>   (if (eq? 'crashcymbal drumtype)
>   (if (>= duration 2)
>   (grob-interpret-markup grob
>  (markup #:musicglyph "noteheads.s2cross"))
>   (begin
> (let ((stem-attachment (ly:grob-property grob 'stem-attachment)))
>   (ly:grob-set-property! grob 'stem-attachment
> (cons (car stem-attachment) 0))
>   (grob-interpret-markup grob
>  (markup #:scale (cons -0.65 1.2)
>  #:musicglyph "noteheads.s0miThin")
>   (ly:note-head::print grob
>
> \new DrumStaff
>   \with {
> drumStyleTable = #(alist->hash-table mydrums)
> \override NoteHead.stencil = #my-note-head
>   }
>   <<
> \drummode {
>   \cadenzaOn
>   \autoBeamOff
>   cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|." \break
>   32 16 8 4 2 1
> }
>   >>
>
> HTH,
>   Harm

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


Re: halfopenvertical script glyph not working

2016-05-22 Thread Daniel E. Moctezuma
Thank you!
It works as expected.

I would like to understand why it didn't work in the first place.
It looks like the glyph is defined in the Feta font but not actually used 
(defined in mf/feta-scripts.mf:623).
Do you know why "halfopenvertical" was not part of script.scm?

On 05/22 10:46, Thomas Morley wrote:
> 2016-05-22 8:28 GMT+02:00 Daniel E. Moctezuma <democtez...@gmail.com>:
> > Hello,
> >
> > I'm trying to use the "halfopenvertical" glyph on a Hi-Hat note when 
> > writting for Drumset.
> > "halfopen" works fine, but the vertical version doesn't.
> >
> > I get an error saying "script direction not yet known" and I'm not sure how 
> > to solve this.
> > Any ideas?
> >
> > The glyph in question is documented here (scripts.halfopenvertical):
> > http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font#script-glyphs
> >
> > Here's some sample code demonstrating the issue:
> >
> > \version "2.18.2"
> >
> > #(define mydrums '(
> >  (hihat cross #f 5)
> >  (openhihat cross "open" 5)
> >  (closedhihat   cross "stopped"  5)
> >  (halfopenhihat cross "halfopenvertical" 5)))
> >
> > \new DrumStaff <<
> >   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
> >
> >   \drummode { hh4 hhc hho hhho }
> >>>
> >
> > The output I'm getting is:
> >
> > $ lilypond -ddelete-intermediate-files -dno-point-and-click 
> > halfopenvertical.ly
> > GNU LilyPond 2.18.2
> > Processing `halfopenvertical.ly'
> > Parsing...
> > Interpreting music...
> > warning: do not know how to interpret articulation:
> > warning:  scheme encoding:
> > "halfopenvertical"Preprocessing graphical objects...
> > halfopenvertical.ly:13:27: programming error: script direction not yet known
> >   \drummode { hh4 hhc hho
> > hhho }
> > halfopenvertical.ly:13:27: continuing, cross fingers
> > [1]9533 segmentation fault  lilypond -ddelete-intermediate-files 
> > -dno-point-and-click halfopenvertical.ly
> >
>
>
> \version "2.18.2"
>
> %% work with a copy of `default-script-alist' from `script.scm'
> #(define my-script-alist default-script-alist)
>
> %% no entry for "halfopenvertical" there, thus:
> #(set! my-script-alist
>   (cons
> `("halfopenvertical"
>  . (
> (avoid-slur . outside)
> (padding . 0.20)
> (script-stencil . (feta . ("halfopenvertical" . "halfopenvertical")))
> (direction . ,UP)))
> my-script-alist))
>
> %% make it available
> \layout {
>   \context {
> \Score
> scriptDefinitions = #my-script-alist
>   }
> }
>
> #(define mydrums '(
>  (hihat cross #f 5)
>  (openhihat cross "open" 5)
>  (closedhihat   cross "stopped"  5)
>  (halfopenhihat cross "halfopenvertical" 5)))
>
> \new DrumStaff <<
>   \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
>
>   \drummode { hh4 hhc hho hhho }
> >>
>
> HTH,
>   Harm

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


combine different note heads (drumset)

2016-05-22 Thread Daniel E. Moctezuma
Hello,

I would like to define a note head type (or modify/tweak an existing one) that 
uses a combination of 2 existing note heads from the Feta font.
I'm trying to use the notation proposed by Norman Weinberg in his book Guide to 
Standardized Drumset Notation.

Hi-Hat and Cymbals for instance use both Cross and Diamond shape note heads as 
follows:
1. Half-note and whole-note use a diamond, very similar to s0miThin except the 
height of s0miThin is kind of short.
2. Quarter-note and below use a cross shaped note-head such as s2cross.

I did manage to make Lilypond show the above note heads accordingly using 
tweaks.
The disadvantage is that in order to achieve the desired result I would have to 
do something like "\customDiamond cymc2" every time I have to input half or 
whole notes.
So I'm looking for an easier way to input those kind of notes as well as to 
support chords.

In the following sample code you can see how modifying the stencil can give you 
somewhat what I'm looking for, but here are some concerns:
1. It doesn't work when using chords (for example: hitting the crash cymbal and 
the snare drum at the same time).
2. When using s0miThin noteheads the stem is not conected to the diamond's left 
vertex.

Maybe a better approach could be, instead of the "cross" note head defined in 
"mydrums" drum style table could be something like "crossdiamond" so it can 
include the above mentioned note heads.
Probably just modifying the existing "cross" notehead could be enough since 
Weinberg's book doesn't mention any usage of both s0cross and s1cross.

Do you have any ideas on how to achieve something like this, as well as to fix 
the above 2 points mentioned?

Sample:

\version "2.18.2"

#(define mydrums '(
 (crashcymbal cross #f 6)))

% Based on: https://www.mail-archive.com/lilypond-user%40gnu.org/msg108679.html
#(define (my-note-head grob)
  (let ((duration (ly:grob-property grob 'duration-log)))
   (if (>= duration 2)
(grob-interpret-markup grob
 (markup #:musicglyph "noteheads.s2cross"))
(grob-interpret-markup grob
 (markup #:scale (cons -0.65 1.2)
 #:musicglyph "noteheads.s0miThin")

\new DrumStaff <<
  \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)

  \drummode {
\cadenzaOn
\autoBeamOff
\override NoteHead.stencil = #my-note-head
cymc32 cymc16 cymc8 cymc4 cymc2 cymc1 \bar "|."
  }
>>

--
Best regards

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


halfopenvertical script glyph not working

2016-05-22 Thread Daniel E. Moctezuma
Hello,

I'm trying to use the "halfopenvertical" glyph on a Hi-Hat note when writting 
for Drumset.
"halfopen" works fine, but the vertical version doesn't.

I get an error saying "script direction not yet known" and I'm not sure how to 
solve this.
Any ideas?

The glyph in question is documented here (scripts.halfopenvertical):
http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font#script-glyphs

Here's some sample code demonstrating the issue:

\version "2.18.2"

#(define mydrums '(
 (hihat cross #f 5)
 (openhihat cross "open" 5)
 (closedhihat   cross "stopped"  5)
 (halfopenhihat cross "halfopenvertical" 5)))

\new DrumStaff <<
  \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)

  \drummode { hh4 hhc hho hhho }
>>

The output I'm getting is:

$ lilypond -ddelete-intermediate-files -dno-point-and-click halfopenvertical.ly
GNU LilyPond 2.18.2
Processing `halfopenvertical.ly'
Parsing...
Interpreting music...
warning: do not know how to interpret articulation:
warning:  scheme encoding:
"halfopenvertical"Preprocessing graphical objects...
halfopenvertical.ly:13:27: programming error: script direction not yet known
  \drummode { hh4 hhc hho
hhho }
halfopenvertical.ly:13:27: continuing, cross fingers
[1]9533 segmentation fault  lilypond -ddelete-intermediate-files 
-dno-point-and-click halfopenvertical.ly

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


Re: 4 slashes in percent repeat

2016-04-03 Thread Daniel E. Moctezuma
Thanks for your reply. 

The samples from http://lsr.di.unimi.it/LSR/Item?id=954 look nice for solo 
pieces, but my use case is for multiple instruments. 
Imagine a rock band where the bass has 4 bars that will be repeated, but the 
rest of the instruments don't have repetitive bars. I've have seen this usage 
in rock songs for instance. 

I understand the issue of having 2 empty bars and it seems like having a number 
above the percent repeat helps. 
Example: https://musescore.org/sites/musescore.org/files/finale%20four-bar.jpg

I've found a workaround for this here: 
https://music.stackexchange.com/questions/11084/multi-measure-percent-repeats-in-lilypond

it uses a simple ./. symbol but can be changed to a .//. by changing:
'PercentEvent   to   'DoublePercentEvent

still, 4 slashes would be nice. 

the default lilypond output was having the percent repeat symbol at the 
beginning of the 4 bar set and the remaining bars empty.

is there a standardized approach for a 4 bar set repeat? (for a multi 
instrument piece) 

Best regards 

On April 4, 2016 3:10:19 AM GMT+09:00, Marc Hohl <m...@hohlart.de> wrote:
>Am 03.04.2016 um 15:36 schrieb Thomas Morley:
>> 2016-04-02 19:47 GMT+02:00 Daniel E. Moctezuma
>> <democtez...@gmail.com>:
>>> Hello
>>>
>>> I was wondering if it's possible to have a percent repeat with 4
>>> slashes in LilyPond. Like an \override setting or similar. My use
>>> case is when a set of 4 bars repeats n times, like: \repeat percent
>>> 4 { c1 | d | e | f | }
>>>
>>> the most I can get is a double percent symbol .//. is there a way
>>> to have .. ?
>
>I remember vaguely that this issue has been discussed some years ago.
>
>The problem I see here is that you have two completely empty bars:
>
>|  | .//|//.|   |
>
>So it is not easy at first glance to understand what's going on here.
>
>I use this abbreviation for my handwritten manuscripts, but here I draw
>the slashes wide and slanted enough to cover all four bars.
>
>These comments aside, it looks as if the underlying C++ routines could
>indeed handle more than 2 slashes, but there is no way to call that
>routine directly IIUC.
>
>>>
>>> Best regards
>>
>>
>>
>> Apart from manually tweaking, I see no reasonable chance. But how
>> about: http://lsr.di.unimi.it/LSR/Item?id=954
>
>Looks promising and easy to read.
>
>Marc
>
>
>___
>lilypond-user mailing list
>lilypond-user@gnu.org
>https://lists.gnu.org/mailman/listinfo/lilypond-user


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


4 slashes in percent repeat

2016-04-02 Thread Daniel E. Moctezuma
Hello 

I was wondering if it's possible to have a percent repeat with 4 slashes in 
LilyPond. 
Like an \override setting or similar. 
My use case is when a set of 4 bars repeats n times, like:
\repeat percent 4 { c1 | d | e | f | } 

the most I can get is a double percent symbol .//.
is there a way to have .. ? 

Best regards 

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


Re: Saving Input File

2012-10-11 Thread Daniel E. Moctezuma
I agree with Janek.
Marc, I would suggest you to take a look to Frescobaldi.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Text spanners and line breaks

2012-09-20 Thread Daniel E. Moctezuma
Perhaps is obvious (as eluze already pointed out) but you also need to
apply this to the right-broken property to achieve what you want:

\override TextSpanner #'bound-details #'right-broken #'text = ##f
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Placing dynamic and hairpin

2012-09-18 Thread Daniel E. Moctezuma
Another solution (imitating the output at the right side of the image you
attached):

%%%
{

  \once \override DynamicText #'X-offset = #-2.7

  g'''4 \p ( \ e'''4 \! \ d'''4 \!)

}




That moves the p dynamic a little to the left as it is shown on the image.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: partcombine and instrumentSwitch

2012-09-14 Thread Daniel E. Moctezuma

 You can use

 \layout {
   \context {\Voice \remove Instrument_switch_engraver }
   \context {\Staff \consists Instrument_switch_engraver }
 }


That's a nice solution, I had that same problem and solved it by making
transparent the instrument change (via an \override) but this is much
nicer, thanks Keith.

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


Re: Connected barlines between Staves ?

2012-09-14 Thread Daniel E. Moctezuma
Another solution is to add the following on your \layout block:

\layout {

  \context {

\StaffGroup

\remove System_start_delimiter_engraver

  }

}

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


Re: Hairpin crescendo/decrescendo

2012-09-13 Thread Daniel E. Moctezuma
I would suggest putting dynamics separately to have better control on where
they start without messing with the actual notes.
Here is what I understand you are trying to achieve:

---

\version 2.16.0


notes = \relative c' {

  \mergeDifferentlyDottedOn

  \mergeDifferentlyHeadedOn

  \time 6/8

  

  {

e8 g b e b g' |

e, g b e b g' |

e, g b e b g' |

  }

  \\

  { e,2. | e | e | }

  

}


dynamics = {

  \repeat unfold 3{ s4\ s8\! s4\ s8\! | }

}


\score {

  \new StaffGroup 

\new Staff \notes

\new Dynamics \dynamics

  

}

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


Re: m. d. or m. s. in piano notation

2012-09-13 Thread Daniel E. Moctezuma
You can find very useful information about changing staffs at:
http://lilypond.org/doc/v2.16/Documentation/notation/common-notation-for-keyboards.html

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


Re: consecutive \repeat volta: bug?

2012-09-10 Thread Daniel E. Moctezuma
Thanks for noticing this. I didn't realized that behavior on my scores, but
now I find that happens to me as well. Setting it on the \layout block
fixes it.
Now I will need to double-check other .ly files.

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


Re: lilypond-book or latex doesn't find the necessary files

2012-09-07 Thread Daniel E. Moctezuma
Hello Stefan,

I had that same error a couple of hours ago and I fixed like this on my
bash script:

#!/usr/bin/env bash

TEMP_DIR=temp
INPUT_FILE=yourfile.lytex
OUTPUT_FILE=yourfile.pdf
CURRENT_DIR=$(pwd)

lilypond-book --pdf \
  --include=$CURRENT_DIR \
  --output=$TEMP_DIR \
  $INPUT_FILE  \
(cd $TEMP_DIR  \
 pdflatex yourfile.tex  \
 mv $OUTPUT_FILE ..)  \
rm -rf $TEMP_DIR


notice that I used the unix command pwd, also note that I added to the
options with double quotes (--include=$CURRENT_DIR) so there would not be
problems if the path has whitespaces.
Also I think you can change the .lytex extension for .tex, but not really
sure.

I have to say that I didn't get what I was expecting because I was adding a
title page to a lilypond file (using a \book {} section) that resulted on a
nice title page but a big indented music. So I compiled the title page and
the music separately and joined them with pdfunite (from poppler-utils), if
any has an explanation of why this happens or a better way to achieve it
would be very appreciated.

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


Re: lilypond-book or latex doesn't find the necessary files

2012-09-07 Thread Daniel E. Moctezuma
Please let us know if the solution works for you.

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


Re: TextSpanner duplicates text after \break

2012-08-31 Thread Daniel E. Moctezuma
I forgot to add a use case for this.
It would be great if instead of repeating the same 8va label on each line
that has a break, just show (8). This way doesn't seems like there is a
start of an 8va line on each staff but a continuation of it.
Either way, removing would be awesome too, as well as being able to change
the text from the repetition on each staff that continues using it.

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


Re: lilypond-book and title page

2012-08-30 Thread Daniel E. Moctezuma
Thanks Jakub, that tutorial helped to fix some issues I had.

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


lilypond-book and title page

2012-08-29 Thread Daniel E. Moctezuma
Hello LilyPonders,

I am trying to do a title page / cover page using LaTex without too much
success.
The result I get is a Y-centered text (on LaTex) but with a noticeable
space on X-axis (space at the right), in addition, the next pages (of
music) have indentation on the left and at the top, resulting on a half of
the page being shown only.

the command I'm using for generating the PDF is:
lilypond-book --pdf -o folder file.tex  cd folder  pdflatex file.tex

the content of file.tex is:
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{nopageno}

\begin{document}
\author{your name here}
\title{
  your title here \\ {
\large {
  for \\
  \textbf{your instrument}
}
  }
}
\date{date here}
\maketitle

\noindent
\lilypondfile{filehere.ly}

\end{document}


seems that \noindent doesn't work in this case.
What is the difference between using .tex, .lytex and .latex extensions for
purposes like this?
Also, is there any title/cover page template available (tutorial/guidance)?

Thanks.

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


Parenthesized Hairpin

2012-08-29 Thread Daniel E. Moctezuma
Hello,

Using a snippet from LSR (http://lsr.dsi.unimi.it/LSR/Item?id=771) I've
found that I get an *Unbound variable* error on *$leftText*.
The way I've solved is to remove the *$* sign from it as well as from *
$rightText*.

So far so good, but I've noticed that if you do a *\break* before ending
the hairpin (e.g. a hairpin through 4 bars), the hairpin parenthesis
repeats.
Is that a normal behaviour?

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


Re: Attaca markup

2012-08-29 Thread Daniel E. Moctezuma
Thanks a lot for the information.
Doing some research, I've seen both uses (bar number reset and number
continuation) as well as not using bar numbers at all (just using rehearsal
marks) and that's why I was confused.

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


Re: Parenthesized Hairpin

2012-08-29 Thread Daniel E. Moctezuma
Hello David,

By hairpin parenthesis I mean parenthesized hairpin like the one shown
on the snippet I provided.

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


Attaca markup

2012-08-28 Thread Daniel E. Moctezuma
Hello,

Perhaps these are more music theory questions than a LilyPond related.
I was wondering which would be the correct way to place an attaca markup
text?
For example one could put:
  c1_attaca \bar |.

That would force to have markup to a specific note (or chord). Is there any
equivalent as \new Dynamic indication to specify text like attaca?

Also, after an attaca indication should the bar numbers reset or continue
counting?

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


Re: Attaca markup

2012-08-28 Thread Daniel E. Moctezuma
Thanks a lot David and Jay!

That was exactly what I was looking for. Also, it seems quite convenient to
use RehearsalMark to use attacca indications.

Thanks.

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


Re: Slur between different \score sections?

2012-08-20 Thread Daniel E. Moctezuma
Thanks for the info!

The only thing is that I cannot use \repeatSlur, doesn't seem to be
available on version 2.15.39, so I'm trying to use \repeatTie.
Also, I didn't specify but what I have is something like:

*score 1*
  c4 d *(* e | *% change ( for \laissezVibrer*
*---*
*score 2*
  d4 *)* c b | *% change ) for \repeatTie
*
seems I have to tweak laissezvibrer on score 1 to be larger and simulate a
slur. Perhaps is another way around?

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


Re: Fermata with parenthesis

2012-08-19 Thread Daniel E. Moctezuma
Thank you Bill!

Indeed, that works great. I am making additional overrides, though:

*\once \override ParenthesesItem #'font-size = #0*

* \once \override ParenthesesItem #'padding = #1*

* \once \override Script #'padding = #1*


this way I achieve what I was looking for.

Thanks again.

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


Slur between different \score sections?

2012-08-19 Thread Daniel E. Moctezuma
Hello,

I was wondering if it's possible to put *slurs between different \score
sections* (inside a \book).
I have 2 movements of a work that are played one after another (attaca)
with a slur between them.
Thanks.

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


Fermata with parenthesis

2012-08-18 Thread Daniel E. Moctezuma
Hello,

I would like to ask for some advice on writing functions using Scheme.
I'm looking to have a up fermata object with parenthesis, at the beginning
I was using *make-dynamic-script* to achieve that (of course I had to use ^
or _ to properly place it). Now I'm using *make-music* specifying the
direction with *'direction UP*.

My questions are:
1. Fermata seems to be a musicglyph, so neither make-music nor
make-dynamic-script should be used?
2. In case of using make-dynamic-script, how can the direction be specified
on the function?
3. Is there a better way to achieve this?

Function:

*parenUFermata* =

#(make-music

   'TextScriptEvent

   'direction UP

   'text (markup #:line

(#:concat

  (#:halign 6.4

   #:normal-text (

   #:musicglyph scripts.ufermata

   #:normal-text ) 


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


Re: Fermata with parenthesis

2012-08-18 Thread Daniel E. Moctezuma
As an additional note, maybe because of using 'TextScriptEvent on the
function definition, I have to override on a TextScript object to
successfully override any property on the parenUFermata object created.

Taking a look on how to override properties on an ordinary fermata object,
it seems you have to use Script instead of TextScript to do the same, in
other words, my function creates an object of a different type.

4. How can I achieve that? Using 'ScriptEvent nor 'Script, seems to help
(is there any list of make-music properties somewhere?).

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


Re: TextSpanner duplicates text after \break

2012-08-16 Thread Daniel E. Moctezuma
Hello Ian,

Please could you let us know the LilyPond version on which you observed
 the problem?

I'm using version 2.15.39, but I've been noticing this behavior since
2.14.2 and perhaps even older versions, those 2 are the ones I can confirm.



 Also, could you tell us how you envisage using this feature.  As a
 player, I find the reminder on 8va passages useful at line breaks.  I'm
 asking the question so I can determine whether this would be a
 real-life, useful facility or simply whether you have found a
 rarely-used corner case.

- First of all, in order to make some transcriptions/arrangements of a work
that does have an 8va/15ma/etc. passage it would be good to produce it
similar on LilyPond, sometimes those 8va passages do not repeat the 8va
text at line breaks on paper published scores you buy.

- Another one is to make it comfortable to Sibelius users or so to have an
8va line in a similar way they are used to (afaik Sibelius don't repeat the
8va text). I know LilyPond doesn't need to imitate behavior from other
software (LilyPond is already cool anyways), but users like to have options
(see below).

- Last but not least, it would be good to have options available, whether
or not you need the duplication of 8va text the user would really
appreciate being able to decide how he/she wants the output to suit his/her
needs.

Hope that helps!

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


Re: TextSpanner duplicates text after \break

2012-08-15 Thread Daniel E. Moctezuma
Found the solution :-)

\override TextSpanner #'(bound-details left-broken text) = ##f




Hope this helps anyone else having this question/problem in the future.


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


Re: TextSpanner duplicates text after \break

2012-08-15 Thread Daniel E. Moctezuma
Hello Ian,

I'm afraid that does *not* work with ottava text spanner.

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


Re: Part combine problems

2012-08-15 Thread Daniel E. Moctezuma
I've found a workaround to points 2 and 4:

\new Staff \with { printPartCombineTexts = ##f } 

  \set Staff.instrumentName = \markup \center-column {

Soprano

II  III

  }

  \new Voice = Dynamics  \dynamicUp \sopranoIDynamics 

  \partcombine \sopranoII \sopranoIII

  \new Voice = Soprano {

  \override Slur #'transparent = ##t

  \override Tie #'transparent = ##t

  \override NoteColumn #'ignore-collision = ##t

  \hideNotes \sopranoII

  }

  \new Lyrics \lyricsto Soprano \sopranoIIWords



So basically it seems you need to put the dynamics as a voice (not
dynamic), do partcombine and add an additional voice (hidden) to be able to
add lyrics to the result of partcombining (among some overrides for ties,
slurs and collision warnings).

If anyone has a better solution/workaround, would be appreciated.

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


Publishers using LilyPond?

2012-08-14 Thread Daniel E. Moctezuma
Hello,

I was wondering if there are (well-known) sheet music publishing companies
(or engraving services) using GNU LilyPond, if so which ones?

So far I know there are many composers/musicians on this list who use it,
as well as web services providing an online IDE/editor, what about the
companies/ engraving services?
It seems a lot of them had been focusing on Finale/Sibelius for a long time.

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


Part combine problems

2012-08-14 Thread Daniel E. Moctezuma
Hello,

I'm having problems using \partcombine:

1. I have 3 voices, how can I use \partcombine (or equivalent) with 3 or
more voices? (in this case 3)

2. Each of the voices have dynamics (on the same beats), using \partcombine
with 2 voices show them correctly but the dynamics are duplicated. Note
that those voices have different slurring (does that word exist?).

3. Following the case above, using the same slurring on both voices outputs
correctly but with a warning cannot end slur.

4. How can I add the lyrics line to the \partcombine staff?

5. How can I add the lyrics line if I combine the 3 voices (note that Voice
1 and 2 share the same lyrics, Voice 3 has different lyrics)


Attached to this email is a .ly file for this case (using LilyPond 2.15.39).
Thanks in advance.

-- 
Daniel E. Moctezuma


test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: font survey: which clef do you prefer?

2011-07-06 Thread Daniel E. Moctezuma
I like the third one.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user