Re: [Tex-music] Dashed crescendo

2025-09-04 Thread Jean-Pierre Coulon

On Thu, 4 Sep 2025, Jean-Pierre Coulon wrote:


On Wed, 3 Sep 2025, Stanislav Kneifl wrote:

I don't think it's a good solution, the dotted line will still be shaded - 
thinner at the ends.
Lyrics is a better way to go, if you don't mind the lines will be at the 
"-" and not "_" position.


You can say \def\lyrhyphenchar{-}


or \def\lyrhyphenchar{\_}

--
Jean-Pierre Coulon
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-04 Thread Jean-Pierre Coulon

On Wed, 3 Sep 2025, Stanislav Kneifl wrote:

I don't think it's a good solution, the dotted line will still be shaded 
- thinner at the ends.
Lyrics is a better way to go, if you don't mind the lines will be at the 
"-" and not "_" position.


You can say \def\lyrhyphenchar{-}

--
Jean-Pierre Coulon
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-04 Thread avr--- via TeX-Music
maybe this is also a possibility:

=
\input musixtex
\input musixlyr
\setstaffs12
\setclef1{\bass\treble}

%\def\lyrhyphenchar{\_}
%\minmulthyphens10mm
\lyrraise1{a0\Interligne}
\setlyrics{italcresc} {\mit a cre-~-b b }
\assignlyrics1{italcresc}

\startpiece
\NOTEs\wh J\en
\NOTEs\wh J\en
\NOTEs\beginmel\wh{KLK}\endmel\qa {JEE}\en
\stoppiece
\end
===

Andre
-Oorspronkelijk bericht-
Van: TeX-Music  Namens Jean-Pierre
Coulon
Verzonden: woensdag 3 september 2025 17:47
Aan: Werner Icking Music Archive 
Onderwerp: Re: [Tex-music] Dashed crescendo

On Wed, 3 Sep 2025, Rodolfo Medina wrote:

> No, I mean no hairpin nor continuous text but simply the text `cresc.'
> followed by
> dashes which can automatically break along with line breaks.  Just 
> like this:

Try to expand this to obtain line breaks.

Bye

--
Jean-Pierre Coulon

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Rodolfo Medina
On Wed, Sep 3, 2025 at 7:49 PM Stanislav Kneifl  wrote:
>
> I don't think it's a good solution, the dotted line will still be shaded
> - thinner at the ends.
> Lyrics is a better way to go, if you don't mind the lines will be at the
> "-" and not "_" position.

All right, thank you indeed.

Rodolfo

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Stanislav Kneifl
I don't think it's a good solution, the dotted line will still be shaded 
- thinner at the ends.
Lyrics is a better way to go, if you don't mind the lines will be at the 
"-" and not "_" position.


Stanislav.

Dne 03.09.2025 v 21:35 Rodolfo Medina napsal(a):

On Wed, Sep 3, 2025 at 3:39 PM Bob Tennent  wrote:

Rodolpho:  I don't think there is any macro for this but you can combine text 
using \zcn and a dotted tie using \dotted and \pstiehgt to make the > tie 
horizontal.

Thanks.  How can I redefine \pstiehgt?

Rodolfo

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Rodolfo Medina
On Wed, Sep 3, 2025 at 3:47 PM Jean-Pierre Coulon  wrote:
>
> On Wed, 3 Sep 2025, Rodolfo Medina wrote:
>
> > No, I mean no hairpin nor continuous text but simply the text `cresc.'
> > followed by
> > dashes which can automatically break along with line breaks.  Just
> > like this:
>
> Try to expand this to obtain line breaks.
>
> Bye

Thanks, using lyrics seems to work.

Rodolfo

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Rodolfo Medina
On Wed, Sep 3, 2025 at 3:39 PM Bob Tennent  wrote:
>
> Rodolpho:  I don't think there is any macro for this but you can combine text 
> using \zcn and a dotted tie using \dotted and \pstiehgt to make the > tie 
> horizontal.

Thanks.  How can I redefine \pstiehgt?

Rodolfo

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Jean-Pierre Coulon

On Wed, 3 Sep 2025, Rodolfo Medina wrote:


No, I mean no hairpin nor continuous text but simply the text `cresc.'
followed by
dashes which can automatically break along with line breaks.  Just
like this:


Try to expand this to obtain line breaks.

Bye

--
Jean-Pierre Coulon\input musixtex
\input musixlyr
\setstaffs12
\setclef1{\bass\treble}

\def\lyrhyphenchar{\_}
\minmulthyphens10mm
\lyrraise1{a0\Interligne}
\setlyrics{italcresc} {\mit \llabel{debut}\mit cre-}
\assignlyrics1{italcresc}

\startpiece
\NOTEs\lyricsoff\wh J\en
\bar % 2
\NOTEs\lyr\wh K\en
\bar% 3
\NOTEs\lyr\wh L\en
\bar% 4
\NOTes\wh K\en
\bar% 5
\NOTEs\golyr{debut}\lyr\wh J\en
\bar% 6
\NOTEs\lyr\wh L\en
\stoppiece
\end
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Bob Tennent
Rodolpho:  I don't think there is any macro for this but you can combine
text using \zcn and a dotted tie using \dotted and \pstiehgt to make the
tie horizontal.

Bob T.

On Wed, Sep 3, 2025 at 11:27 AM Rodolfo Medina 
wrote:

> On Wed, Sep 3, 2025 at 2:46 PM Jean-Pierre Coulon  wrote:
> >
> > On Wed, 3 Sep 2025, Rodolfo Medina wrote:
> >
> > > Hi all.
> > >
> > > Sometimes in music scores you have `dashed' crescendos like, more or
> less:
> > >
> > >  cresc._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> >
> > Do you mean a dashed hairpin or a text in italics like
> >
> > cre  -   -  -  cen   -   -   -  do
> >
> > between the staves?
>
>
> No, I mean no hairpin nor continuous text but simply the text `cresc.'
> followed by
> dashes which can automatically break along with line breaks.  Just
> like this:
>
>   cresc._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Rodolfo
>
> ---
> [email protected] mailing list
> If you want to unsubscribe or look at the archives, go to
> https://tug.org/mailman/listinfo/tex-music
>
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Rodolfo Medina
On Wed, Sep 3, 2025 at 2:46 PM Jean-Pierre Coulon  wrote:
>
> On Wed, 3 Sep 2025, Rodolfo Medina wrote:
>
> > Hi all.
> >
> > Sometimes in music scores you have `dashed' crescendos like, more or less:
> >
> >  cresc._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Do you mean a dashed hairpin or a text in italics like
>
> cre  -   -  -  cen   -   -   -  do
>
> between the staves?


No, I mean no hairpin nor continuous text but simply the text `cresc.'
followed by
dashes which can automatically break along with line breaks.  Just
like this:

  cresc._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Rodolfo

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2025-09-03 Thread Jean-Pierre Coulon

On Wed, 3 Sep 2025, Rodolfo Medina wrote:


Hi all.

Sometimes in music scores you have `dashed' crescendos like, more or less:

 cresc._ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


Do you mean a dashed hairpin or a text in italics like

cre  -   -  -  cen   -   -   -  do

between the staves?

--
Jean-Pierre Coulon
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2021-05-10 Thread Rainer Dunker via TeX-Music
Am 08.05.2021 um 09:41:25 schrieb Rodolfo Medina:
> [...]
> Rainer's example seems to be precise in placement, and besides has the
> advantage that in \setlyrics the items don't need to be equal to the number of
> notes they span.
> 
> Two issues though: suppose I have a piano score i.e. two staves per one
> instrument; and suppose that I want to repeat the crescendo in another place 
> of
> the score: I get error as shown in test2.tex.

In this case, itʼs easier and more flexible to not set the "cresc." label 
within \setlyrics. Instead, leave the text in \setlyrics empty and post the 
"cresc." directly as part of the notes coding. That way, you can post 
arbitrarily many such markers (with individual text if necessary) without 
having to prepare them at a central place (i.e., \setlyrics). See the attaced 
example test2.1.

(I had expected that it works without the explicit \lyrruleend commands, but 
they seem to be necessary to continue the dash sequence across line breaks ...)

Regards,

Rainer


test2.1.tex
Description: TeX document
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo

2021-05-08 Thread Rodolfo Medina
 writes:

> \assignlyrics1{cresc1} % can be placed before any note
> ...
> \assignlyrics1{}% can placed after any note


Unfortunately the placement is not precise as shows test3.tex.

Rainer's example seems to be precise in placement, and besides has the
advantage that in \setlyrics the items don't need to be equal to the number of
notes they span.

Two issues though: suppose I have a piano score i.e. two staves per one
instrument; and suppose that I want to repeat the crescendo in another place of
the score: I get error as shown in test2.tex.

Please still help.

It still remains quite complicated and personally I think that in future
versions of MusiXTeX a special simple command should be dedicated to that sort
of `dashed' crescendo which is quite a lot used.

Thanks,
Rodolfo


\input musixtex
\input musixlyr

% all preparations in the preamble
\setlyrics{cresc1}{cresc.-{}} % empty syllable "anchors" the hypenation end
\assignlyrics1{cresc1}
\setsongraise1{-1\Interligne}
\def\lyrhyphenchar{\_}
\minmulthyphens8mm

\setstaffs12%
\startpiece
\notes
\lyricsoff % no lyrics at every note automatically
\qu{abcd}%
|\qu{abcd}%
\en
\bar %2
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %3
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %4
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %5
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %6
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %7
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %8
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %9
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %10
\notes
\qu{ab}%
\llyr\lyrrule\lyr % left-aligned "cresc." at following note
\qu{cd}%
|\qu{abcd}%
\en
\bar %11
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %12
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %13
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %14
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\znotes\lyrruleend\lyr\en % empty syllable finishes hyphens just at the barline
\bar %15
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %16
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %17
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %18
\notes
\llyr\lyrrule\lyr % left-aligned "cresc." at following note
\qu{abcd}%
|\qu{abcd}%
\en
\bar %19
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\bar %20
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\znotes\lyrruleend\lyr\en % empty syllable finishes hyphens just at the barline
\bar %21
\notes
\qu{abcd}%
|\qu{abcd}%
\en
\Endpiece

\vfill\eject\end
\input musixtex
\input musixlyr

\setlyrics{cresc1}{cresc.- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -}
\def\lyrhyphenchar{\_}
\minmulthyphens8mm

\startpiece
\notes
\qu{abcd}%
\en
\bar %2
\notes
\qu{abcd}%
\en
\bar %3
\notes
\qu{abcd}%
\en
\bar %4
\notes
\qu{abcd}%
\en
\bar %5
\notes
\qu{abcd}%
\en
\bar %6
\notes
\qu{abcd}%
\en
\bar %7
\notes
\qu{abcd}%
\en
\bar %8
\notes
\qu{abcd}%
\en
\bar %9
\notes
\qu{abcd}%
\en
\bar %10
\notes
\lyr\qu{ab}\assignlyrics1{cresc1}%
\qu{cd}%
\en
\bar %11
\notes
\qu{abcd}%
\en
\bar %12
\notes
\qu{abcd}%
\en
\bar %13
\notes
\qu{abcd}%
\en
\bar %14
\notes
\qu{abcd}%
\assignlyrics1{}%
\en
\bar %15
\notes
\qu{abcd}%
\en
\bar %16
\notes
\qu{abcd}%
\en
\bar %17
\notes
\qu{abcd}%
\en
\bar %18
\notes
\qu{abcd}%
\en
\bar %19
\notes
\qu{abcd}%
\en
\bar %20
\notes
\qu{abcd}%
\en
\bar %21
\notes
\qu{abcd}%
\en
\Endpiece

\vfill\eject\end
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo (was: Dotted crescendo)

2021-05-07 Thread avr
Example of \setlyrics:

Choose between '\_ 'symbol and  '- '
The tilde can produce extra space.
The items, separated by a space must be equal tot he number of notes they
span.

\setlyrics{cresc1}{cresc.- - \_ \_ ~~ \_ - - - - - -~ -~ - - - - - - - - - -
- - - - - - - - - - - } \llyr%


\assignlyrics1{cresc1} % can be placed before any note
...
\assignlyrics1{}% can placed after any note

If you use more instruments the assignlyrics must be placed at the
corresponding staff (ie. \assignlyrics2... in staff 2)


This is all what is needed

Andre

-Oorspronkelijk bericht-
Van: TeX-Music  Namens Rainer
Dunker via TeX-Music
Verzonden: vrijdag 7 mei 2021 20:23
Aan: Werner Icking Music Archive 
Onderwerp: Re: [Tex-music] Dashed crescendo (was: Dotted crescendo)

Am 07.05.2021 um 16:24:18 schrieb Rodolfo Medina:
> The following minimal attached example, to be processed with simply 
> [...] seems to do quite a little what I want except that I don't 
> manage to start the crescendo exactly where I want: suppose I want it 
> to start in the middle of the
> measure: I don't manage to do that.  It *will* start just at the 
> beginning of measure.  Please help.

For me, this works best ...

Regards, Rainer


%%%
\input musixtex
\input musixlyr

% all preparations in the preamble
\setlyrics{cresc1}{cresc.-{}} % empty syllable "anchors" the hypenation end
\assignlyrics1{cresc1} \setsongraise1{-1\Interligne} \def\lyrhyphenchar{\_}
\minmulthyphens8mm

\startpiece
\notes
\lyricsoff % no lyrics at every note automatically \qu{abcd}% \en \bar %2
\notes \qu{abcd}% \en \bar %3 \notes \qu{abcd}% \en \bar %4 \notes
\qu{abcd}% \en \bar %5 \notes \qu{abcd}% \en \bar %6 \notes \qu{abcd}% \en
\bar %7 \notes \qu{abcd}% \en \bar %8 \notes \qu{abcd}% \en \bar %9 \notes
\qu{abcd}% \en \bar %10 \notes \qu{ab}% \llyr\lyrrule\lyr % left-aligned
"cresc." at following note \qu{cd}% \en \bar %11 \notes \qu{abcd}% \en \bar
%12 \notes \qu{abcd}% \en \bar %13 \notes \qu{abcd}% \en \bar %14 \notes
\qu{abcd}% \en \bar %15 \notes \qu{abcd}% \en \bar %16 \notes \qu{abcd}% \en
\bar %17 \notes \qu{abcd}% \en \znotes\lyrruleend\lyr\en % empty syllable
finishes hyphens just at the barline \bar %18 \notes \qu{abcd}% \en \bar %19
\notes \qu{abcd}% \en \bar %20 \notes \qu{abcd}% \en \bar %21 \notes
\qu{abcd}% \en \Endpiece

\vfill\eject\end
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to
https://tug.org/mailman/listinfo/tex-music

---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music


Re: [Tex-music] Dashed crescendo (was: Dotted crescendo)

2021-05-07 Thread Rainer Dunker via TeX-Music
Am 07.05.2021 um 16:24:18 schrieb Rodolfo Medina:
> The following minimal attached example, to be processed with simply
> [...]
> seems to do quite a little what I want except that I don't manage to start the
> crescendo exactly where I want: suppose I want it to start in the middle of 
> the
> measure: I don't manage to do that.  It *will* start just at the beginning of
> measure.  Please help.

For me, this works best ...

Regards, Rainer

%%%
\input musixtex
\input musixlyr

% all preparations in the preamble
\setlyrics{cresc1}{cresc.-{}} % empty syllable "anchors" the hypenation end
\assignlyrics1{cresc1}
\setsongraise1{-1\Interligne}
\def\lyrhyphenchar{\_}
\minmulthyphens8mm

\startpiece
\notes
\lyricsoff % no lyrics at every note automatically
\qu{abcd}%
\en
\bar %2
\notes
\qu{abcd}%
\en
\bar %3
\notes
\qu{abcd}%
\en
\bar %4
\notes
\qu{abcd}%
\en
\bar %5
\notes
\qu{abcd}%
\en
\bar %6
\notes
\qu{abcd}%
\en
\bar %7
\notes
\qu{abcd}%
\en
\bar %8
\notes
\qu{abcd}%
\en
\bar %9
\notes
\qu{abcd}%
\en
\bar %10
\notes
\qu{ab}%
\llyr\lyrrule\lyr % left-aligned "cresc." at following note
\qu{cd}%
\en
\bar %11
\notes
\qu{abcd}%
\en
\bar %12
\notes
\qu{abcd}%
\en
\bar %13
\notes
\qu{abcd}%
\en
\bar %14
\notes
\qu{abcd}%
\en
\bar %15
\notes
\qu{abcd}%
\en
\bar %16
\notes
\qu{abcd}%
\en
\bar %17
\notes
\qu{abcd}%
\en
\znotes\lyrruleend\lyr\en % empty syllable finishes hyphens just at the barline
\bar %18
\notes
\qu{abcd}%
\en
\bar %19
\notes
\qu{abcd}%
\en
\bar %20
\notes
\qu{abcd}%
\en
\bar %21
\notes
\qu{abcd}%
\en
\Endpiece

\vfill\eject\end
---
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
https://tug.org/mailman/listinfo/tex-music