how to do this?

2023-03-27 Thread Dario Marrini
Hi lilypond people,

I need to write this (multiple bars with number )

[image: image.png]

but I can't find in documentation this kind of writing; then, I need to
know, if I write this in a single part score, may I get a full series of
empty bars in the complete score ?

thanks
  dario m.


Re: how to do this?

2023-03-27 Thread Ralph Palmer
Hi, Dario M. -

I don't know about the full score (I expect you have to put the rests in
each part), but for the empty measure rests, please see:

https://lilypond.org/doc/v2.23/Documentation/notation/writing-rests#full-measure-rests

HTH,

Ralph
__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


On Mon, Mar 27, 2023 at 8:22 AM Dario Marrini 
wrote:

> Hi lilypond people,
>
> I need to write this (multiple bars with number )
>
> [image: image.png]
>
> but I can't find in documentation this kind of writing; then, I need to
> know, if I write this in a single part score, may I get a full series of
> empty bars in the complete score ?
>
> thanks
>   dario m.
>


Re: how to do this?

2023-03-27 Thread Jean Abou Samra


> Le 27 mars 2023 à 17:23, Dario Marrini  a écrit :
> 
> 
> Hi lilypond people,
> 
> I need to write this (multiple bars with number ) 
> 
> 
> 
> but I can't find in documentation this kind of writing;


It’s here: 
https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measures


> then, I need to know, if I write this in a single part score, may I get a 
> full series of empty bars in the complete score ?

If the other parts in the full score have notes during those “compressed” 
rests, they will just be expanded as needed in the full score while remaining 
compressed in the individual parts. If for some reason you want to compress the 
rests in the parts but expand them in the full score *while they could be 
compressed* (i.e., all instruments have rests at that moment), then have a look 
at tags: 
https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags

Best,

Jean




Re: how to do this?

2023-03-27 Thread Dario Marrini
many thanks guys,
and what about this : ?

[image: image.png]
the '11 in that box; I found A,B,C,D as progressive mark signes, but how
could I write it as a automatic progressive ?

Il giorno lun 27 mar 2023 alle ore 17:30 Jean Abou Samra 
ha scritto:

>
>
> Le 27 mars 2023 à 17:23, Dario Marrini  a écrit :
>
> 
> Hi lilypond people,
>
> I need to write this (multiple bars with number )
>
> [image: image.png]
>
> but I can't find in documentation this kind of writing;
>
>
>
> It’s here:
> https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measures
>
>
> then, I need to know, if I write this in a single part score, may I get a
> full series of empty bars in the complete score ?
>
>
> If the other parts in the full score have notes during those “compressed”
> rests, they will just be expanded as needed in the full score while
> remaining compressed in the individual parts. If for some reason you want
> to compress the rests in the parts but expand them in the full score *while
> they could be compressed* (i.e., all instruments have rests at that
> moment), then have a look at tags:
> https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags
>
> Best,
>
> Jean
>
>
>


Re: how to do this?

2023-03-27 Thread Ralph Palmer
Hello again, Dario Marrini -

When you have a new question, it's preferable that you start a new thread -
just in case someone else later has the same question as you do.

That said, have you read the Learning Manual :

https://lilypond.org/doc/v2.24/Documentation/learning/index.html

or the Notation Reference?

https://lilypond.org/doc/v2.24/Documentation/notation/index.html

The Learning Manual gives you an excellent starting point, and the Notation
Reference probably answers most of your questions.

For Rehearsal Marks in the Notation Reference, see

https://lilypond.org/doc/v2.24/Documentation/notation/bars#index-rehearsal-mark

All the best,

Ralph
__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


On Mon, Mar 27, 2023 at 8:49 AM Dario Marrini 
wrote:

> many thanks guys,
> and what about this : ?
>
> [image: image.png]
> the '11 in that box; I found A,B,C,D as progressive mark signes, but how
> could I write it as a automatic progressive ?
>
> Il giorno lun 27 mar 2023 alle ore 17:30 Jean Abou Samra <
> j...@abou-samra.fr> ha scritto:
>
>>
>>
>> Le 27 mars 2023 à 17:23, Dario Marrini  a
>> écrit :
>>
>> 
>> Hi lilypond people,
>>
>> I need to write this (multiple bars with number )
>>
>> [image: image.png]
>>
>> but I can't find in documentation this kind of writing;
>>
>>
>>
>> It’s here:
>> https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measures
>>
>>
>> then, I need to know, if I write this in a single part score, may I get a
>> full series of empty bars in the complete score ?
>>
>>
>> If the other parts in the full score have notes during those “compressed”
>> rests, they will just be expanded as needed in the full score while
>> remaining compressed in the individual parts. If for some reason you want
>> to compress the rests in the parts but expand them in the full score *while
>> they could be compressed* (i.e., all instruments have rests at that
>> moment), then have a look at tags:
>> https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags
>>
>> Best,
>>
>> Jean
>>
>>
>>


Re: how to do this?

2023-03-27 Thread Jean Abou Samra


> Le 27 mars 2023 à 17:48, Dario Marrini  a écrit :
> 
> 
> many thanks guys, 
> and what about this : ?
> 
> 
> the '11 in that box; I found A,B,C,D as progressive mark signes, but how 
> could I write it as a automatic progressive ?


I assume you mean “progression”, right?

See the different options for rehearsalMarkFormatter here: 
https://lilypond.org/doc/v2.24/Documentation/notation/bars#rehearsal-marks

Best,

Jean



Re: how to do this?

2023-03-27 Thread Leo Correia de Verdier
Try\set Score.rehearsalMarkFormatter = #format-mark-box-numbersMore details and explanations can be found hereLilyPond Notation Reference: 1.2.5 Barslilypond.org27 mars 2023 kl. 17:49 skrev Dario Marrini :many thanks guys, and what about this : ?the '11 in that box; I found A,B,C,D as progressive mark signes, but how could I write it as a automatic progressive ?Il giorno lun 27 mar 2023 alle ore 17:30 Jean Abou Samra  ha scritto:Le 27 mars 2023 à 17:23, Dario Marrini  a écrit :Hi lilypond people,I need to write this (multiple bars with number ) but I can't find in documentation this kind of writing;It’s here: https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measuresthen, I need to know, if I write this in a single part score, may I get a full series of empty bars in the complete score ?
If the other parts in the full score have notes during those “compressed” rests, they will just be expanded as needed in the full score while remaining compressed in the individual parts. If for some reason you want to compress the rests in the parts but expand them in the full score *while they could be compressed* (i.e., all instruments have rests at that moment), then have a look at tags: https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tagsBest,Jean


Re: how to do this?

2023-03-27 Thread Dario Marrini
Thanks all,
I'm used to read as docs as possible, but I'm in trouble about names,
sometimes I dont' know how to name some resources in English (sometimes
barely in Italian...) then sometimes I spend a lot of time looking for
things I don't even know the name of...

Il giorno lun 27 mar 2023 alle ore 18:02 Leo Correia de Verdier <
leo.correia.de.verd...@gmail.com> ha scritto:

> Try
>
> \set Score.rehearsalMarkFormatter = #format-mark-box-numbers
>
> More details and explanations can be found here
>
> LilyPond Notation Reference: 1.2.5 Bars 
> 
> lilypond.org 
> 
> [image: favicon.ico] 
>  
> 
>
>
> 27 mars 2023 kl. 17:49 skrev Dario Marrini :
>
> 
> many thanks guys,
> and what about this : ?
>
> 
>
> the '11 in that box; I found A,B,C,D as progressive mark signes, but how
> could I write it as a automatic progressive ?
>
> Il giorno lun 27 mar 2023 alle ore 17:30 Jean Abou Samra <
> j...@abou-samra.fr> ha scritto:
>
>>
>>
>> Le 27 mars 2023 à 17:23, Dario Marrini  a
>> écrit :
>>
>> 
>> Hi lilypond people,
>>
>> I need to write this (multiple bars with number )
>>
>> 
>>
>>
>> but I can't find in documentation this kind of writing;
>>
>>
>>
>> It’s here:
>> https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measures
>>
>>
>> then, I need to know, if I write this in a single part score, may I get a
>> full series of empty bars in the complete score ?
>>
>>
>> If the other parts in the full score have notes during those “compressed”
>> rests, they will just be expanded as needed in the full score while
>> remaining compressed in the individual parts. If for some reason you want
>> to compress the rests in the parts but expand them in the full score *while
>> they could be compressed* (i.e., all instruments have rests at that
>> moment), then have a look at tags:
>> https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags
>>
>> Best,
>>
>> Jean
>>
>>
>>


favicon.ico
Description: Binary data


Re: how to do this?

2023-03-27 Thread Ralph Palmer
Dario Marrini -
Did you know there is an Italian version of the documents?
https://lilypond.org/community.it.html
And, I believe, an Italian user list. I don't know the address for that,
but I hope someone else can provide it.
All the best,
Ralph
__
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.vio...@gmail.com


On Mon, Mar 27, 2023 at 9:48 AM Dario Marrini 
wrote:

> Thanks all,
> I'm used to read as docs as possible, but I'm in trouble about names,
> sometimes I dont' know how to name some resources in English (sometimes
> barely in Italian...) then sometimes I spend a lot of time looking for
> things I don't even know the name of...
>
> Il giorno lun 27 mar 2023 alle ore 18:02 Leo Correia de Verdier <
> leo.correia.de.verd...@gmail.com> ha scritto:
>
>> Try
>>
>> \set Score.rehearsalMarkFormatter = #format-mark-box-numbers
>>
>> More details and explanations can be found here
>>
>> LilyPond Notation Reference: 1.2.5 Bars 
>> 
>> lilypond.org 
>> 
>> [image: favicon.ico] 
>>  
>> 
>>
>>
>> 27 mars 2023 kl. 17:49 skrev Dario Marrini :
>>
>> 
>> many thanks guys,
>> and what about this : ?
>>
>> 
>>
>> the '11 in that box; I found A,B,C,D as progressive mark signes, but how
>> could I write it as a automatic progressive ?
>>
>> Il giorno lun 27 mar 2023 alle ore 17:30 Jean Abou Samra <
>> j...@abou-samra.fr> ha scritto:
>>
>>>
>>>
>>> Le 27 mars 2023 à 17:23, Dario Marrini  a
>>> écrit :
>>>
>>> 
>>> Hi lilypond people,
>>>
>>> I need to write this (multiple bars with number )
>>>
>>> 
>>>
>>>
>>> but I can't find in documentation this kind of writing;
>>>
>>>
>>>
>>> It’s here:
>>> https://lilypond.org/doc/v2.24/Documentation/notation/writing-parts#compressing-empty-measures
>>>
>>>
>>> then, I need to know, if I write this in a single part score, may I get
>>> a full series of empty bars in the complete score ?
>>>
>>>
>>> If the other parts in the full score have notes during those
>>> “compressed” rests, they will just be expanded as needed in the full score
>>> while remaining compressed in the individual parts. If for some reason you
>>> want to compress the rests in the parts but expand them in the full score
>>> *while they could be compressed* (i.e., all instruments have rests at that
>>> moment), then have a look at tags:
>>> https://lilypond.org/doc/v2.24/Documentation/notation/different-editions-from-one-source#using-tags
>>>
>>> Best,
>>>
>>> Jean
>>>
>>>
>>>


favicon.ico
Description: Binary data


Re: how to do this?

2023-03-27 Thread Jean Abou Samra
Le lundi 27 mars 2023 à 11:41 -0700, Ralph Palmer a écrit :
> And, I believe, an Italian user list. I don't know the address for that, but 
> I hope someone else can provide it. 

[https://lists.gnu.org/mailman/listinfo/lilypond-it](https://lists.gnu.org/mailman/listinfo/lilypond-it)


signature.asc
Description: This is a digitally signed message part


Re: how to do this?

2023-03-27 Thread Jean Abou Samra
Le lundi 27 mars 2023 à 20:48 +0200, Jean Abou Samra a écrit :
> Le lundi 27 mars 2023 à 11:41 -0700, Ralph Palmer a écrit :
> 
> > And, I believe, an Italian user list. I don't know the address for that, 
> > but I hope someone else can provide it.
> 
> [https://lists.gnu.org/mailman/listinfo/lilypond-it](https://lists.gnu.org/mailman/listinfo/lilypond-it)


P.S. The link is given on 
[https://lilypond.org/contact.html](https://lilypond.org/contact.html)


signature.asc
Description: This is a digitally signed message part


I don't remember how to do this ...

2009-04-10 Thread Chip
I have two trombone parts written in concert key - F Maj - and just 
realized that the notes are one step too high. I don't recall how to 
transpose a part without changing the key signature. If I recall 
correctly it involved two /transposes, is that right? Can someone help 
me? Here's how I lay out my code -


% -- Trombone 1--
tbonea = { all the notes of the piece }
trombonea = \relative c {
 \global
 \key f \major
 \set Staff.instrumentName = #"Trombone 1"
 \set Staff.shortInstrumentName = #"Tbn 1"
 \clef bass
 << \tbonea >>
}

% -- Trombone 2--
tboneb= { all the notes of the piece }
tromboneb = \relative c {
 \global
 \key f \major
 \set Staff.instrumentName = #"Trombone 2"
 \set Staff.shortInstrumentName = #"Tbn 2"
 \clef bass
 << \tboneb >>
}

Thanks,
Chip


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


Re: I don't remember how to do this ...

2009-04-10 Thread Gilles Sadowski
Hi.

> [...]
> realized that the notes are one step too high. 
> [...]

If I understood correctly, you just need to use "\transpose":

>
> % -- Trombone 1--
> tbonea = { all the notes of the piece }
> trombonea = \relative c {
>  \global
>  \key f \major
>  \set Staff.instrumentName = #"Trombone 1"
>  \set Staff.shortInstrumentName = #"Tbn 1"
>  \clef bass
   \transpose d c { \tbonea }
> }
>
> % -- Trombone 2--
> tboneb= { all the notes of the piece }
> tromboneb = \relative c {
>  \global
>  \key f \major
>  \set Staff.instrumentName = #"Trombone 2"
>  \set Staff.shortInstrumentName = #"Tbn 2"
>  \clef bass
   \transpose d c { \tboneb }
> }

But if you also want to keep the same pitch (as without the transposition),
you also need "\transposition":

  \transposition bes { \transpose d c { \tboneb } }


Best,
Gilles


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


Re: I don't remember how to do this ...

2009-04-10 Thread Carl D. Sorensen



On 4/10/09 9:28 AM, "Chip"  wrote:

> I have two trombone parts written in concert key - F Maj - and just
> realized that the notes are one step too high. I don't recall how to
> transpose a part without changing the key signature. If I recall
> correctly it involved two /transposes, is that right? Can someone help
> me? Here's how I lay out my code -

It's quite simple.  Just keep the transpose command after the key signature.

I'd suggest that you replace << \tboneb>> with

\transpose d c \tboneb

(You don't need the << >>, because you aren't setting parallel music, and I
think it's best not to have it, as it's not needed).

Carl

> 
> % -- Trombone 1--
> tbonea = { all the notes of the piece }
> trombonea = \relative c {
>   \global
>   \key f \major
>   \set Staff.instrumentName = #"Trombone 1"
>   \set Staff.shortInstrumentName = #"Tbn 1"
>   \clef bass
>   << \tbonea >>
> }
> 
> % -- Trombone 2--
> tboneb= { all the notes of the piece }
> tromboneb = \relative c {
>   \global
>   \key f \major
>   \set Staff.instrumentName = #"Trombone 2"
>   \set Staff.shortInstrumentName = #"Tbn 2"
>   \clef bass
>   << \tboneb >>
> }
> 
> Thanks,
> Chip
> 
> 
> 



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


Re: I don't remember how to do this ...

2009-04-10 Thread Chip

Thanks Carl,
That's what I needed. Has this been simplified in the last year or two? 
Seems I recall there was a need to use two /transposes in the past.

--
chip

Carl D. Sorensen wrote:


On 4/10/09 9:28 AM, "Chip"  wrote:

  

I have two trombone parts written in concert key - F Maj - and just
realized that the notes are one step too high. I don't recall how to
transpose a part without changing the key signature. If I recall
correctly it involved two /transposes, is that right? Can someone help
me? Here's how I lay out my code -



It's quite simple.  Just keep the transpose command after the key signature.

I'd suggest that you replace << \tboneb>> with

\transpose d c \tboneb

(You don't need the << >>, because you aren't setting parallel music, and I
think it's best not to have it, as it's not needed).

Carl

  

% -- Trombone 1--
tbonea = { all the notes of the piece }
trombonea = \relative c {
  \global
  \key f \major
  \set Staff.instrumentName = #"Trombone 1"
  \set Staff.shortInstrumentName = #"Tbn 1"
  \clef bass
  << \tbonea >>
}

% -- Trombone 2--
tboneb= { all the notes of the piece }
tromboneb = \relative c {
  \global
  \key f \major
  \set Staff.instrumentName = #"Trombone 2"
  \set Staff.shortInstrumentName = #"Tbn 2"
  \clef bass
  << \tboneb >>
}

Thanks,
Chip






  




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.283 / Virus Database: 270.11.41/2040 - Release Date: 04/03/09 17:54:00


  


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


Re: I don't remember how to do this ...

2009-04-10 Thread Carl D. Sorensen



On 4/10/09 10:54 AM, "Chip"  wrote:

> Thanks Carl,

You're welcome.

> That's what I needed. Has this been simplified in the last year or two? Seems
> I recall there was a need to use two /transposes in the past.

I don't think so.  I think that what you are remembering is the use of
\transpose and \transposition, which I don't really understand because I've
never used it.

Carl

> --
> chip
> 
> Carl D. Sorensen wrote:
>>  
>> 
>> 
>> On 4/10/09 9:28 AM, "Chip"  
>> wrote:
>> 
>>   
>>  
>>>  
>>> I have two trombone parts written in concert key - F Maj - and just
>>> realized that the notes are one step too high. I don't recall how to
>>> transpose a part without changing the key signature. If I recall
>>> correctly it involved two /transposes, is that right? Can someone help
>>> me? Here's how I lay out my code -
>>> 
>>>  
>>  
>> 
>> It's quite simple.  Just keep the transpose command after the key signature.
>> 
>> I'd suggest that you replace << \tboneb>> with
>> 
>> \transpose d c \tboneb
>> 
>> (You don't need the << >>, because you aren't setting parallel music, and I
>> think it's best not to have it, as it's not needed).
>> 
>> Carl
>> 
>>   
>>  
>>>  
>>> % -- Trombone 1--
>>> tbonea = { all the notes of the piece }
>>> trombonea = \relative c {
>>>   \global
>>>   \key f \major
>>>   \set Staff.instrumentName = #"Trombone 1"
>>>   \set Staff.shortInstrumentName = #"Tbn 1"
>>>   \clef bass
>>>   << \tbonea >>
>>> }
>>> 
>>> % -- Trombone 2--
>>> tboneb= { all the notes of the piece }
>>> tromboneb = \relative c {
>>>   \global
>>>   \key f \major
>>>   \set Staff.instrumentName = #"Trombone 2"
>>>   \set Staff.shortInstrumentName = #"Tbn 2"
>>>   \clef bass
>>>   << \tboneb >>
>>> }
>>> 
>>> Thanks,
>>> Chip
>>> 
>>> 
>>> 
>>> 
>>>  
>>  
>> 
>>   
>>  
>> 
>> 
>> 
>> 
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com 
>> Version: 8.5.283 / Virus Database: 270.11.41/2040 - Release Date: 04/03/09
>> 17:54:00
>> 
>>   
> 



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


Re: I don't remember how to do this ...

2009-04-10 Thread Anthony W. Youngman
In message , Carl D. Sorensen 
 writes




On 4/10/09 10:54 AM, "Chip"  wrote:


Thanks Carl,


You're welcome.


That's what I needed. Has this been simplified in the last year or two? Seems
I recall there was a need to use two /transposes in the past.


I don't think so.  I think that what you are remembering is the use of
\transpose and \transposition, which I don't really understand because I've
never used it.


Or it was me. If I'm going from treble clef to treble clef I use two 
transpositions.


One wrapped round the notes as entered to transpose them from Bb to 
concert, and the second wrapped round that to convert them back to Bb 
for printing.


Piece in treble clef Bb -
tbonea = transpose c bf, { all the notes of the piece }

That will then need a "transpose bf, c { \tbonea }" if I want to output 
music in treble clef.


Cheers,
Wol
--
Anthony W. Youngman - anth...@thewolery.demon.co.uk



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


Re: I don't remember how to do this ...

2009-04-10 Thread Cameron Horsburgh
On Fri, Apr 10, 2009 at 08:28:47AM -0700, Chip wrote:
> I have two trombone parts written in concert key - F Maj - and just  
> realized that the notes are one step too high. I don't recall how to  
> transpose a part without changing the key signature. If I recall  
> correctly it involved two /transposes, is that right? Can someone help  
> me? Here's how I lay out my code -

I'm probably missing something obvious, but can't you just change the
key to G major and use a single transpose? If you've written it a step
too high it would be in G, so just tranpose it from there.

The only problem I can see is if you've used notes from F major
instead of G (i.e. you've flattened your B's but not sharpened your
F's). If that's the case I don't think the tranpose function will
help.

-- 

Cameron Horsburgh

Blog: http://spiritcry.wordpress.com/


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


first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-10 Thread Kenneth Wolcott
HI;

first repeat at low dynamic; next repeat at higher dynamic; how to do
this for midi output?

I thought I saw an email previously in this mailing list regarding
this subject; but I could not find it.

I think I know how to properly display a "p then f" or "p - f"
instruction at the beginning of a repeat, but how to generate the
distinct dynamic change in the midi output?  Just duplicate the
Lilypond code with the exception of the different dynamics?

  An example downloaded from 8notes.com is attached.

Thanks,
Ken Wolcott


Mozart_Minuet_from_Don_Giovanni_arranged_for_Piano.pdf
Description: Adobe PDF document


Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-10 Thread David Kastrup
Kenneth Wolcott  writes:

> HI;
>
> first repeat at low dynamic; next repeat at higher dynamic; how to do
> this for midi output?

<< \volta 1 \p
   \volta 2 \f
>>

in the \midi section should likely work.

-- 
David Kastrup



Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-10 Thread Kenneth Wolcott
HI David;

  Thank you!

  Now what happens when I have multiple repeats with this situation?

Ken

On Wed, Aug 10, 2022 at 7:51 PM David Kastrup  wrote:
>
> Kenneth Wolcott  writes:
>
> > HI;
> >
> > first repeat at low dynamic; next repeat at higher dynamic; how to do
> > this for midi output?
>
> << \volta 1 \p
>\volta 2 \f
> >>
>
> in the \midi section should likely work.
>
> --
> David Kastrup



Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-10 Thread Kenneth Wolcott
Hi David;

  I must have misunderstood your suggestion :-(


  \midi {
\tempo 4=116
\volta 1 \p
\volta 2 \f
  }


  I'm using Lilypond 2.22.2, \volta inside \midi {} is not accepted by Lilypond:

GNU LilyPond 2.22.2 (running Guile 2.2)
Processing `Screwed_it_up.ly'
Parsing...
Screwed_it_up.ly:97:5: error: unknown escaped string: `\volta'

\volta 1 \p
Screwed_it_up.ly:97:12: error: syntax error, unexpected UNSIGNED,
expecting '.' or '='
\volta
   1 \p
Screwed_it_up.ly:98:5: error: unknown escaped string: `\volta'

\volta 2 \f
Interpreting music...[8][16]
Preprocessing graphical objects...
Interpreting music...
MIDI output to `Screwed_it_up.midi'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `Screwed_it_up.pdf'...
fatal error: failed files: "Screwed_it_up.ly"

On Wed, Aug 10, 2022 at 8:10 PM Kenneth Wolcott
 wrote:
>
> HI David;
>
>   Thank you!
>
>   Now what happens when I have multiple repeats with this situation?
>
> Ken
>
> On Wed, Aug 10, 2022 at 7:51 PM David Kastrup  wrote:
> >
> > Kenneth Wolcott  writes:
> >
> > > HI;
> > >
> > > first repeat at low dynamic; next repeat at higher dynamic; how to do
> > > this for midi output?
> >
> > << \volta 1 \p
> >\volta 2 \f
> > >>
> >
> > in the \midi section should likely work.
> >
> > --
> > David Kastrup



Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-11 Thread David Kastrup
Kenneth Wolcott  writes:

> HI David;
>
>   Thank you!
>
>   Now what happens when I have multiple repeats with this situation?
>
> Ken
>
> On Wed, Aug 10, 2022 at 7:51 PM David Kastrup  wrote:
>>
>> Kenneth Wolcott  writes:
>>
>> > HI;
>> >
>> > first repeat at low dynamic; next repeat at higher dynamic; how to do
>> > this for midi output?
>>
>> << \volta 1 \p
>>\volta 2 \f
>> >>
>>
>> in the \midi section should likely work.

Let me rephrase: "In the score part used for generating the MIDI, namely
the score containing a \midi output declaration."

Namely, << \volta 1 \p \volta 2 \f >> is placed in the location in the
score where you want to switch the dynamics.

-- 
David Kastrup



Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-11 Thread Kenneth Wolcott
HI David;

  I'm sorry that I'm so dense :-(

  I've searched the 2.22.2 documentation and I do not find a "\volta"
command referenced.

  I'll read your reply many times, ponder it and try to figure out why
I just don't get your very simple explanation, and experiment a lot,
maybe I'll get it.

Thanks,
Ken

On Thu, Aug 11, 2022 at 2:19 AM David Kastrup  wrote:
>
> Kenneth Wolcott  writes:
>
> > HI David;
> >
> >   Thank you!
> >
> >   Now what happens when I have multiple repeats with this situation?
> >
> > Ken
> >
> > On Wed, Aug 10, 2022 at 7:51 PM David Kastrup  wrote:
> >>
> >> Kenneth Wolcott  writes:
> >>
> >> > HI;
> >> >
> >> > first repeat at low dynamic; next repeat at higher dynamic; how to do
> >> > this for midi output?
> >>
> >> << \volta 1 \p
> >>\volta 2 \f
> >> >>
> >>
> >> in the \midi section should likely work.
>
> Let me rephrase: "In the score part used for generating the MIDI, namely
> the score containing a \midi output declaration."
>
> Namely, << \volta 1 \p \volta 2 \f >> is placed in the location in the
> score where you want to switch the dynamics.
>
> --
> David Kastrup



Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-11 Thread Jean Abou Samra




Le 11/08/2022 à 20:56, Kenneth Wolcott a écrit :

HI David;

   I'm sorry that I'm so dense :-(

   I've searched the 2.22.2 documentation and I do not find a "\volta"
command referenced.

   I'll read your reply many times, ponder it and try to figure out why
I just don't get your very simple explanation, and experiment a lot,
maybe I'll get it.


You'll need a 2.23 version. \volta was added in 2.23.0.

Best,
Jean





Re: first repeat at low dynamic; next repeat at higher dynamic; how to do this for midi output?

2022-08-11 Thread Kenneth Wolcott
Thanks to you all for your forbearance with me.

Well, the answer is really obvious, of course :-)

It was pointed out to me privately that I wasn't taking advantage of
my own midi-specific variables that had the \volta implemented.

So using \rh_midi in place of \rh and  \lh_midi in place of \lh solved
the problem.

Sometimes I am totally blind and deaf to the obvious :-)

Thanks,
Ken

On Thu, Aug 11, 2022 at 3:44 PM Kenneth Wolcott
 wrote:
>
> HI Jean;
>
>   I have implemented a second version using Lilypond 2.23.22 taking
> advantage of the \volta construct.
>
>   I do not hear a difference in the dynamics during midi playback in
> the version using 2.23.11 but I do in the version using 2.22.2 where I
> split out the music into different subsections.
>
> What am I doing wrong?
>
> Please see attachments.
>
> Thanks,
> Ken
>
> On Thu, Aug 11, 2022 at 11:58 AM Jean Abou Samra  wrote:
> >
> >
> >
> > Le 11/08/2022 à 20:56, Kenneth Wolcott a écrit :
> > > HI David;
> > >
> > >I'm sorry that I'm so dense :-(
> > >
> > >I've searched the 2.22.2 documentation and I do not find a "\volta"
> > > command referenced.
> > >
> > >I'll read your reply many times, ponder it and try to figure out why
> > > I just don't get your very simple explanation, and experiment a lot,
> > > maybe I'll get it.
> >
> > You'll need a 2.23 version. \volta was added in 2.23.0.
> >
> > Best,
> > Jean
> >
> >