Re: skip-of-length and \unfoldRepeats

2022-02-16 Thread Werner LEMBERG
>>> Now that I know to look for it, the definition of `\skip` in >>> >>> does describe this behavior. But I would never have found this on >>> my own. >> >> OK, how did you search exactly? Where di

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Jean Abou Samra
Le 16/02/2022 à 06:04, Werner LEMBERG a écrit : In recent versions, like version 2.23.6 which you are using, you can use \skip \musicA which is nicer syntax-wise and plays well with \unfoldRepeats. Now that I know to look for it, the definition of `\skip` in <https://lilypond.org/doc/v2

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Werner LEMBERG
>> In recent versions, like version 2.23.6 which you are using, you >> can use >> >> \skip \musicA >> >> which is nicer syntax-wise and plays well with \unfoldRepeats. > > Now that I know to look for it, the definition of `\skip` in > <https

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Joel C. Salomon
On 2/15/22 14:22, Jean Abou Samra wrote: In recent versions, like version 2.23.6 which you are using, you can use \skip \musicA which is nicer syntax-wise and plays well with \unfoldRepeats. Now that I know to look for it, the definition of `\skip` in <https://lilypond.org/doc/v2

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Valentin Petzel
probably loose all use from a users perspective, as the \skip \music command is easier to use and more stable (this one basically does exactly what I said previously: It creates a SkipMusic event which takes the provided music as it’s element. Thus music functions like unfoldRepeats can still access

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Joel C. Salomon
On 2/15/22 14:22, Jean Abou Samra wrote: Le 15/02/2022 à 20:19, Joel C. Salomon a écrit : … seem not to play nicely together. In recent versions, like version 2.23.6 which you are using, you can use \skip \musicA which is nicer syntax-wise and plays well with \unfoldRepeats. Thank you

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Joel C. Salomon
On 2/15/22 14:38, Valentin Petzel wrote: 15.02.2022 20:20:02 Joel C. Salomon : … seem not to play nicely together. Well, how should they? At the point the skip-of-length is evaluated the repeats are not yet unfolded. To achieve what you want we could have some mechanics where skip events co

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Jean Abou Samra
  <>\p   #(skip-of-length musicB)   %\fine } \score {   \new Staff <<   \unfoldRepeats  \music   \unfoldRepeats  \dynamics   >> } In recent versions, like version 2.23.6 which you are using, you can use \skip \musicA which is nicer syntax-wise and plays well with \unfoldRepeats. Best, Jean

Re: skip-of-length and \unfoldRepeats

2022-02-15 Thread Valentin Petzel
gt;\f >    #(skip-of-length musicA) >    <>\p >    #(skip-of-length musicB) >    %\fine > } > > \score { >    \new Staff << >    \unfoldRepeats  \music >    \unfoldRepeats  \dynamics >    >> > }

skip-of-length and \unfoldRepeats

2022-02-15 Thread Joel C. Salomon
%\fine } \score { \new Staff << \unfoldRepeats \music \unfoldRepeats \dynamics >> }

Re: \unfoldRepeats

2020-11-01 Thread Aaron Hill
On 2020-11-01 2:25 pm, David Rogers wrote: Aaron Hill writes: On 2020-10-29 2:35 pm, David Kastrup wrote: David Nalesnik writes: Hi Andrew, On Wed, Oct 28, 2020 at 5:03 PM Andrew Bernard wrote: Hi David, But it would be great in the future to have more and better MIDI support. I no long

Re: \unfoldRepeats

2020-11-01 Thread David Rogers
Aaron Hill writes: On 2020-10-29 2:35 pm, David Kastrup wrote: David Nalesnik writes: Hi Andrew, On Wed, Oct 28, 2020 at 5:03 PM Andrew Bernard wrote: Hi David, But it would be great in the future to have more and better MIDI support. I no longer regard it as a small feature on the sid

Re: \unfoldRepeats

2020-10-29 Thread Aaron Hill
On 2020-10-29 2:35 pm, David Kastrup wrote: David Nalesnik writes: Hi Andrew, On Wed, Oct 28, 2020 at 5:03 PM Andrew Bernard wrote: Hi David, But it would be great in the future to have more and better MIDI support. I no longer regard it as a small feature on the side, but something I re

Re: \unfoldRepeats

2020-10-29 Thread David Kastrup
David Nalesnik writes: > Hi Andrew, > > On Wed, Oct 28, 2020 at 5:03 PM Andrew Bernard > wrote: >> >> Hi David, >> >> But it would be great in the future to have more and better MIDI >> support. I no longer regard it as a small feature on the side, but >> something I really need. For now, I wil

Re: \unfoldRepeats

2020-10-28 Thread David Rogers
Andrew Bernard writes: Hi David, That's one view, but I have been using LilyPond for professional engraving for years and I am now moving into MIDI for generation of MIDI as the principal end output, for film scores and so on. That's a valid musical compositional use case. The engraved score

Re: \unfoldRepeats

2020-10-28 Thread David Nalesnik
Hi Andrew, On Wed, Oct 28, 2020 at 5:03 PM Andrew Bernard wrote: > > Hi David, > > That's one view, but I have been using LilyPond for professional > engraving for years and I am now moving into MIDI for generation of > MIDI as the principal end output, for film scores and so on. That's a > valid

Re: \unfoldRepeats

2020-10-28 Thread Andrew Bernard
Hi David, That's one view, but I have been using LilyPond for professional engraving for years and I am now moving into MIDI for generation of MIDI as the principal end output, for film scores and so on. That's a valid musical compositional use case. The engraved score is _not_ always the principa

Re: \unfoldRepeats

2020-10-28 Thread Martín Rincón Botero
> I think the fact that a person is using Lilypond means they want a > properly-printed score, and making the effort to print a nice > score implies a planned live performance. Which (in my mind) > allows Lilypond’s MIDI into the “mere proof of concept” category. In my opinion, every feature that

Re: \unfoldRepeats

2020-10-28 Thread David Rogers
the MIDI block, nested inside of an \unfoldRepeats block. Any idea why that was chosen as the default behavior? When composers write a repeat, they usually expect it to be performed. I would have thought that automatically unfolding would be the more logical default. The MIDI output of

Re: \unfoldRepeats

2020-10-28 Thread David Kastrup
lock, nested inside of an \unfoldRepeats block. > > Any idea why that was chosen as the default behavior? When composers write > a repeat, they usually expect it to be performed. I would have thought that > automatically unfolding would be the more logical default. The MIDI output of Lil

Re: \unfoldRepeats

2020-10-27 Thread Aaron Hill
\unfoldRepeats, LilyPond cannot obey other instructions to "da capo" or "dal segno al coda". Users who want the MIDI to be accurate will have to manually rejuggle their music anyway. -- Aaron Hill

Re: \unfoldRepeats

2020-10-27 Thread Jean Abou Samra
Le 27/10/2020 à 20:08, Marc Shepherd a écrit : According to the documentation, the default behavior of the MIDI block is not to “unfold” repeats (other than those that are explicitly \repeat unfold). If you want repeats unfolded inside of a MIDI block, you have to requote the music within the

\unfoldRepeats

2020-10-27 Thread Marc Shepherd
According to the documentation, the default behavior of the MIDI block is not to “unfold” repeats (other than those that are explicitly \repeat unfold). If you want repeats unfolded inside of a MIDI block, you have to requote the music within the MIDI block, nested inside of an \unfoldRepeats

Re: \unfoldRepeats for midi file

2017-12-12 Thread Simon Albrecht
On 12.12.2017 11:27, David Kastrup wrote: "Peter Chubb" writes: Ming> Thank you for the Ming> answer. One question: how can I just want to show few color Ming> lyric text only? I try to use {}, but it shows all lyric text in Ming> color. Ming You need to delimit the coloured part. Something

Re: \unfoldRepeats for midi file

2017-12-12 Thread David Kastrup
"Peter Chubb" writes: >> "Ming" == Ming Tsang writes: > > > Ming> Peter, I did reply all and I got mail > Ming> delivery fail on your rmail address. > You probably included HTML, which causes my spam daemon to reject it. > > Ming> Thank you for the > Ming> answer. One question: how can I jus

Re: \unfoldRepeats for midi file

2017-12-12 Thread Peter Chubb
> "Ming" == Ming Tsang writes: Ming> Peter, I did reply all and I got mail Ming> delivery fail on your rmail address. You probably included HTML, which causes my spam daemon to reject it. Ming> Thank you for the Ming> answer. One question: how can I just want to show few color Ming> lyric t

RE: \unfoldRepeats for midi file

2017-12-11 Thread Ming Tsang
Sent: December 10, 2017 9:25 PM To: Ming Tsang Cc: lilypond-user@gnu.org Subject: Re: \unfoldRepeats for midi file Ming> Hi lilyponders, I try to produce file file that Ming> unfoldRepeats. The following code did not produce repeats Ming> volta. I need help. Thanks, Ming Please next ti

RE: \unfoldRepeats for midi file

2017-12-10 Thread Ming Tsang
Hi Peter, Thank you for the reply. I did not know volta 2 can have no \alternative. That why I use volta 1. I change volta 1 to volta 2 and the \unfoldRepeats works. Thank you very much. Next time I will try a minimal example. Ming. Sent from Mail for Windows 10 From: pe...@chubb.wattle.id.au

Re: \unfoldRepeats for midi file

2017-12-10 Thread peter
Ming> Hi lilyponders, I try to produce file file that Ming> unfoldRepeats. The following code did not produce repeats Ming> volta. I need help. Thanks, Ming Please next time try to produce a minimal example. You've asked for \repeat volta 1 which has no repeat. Try \rep

\unfoldRepeats for midi file

2017-12-07 Thread Ming Tsang
Hi lilyponders, I try to produce file file that unfoldRepeats. The following code did not produce repeats volta. I need help. Thanks, Ming \version "2.19.80" \language "english" \header { subtitle = "Joy to the World / Angels We Have Heard on High"

nested-repeats, BarNumbers and unfoldRepeats

2016-04-05 Thread Thomas Morley
Hi all, the challenge: start a repeat with alternative endings in the second volta of a previous repeat _and_ do BarNumbers correctly with 'numbers-with-letters _and_ correct midi while using \unfoldRepeats. First attempt: mus-tst = { \set Score.alternativeNumberingStyle = #'nu

Re: unfoldRepeats and : shortcut

2016-01-21 Thread james
> On Jan 21, 2016, at 6:36 PM, lilyp...@maltemeyn.de wrote: > > Am 2016-01-21 15:57, schrieb james: >> Hello, I've discovered something that looks to be intentional >> behavior, just not expected. The : shortcut for tremolos doesn't >> expand in unfoldRepeat

Re: unfoldRepeats and : shortcut

2016-01-21 Thread lilypond
Am 2016-01-21 15:57, schrieb james: Hello, I've discovered something that looks to be intentional behavior, just not expected. The : shortcut for tremolos doesn't expand in unfoldRepeats. Is the only way to get tremolos to expand to use the full notation? \articulate (from articulat

unfoldRepeats and : shortcut

2016-01-21 Thread james
Hello, I've discovered something that looks to be intentional behavior, just not expected. The : shortcut for tremolos doesn't expand in unfoldRepeats. Is the only way to get tremolos to expand to use the full notation? \version "2.18.2" test = \relative c' { \repeat t

General questions - \unfoldRepeats

2014-03-04 Thread MING TSANG
Hi, lilyponders:  \unfoldRepeats generates a midi file with "\repeat volta 2" music properly.  Is it possible to generate midi file with "D.S. al Code"; "segno"; "To Coda" and "Coda" structure of a music?  I like to listen the generated midi conta

Re: General questions - \unfoldRepeats

2014-02-26 Thread MING TSANG
t; Hi, lilyponders: >  \unfoldRepeats generates a midi file with "\repeat volta 2" music properly.  > Is it possible to generate midi file with "D.S. al Code"; "segno"; "To Coda" > and "Coda" structure of a music?  I like to listen the generated midi >

Re: General questions - \unfoldRepeats

2014-02-26 Thread Martin Tarenskeen
On Wed, 26 Feb 2014, Yming wrote: Sent from my NOOK MING TSANG wrote: Hi, lilyponders:  \unfoldRepeats generates a midi file with "\repeat volta 2" music properly.  Is it possible to generate midi file with "D.S. al Code"; "segno"; "To Coda"

Re: General questions - \unfoldRepeats

2014-02-26 Thread Marc Hohl
Am 26.02.2014 11:58, schrieb Yming: Sent from my NOOK MING TSANG wrote: Hi, lilyponders: \unfoldRepeats generates a midi file with "\repeat volta 2" music properly. Is it possible to generate midi file with "D.S. al Code"; "segno"; "To Coda" and

Re: General questions - \unfoldRepeats

2014-02-26 Thread Yming
Sent from my NOOK MING TSANG wrote: >Hi, lilyponders: > \unfoldRepeats generates a midi file with "\repeat volta 2" music properly.  >Is it possible to generate midi file with "D.S. al Code"; "segno"; "To Coda" >and "Coda" struc

Re: \partial and \unfoldRepeats

2012-05-17 Thread Christopher Webster
Many thanks for that. The pedant in me wishes to object that it wasn't really I who put the \partial anywhere other than the beginning of the piece - it was \unfoldRepeats that copied it for me. But I'm relieved to see that the use of Timing.measurePosition is the idiomatic work-a

Re: \partial and \unfoldRepeats

2012-05-17 Thread James
w Staff >>         { >>             \time 2/4 >>             \repeat volta 2 \dots >>         } >>     } >> } >> >> \book >> { >>     \score >>     { >>         \unfoldRepeats >>         { >>             \new Staff

Re: \partial and \unfoldRepeats

2012-05-17 Thread James
27; >     { >         \partial 8 c'8 >         c8 c c c >         c4 r8 >     } > > \book > { >     \score >     { >         \new Staff >         { >             \time 2/4 >             \repeat volta 2 \dots >         } >     } > } >

\partial and \unfoldRepeats

2012-05-17 Thread Christopher Webster
e { \new Staff { \time 2/4 \repeat volta 2 \dots } } } \book { \score { \unfoldRepeats { \new Staff { \time 2/4 \repeat volta 2 \dots }

unfoldRepeats for midi - a little hack.

2009-07-06 Thread Gilles THIBAULT
new Staff <<\global \musicA>> \new Staff <> >>} %% BUT all the \repeat volta .. will be copied inside each Staff so that you 'll get the right music when you call \unfoldRepeats. Hope it will be usefull. Gilles NB "globalizeMusic.ly" uses "e

Re: unfoldRepeats for midi

2009-06-06 Thread Mark Polesky
lative { \repeat volta 2 a'1 \alternative { { b } { c } } } ** >> If you're going to use \unfoldRepeats in a \score with >> \layout, it doesn't make sense to apply it to only one music >> expression if there are other simultaneous e

Re: unfoldRepeats for midi

2009-06-06 Thread Paul Scott
Hi Mark, After I wrote most of what I wrote below I discovered your comment about your thread on the developers list. I haven't read that thread yet but it seems to show that unfoldRepeats is not a very useful command. Thanks, Mark, for all the work you have done on this. Unfortun

Re: unfoldRepeats for midi

2009-06-06 Thread Mark Polesky
Paul Scott wrote: > It doesn't work. At first I didn't use \unfoldRepeats for the > graphical output as you show above. But adding the > \unfoldRepeats to the first (graphical) part the graphical music > is unfolded in a strange way. The graphical music is generated &

Re: unfoldRepeats for midi

2009-06-06 Thread Paul Scott
f 3.5 :) Following the template provided there, I believe this should work: \score { << { \unfoldRepeats \global } \melody >> \layout { % layout stuff... } } \score { << { \unfoldRepeats \global } \melody >> \midi { \context { \Score tempoWholesPerMi

Re: unfoldRepeats for midi

2009-06-05 Thread Mark Polesky
e, I believe this should work: \score { << { \unfoldRepeats \global } \melody >> \layout { % layout stuff... } } \score { << { \unfoldRepeats \global } \melody >> \midi { \context { \Score tempoWholesPerMinute = #(ly:make-moment 120 4) } } } Let me

unfoldRepeats for midi

2009-06-05 Thread Paul Scott
2.13.1 I have read all of NR 3.5 If I have this structure: global = { \repeat volta 2 s1*6 \alternative { { s1*2 } { s1*2 } } } Should the following work to unfold the above repeats for a MIDI file? \score{ \new Score{ << { \unfoldRepeats \global } \melody >> } \midi{ \con

RE: Feat. request: autobehaviour of \unfoldRepeats

2009-04-11 Thread Piero Faustini
Thanks Valentin, > It is now: http://code.google.com/p/lilypond/issues/detail?id=769 _ Quante ne sai? Scoprilo con CrossWire! http://clk.atdmt.com/GBL/go/140630367/direct/01/___ lilypond-

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Valentin Villenave
2009/4/10 Graham Percival : > On Fri, Apr 10, 2009 at 03:08:32AM -0700, MonAmiPierrot wrote: >> For me, I only use "\repeat percent" and most of all "\repeat >> tremolo". In both cases, audio output is important.  At least >> for tremolos, you'll perfectly agree that there's no point in >> not play

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Laura Conrad
>>>>> "Kees" == Kees van den Doel writes: Kees> I would also prefer \unfoldRepeats to be the default. I Kees> frequently use the midi as practice material for the Kees> musicians. It's also good to have the repeats in the midi Kees> for

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Kees van den Doel
> > I wonder why I (and, as I can imagine, 99% of users out there) > have always > > to put \unfoldRepeats in a different \score block just for > correct MIDI > > output, thus having to put in a variable all the \score > content and use it > > in both \s

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Graham Percival
On Fri, Apr 10, 2009 at 09:28:22AM -0700, MonAmiPierrot wrote: > > On unfoldTremolo, I'll give a try, but if you confirm it works, I don't see > a reason not to implement it in next Lilypond version. What I suggest is to > having it work BY DEFAULT, cause 99,9% of tremolo users would switch it on

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Mark Polesky
MonAmiPierrot wrote: > On unfoldTremolo, I'll give a try, but if you > confirm it works, I don't see a reason not to > implement it in next Lilypond version. What I > suggest is to having it work BY DEFAULT, cause > 99,9% of tremolo users would switch it on if > they use MIDI output. I don't ty

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread MonAmiPierrot
Jay Anderson wrote: > > > > It wouldn't be hard to have this also unfold percent repeats. > > > Of course, tremolos were the most important. I'm with Hu: double tremolo notes are a must. They take the 90% of tremolos I find in my work. But if your \tremolos code works you'll save a huge a

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Jay Anderson
MonAmiPierrot hotmail.com> writes: > P.S. Perhaps, the \unfoldRepeats behaviour should be the default behaviour > in case of "\repeat percent/tremolo", and not for "\repeat volta" (or > additionally in voltas also in case of different "alternative" endi

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Graham Percival
On Fri, Apr 10, 2009 at 03:08:32AM -0700, MonAmiPierrot wrote: > > Graham Percival-3 wrote: > > > > > > I *never* put \unfoldRepeats. If you want real music, listen to > > musicians. > > > Uhm... so, why don't we abolish \midi output? Becaus

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread MonAmiPierrot
Graham Percival-3 wrote: > > > I *never* put \unfoldRepeats. If you want real music, listen to > musicians. > Uhm... so, why don't we abolish \midi output? I undestand what you said. It's because you mostly use \repeat for just "\repeats volta", whic

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Werner LEMBERG
> On Fri, Apr 10, 2009 at 05:25:01PM +0800, Graham Percival wrote: >> Fortunately, there's a simple way for both of us to be happy: the >> status pro. > > *facepalms* > > I cannot believe I just wrote that. In dubio prosecco. Werner ___ lilypo

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Graham Percival
On Fri, Apr 10, 2009 at 05:25:01PM +0800, Graham Percival wrote: > Fortunately, there's a simple way for both of us to be happy: the > status pro. *facepalms* I cannot believe I just wrote that. Cheers, - Graham "I'm a writer!" Percival ___ lilypond-

Re: Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread Graham Percival
On Fri, Apr 10, 2009 at 01:57:12AM -0700, MonAmiPierrot wrote: > > I wonder why I (and, as I can imagine, 99% of users out there) have always > to put \unfoldRepeats in a different \score block just for correct MIDI > output, thus having to put in a variable all the \score content and

Feat. request: autobehaviour of \unfoldRepeats

2009-04-10 Thread MonAmiPierrot
Hello, I wonder why I (and, as I can imagine, 99% of users out there) have always to put \unfoldRepeats in a different \score block just for correct MIDI output, thus having to put in a variable all the \score content and use it in both \score blocks. It's not -till now - a problem for me,

Re: unfoldRepeats

2008-10-14 Thread Mats Bengtsson
7;t unfold. \score { \new Staff << { \time 1/4 \repeat volta 2 {s4} \alternative { {s4} {s4} } } { c'4 g a \bar "|." } >> } \score { \unfoldRepeats { \new Staff << {

unfoldRepeats

2008-10-14 Thread James E. Bailey
ative { {s4} {s4} } } { c'4 g a \bar "|." } >> } \score { \unfoldRepeats { \new Staff << { \time 1/4 \repeat volta 2 {s4} \alternative { {s4} {s4} } }

Re: "\unfoldRepeats" bug? [was: Partial measure moment]

2005-11-16 Thread Mats Bengtsson
ng like \set Timing.measurePosition = #(make-moment 1 4) where you now inserted \cadenzaOn. But I don't know, so please experiment. I don't seem to get it any better with these "moments": In addition to the warnings, I get a bar printed at the wrong place :-{ (2) In th

Re: "\unfoldRepeats" bug? [was: Partial measure moment]

2005-11-16 Thread Gilles
aOn. But I don't know, so please experiment. > I don't seem to get it any better with these "moments": In addition to the warnings, I get a bar printed at the wrong place :-{ > > (2) > > In the 3rd attached file, when "\unfoldRepeats" is put back in,

Re: "\unfoldRepeats" bug? [was: Partial measure moment]

2005-11-15 Thread Erik Sandberg
; > >> better idea to set Timing.measureLength directly. > > > > One thing that might be easier is using \cadenzaOff, which will handle > > setting Timing.measurePosition correctly for you. (See also > > \cadenzaOn, which turns off timing.) > > The problem comes from

"\unfoldRepeats" bug? [was: Partial measure moment]

2005-11-15 Thread Gilles
Length directly. > >> > > One thing that might be easier is using \cadenzaOff, which will handle > setting Timing.measurePosition correctly for you. (See also > \cadenzaOn, which turns off timing.) > The problem comes from "\unfoldRepeats" ! See the attached