[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sending around contexts
From: |
Valentin Petzel |
Subject: |
Sending around contexts |
Date: |
Sat, 21 Nov 2020 20:37:24 +0100 |
Hello,
A while ago I sent an example of how you can use custom contexts to send music
to different Voices in different Staves. I have done some experimenting and
found a way to send anything pretty much anywhere.
So here I’m using this to send stuff from a Staff into a Dynamics context. So
instead of having to fill the Dynamics content with skips and the stuff I want
there, I can add that stuff from within the actual music.
So here I created to shortcuts:
\toDyn music1 music2
outputs music1 and parallely sends music2 to a certain Dynamics context
between the staves.
\pedOn music and \pedOff music
outputs the music and sends corresponding pedal marks to a Dynamics context
below the staff.
I have shortended the example to remove all the cosmetic stuff, considering it
is about showing the method. But I’ve included the current state. For the time
being not turning out too bad!
Regards,
Valentin
Postscript: Actually I think one could use this to get around a specific
problem in guitar music. Consider your’re doing a score with Tablature and
standard staff. If you have a need for doing different voices, you get the
problem that Staff only accepts Voice context and TabStaff only accepts
TabVoice context. So if you cannot use { } \\ { } notation, you have to mess
around a alot.
This could be done by creating the voices you need at the beginning and then
just sending the notes to the specific Voices. (Nota bene: You cannot tag
creation of contexts, but you can tag change of contexts).
Ich bin der Welt.pdf
Description: Adobe PDF document
Ich bin der Welt_short.ly
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
- Sending around contexts,
Valentin Petzel <=
- Re: Sending around contexts, Kieren MacMillan, 2020/11/21
- Re: Sending around contexts, Kieren MacMillan, 2020/11/21
- Re: Sending around contexts, Lukas-Fabian Moser, 2020/11/21
- Re: Sending around contexts, Valentin Petzel, 2020/11/21
- Re: Sending around contexts, Kieren MacMillan, 2020/11/21
- Re: Sending around contexts, Valentin Petzel, 2020/11/21
Re: Sending around contexts, Valentin Petzel, 2020/11/21