Re: Music function for arrow directions in arpeggios

2016-02-25 Thread David Kastrup
Simon Albrecht  writes:

> On 24.02.2016 00:08, Dan Eble wrote:
>> Is this a case where attaching an arpeggio to a chord with ^ or _
>> should make a difference, or do I misunderstand the point of those
>> characters?
>
> Yes, you do. They change the direction of the entire grob, not the
> arpeggio-direction indicated by the arrow.

Usually they indicate whether the grob should be placed above or below
its notehead/notecolumn.  Which is not likely a consideration with
arpeggios.  I'm pretty undecided here.  Using this for arrow direction
may be convenient.  It also seems a bit strange.

-- 
David Kastrup

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


Re: Music function for arrow directions in arpeggios

2016-02-25 Thread David Kastrup
Malte Meyn  writes:

> Am 23.02.2016 um 15:52 schrieb Caio Giovaneti de Barros:
>> I'm trying to write a function to make easier for me to change arrow
>> directions in arpeggios.
>
> I would prefer an event function with a tweak:
>
> \version "2.19.36"
>
> arpeggioUp = \tweak arpeggio-direction #UP \arpeggio

Also known as

arpeggioUp = \single \arpeggioArrowUp \arpeggio

if you don't want to look up what the override \arpeggioArrowUp actually
does.

-- 
David Kastrup

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


Re: Music function for arrow directions in arpeggios

2016-02-24 Thread Noeck
Hi Simon,

Am 24.02.2016 um 21:50 schrieb Simon Albrecht:
> On 23.02.2016 22:22, Noeck wrote:
>> the names \arpeggioUp and \arpeggioDown are still free and
>> would me much more lilypondish.
> 
> More imprecise, really. It’s really only the direction of the arrow
> that’s changed, not the direction of the whole grob.

Well the rest of the grob is invariant to rotations so you can't really
tell ;)

While this is true for the current \arpeggioArrowUp and Down commands,
the proposed tweaked arpeggios would need names like
\arpeggioWithArrowUp and \arpeggioWithArrowDown to be really precise.

If you insist on the distinction from things like \slurUp \slurDown, a
comparable situation could be \upbow \downbow. So how about \uparpeggio
\downarpeggio?

My term 'lilypondish' was not related to the name but to the fact that
the tweaked arpeggios are written as postfix and do not need to surround
the note.

Cheers,
Joram

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


Re: Music function for arrow directions in arpeggios

2016-02-24 Thread Kieren MacMillan
Hi Simon,

> Surely it is a question of priorities. Do such alternating patterns occur 
> more often than situations with arpeggio direction changing once in a while, 
> but each change holds for several subsequent chords? That’s the question. (I 
> cannot answer.)

I think my solution addresses the [OP’s] issue without abandoning the 
[existing] benefit: by defining \arpU and \arpD as single-use commands (i.e., 
tweaks), you can still use \arpeggioUp or \arpeggioDown to establish a holding 
direction change.

Yes?

Best,
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Re: Music function for arrow directions in arpeggios

2016-02-24 Thread Simon Albrecht

On 24.02.2016 00:08, Dan Eble wrote:

Is this a case where attaching an arpeggio to a chord with ^ or _ should make a 
difference, or do I misunderstand the point of those characters?


Yes, you do. They change the direction of the entire grob, not the 
arpeggio-direction indicated by the arrow.


Best, Simon

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


Re: Music function for arrow directions in arpeggios

2016-02-24 Thread Simon Albrecht

On 23.02.2016 16:14, Abraham Lee wrote:
On Tue, Feb 23, 2016 at 8:04 AM, Malte Meyn > wrote:




Am 23.02.2016 um 15:52 schrieb Caio Giovaneti de Barros:

I'm trying to write a function to make easier for me to change
arrow
directions in arpeggios.


I would prefer an event function with a tweak:

\version "2.19.36"

arpeggioUp = \tweak arpeggio-direction #UP \arpeggio

\relative c' { \arpeggioUp }


I like this a lot and I feel like I've seen this exact discussion 
before, but it didn't result in any core changes.


Dev Team,

Any reason \arpeggioArrowUp and \arpeggioArrowDown can't be defined 
this way from the beginning? Is there a use-case where the 
"\arpeggioArrowUp  \arpeggio" way is necessary?


Surely it is a question of priorities. Do such alternating patterns 
occur more often than situations with arpeggio direction changing once 
in a while, but each change holds for several subsequent chords? That’s 
the question. (I cannot answer.)


Best, Simon

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


Re: Music function for arrow directions in arpeggios

2016-02-24 Thread Simon Albrecht

On 23.02.2016 22:22, Noeck wrote:

the names \arpeggioUp and \arpeggioDown are still free and
would me much more lilypondish.


More imprecise, really. It’s really only the direction of the arrow 
that’s changed, not the direction of the whole grob.


Best, Simon

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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Noeck


Am 24.02.2016 um 00:08 schrieb Dan Eble:
> Is this a case where attaching an arpeggio to a chord with ^ or _ should make 
> a difference, or do I misunderstand the point of those characters?

That was also discussed in the old thread. Not conclusive but with more
insights than I have:
https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00365.html

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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Dan Eble
On Feb 23, 2016, at 16:22 , Noeck  wrote:
> 
> Hi,
> 
>> I like this a lot and I feel like I've seen this exact discussion
>> before, but it didn't result in any core changes. 
> 
> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00908.html
> 
>> Dev Team,
>> 
>> Any reason \arpeggioArrowUp and \arpeggioArrowDown can't be defined this
>> way from the beginning? Is there a use-case where the "\arpeggioArrowUp
>>  \arpeggio" way is necessary?
> 
> I think at first it was just a property that could be set with an
> override. Then this was put into a command for convenience
> http://lilypond.1069038.n5.nabble.com/grand-predefined-command-thread-td109680.html#a109692
> However, the names \arpeggioUp and \arpeggioDown are still free and
> would me much more lilypondish.

Is this a case where attaching an arpeggio to a chord with ^ or _ should make a 
difference, or do I misunderstand the point of those characters?
— 
Dan


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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread tisimst
On Tue, Feb 23, 2016 at 2:23 PM, Noeck [via Lilypond] <
ml-node+s1069038n187636...@n5.nabble.com> wrote:

> Hi,
>
> > I like this a lot and I feel like I've seen this exact discussion
> > before, but it didn't result in any core changes.
>
> https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00908.html


I knew this all sounded familiar :-)




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Music-function-for-arrow-directions-in-arpeggios-tp187596p187640.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Noeck
Hi,

> I like this a lot and I feel like I've seen this exact discussion
> before, but it didn't result in any core changes. 

https://lists.gnu.org/archive/html/lilypond-user/2015-01/msg00908.html

> Dev Team,
> 
> Any reason \arpeggioArrowUp and \arpeggioArrowDown can't be defined this
> way from the beginning? Is there a use-case where the "\arpeggioArrowUp
>  \arpeggio" way is necessary?

I think at first it was just a property that could be set with an
override. Then this was put into a command for convenience
http://lilypond.1069038.n5.nabble.com/grand-predefined-command-thread-td109680.html#a109692
However, the names \arpeggioUp and \arpeggioDown are still free and
would me much more lilypondish.

Best,
Joram

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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Caio Giovaneti de Barros
Yes, that works perfectly. No need to use a function, of course. That 
was just my first approach to solve this problem.

Thanks Malte and Kieren!

Em 23-02-2016 12:14, Abraham Lee escreveu:
On Tue, Feb 23, 2016 at 8:04 AM, Malte Meyn > wrote:




Am 23.02.2016 um 15:52 schrieb Caio Giovaneti de Barros:

I'm trying to write a function to make easier for me to change
arrow
directions in arpeggios.


I would prefer an event function with a tweak:

\version "2.19.36"

arpeggioUp = \tweak arpeggio-direction #UP \arpeggio

\relative c' { \arpeggioUp }


I like this a lot and I feel like I've seen this exact discussion 
before, but it didn't result in any core changes.


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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Abraham Lee
On Tue, Feb 23, 2016 at 8:04 AM, Malte Meyn  wrote:

>
>
> Am 23.02.2016 um 15:52 schrieb Caio Giovaneti de Barros:
>
>> I'm trying to write a function to make easier for me to change arrow
>> directions in arpeggios.
>>
>
> I would prefer an event function with a tweak:
>
> \version "2.19.36"
>
> arpeggioUp = \tweak arpeggio-direction #UP \arpeggio
>
> \relative c' { \arpeggioUp }
>

I like this a lot and I feel like I've seen this exact discussion before,
but it didn't result in any core changes.

Dev Team,

Any reason \arpeggioArrowUp and \arpeggioArrowDown can't be defined this
way from the beginning? Is there a use-case where the "\arpeggioArrowUp  \arpeggio" way is necessary?

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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Malte Meyn



Am 23.02.2016 um 15:52 schrieb Caio Giovaneti de Barros:

I'm trying to write a function to make easier for me to change arrow
directions in arpeggios.


I would prefer an event function with a tweak:

\version "2.19.36"

arpeggioUp = \tweak arpeggio-direction #UP \arpeggio

\relative c' { \arpeggioUp }

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


Re: Music function for arrow directions in arpeggios

2016-02-23 Thread Kieren MacMillan
Hi Caio,

> I'm trying to write a function

Well, if you *really* want a music function, I’ll let others answer.

But to solve your particular issue, I’d do the following:

  SNIPPET BEGINS
\version "2.19.36"

arp = -\arpeggio
arpU = \tweak arpeggio-direction #UP -\arpeggio
arpD = \tweak arpeggio-direction #DOWN -\arpeggio

\relative c' {
  1\arpU
  1\arpD
  1\arp
}
  SNIPPET ENDS

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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