Re: tempo percentage

2017-11-27 Thread David Kastrup
Gianmaria Lari writes: > On 27 November 2017 at 10:30, David Kastrup wrote: > >> Any reason you don't take the previous working code, just replacing >> ly:moment-mul with ly:moment-add (and factor with value if you want more >> readable code, but for the first attempt you can skip this)? >> > >

Re: tempo percentage

2017-11-27 Thread Gianmaria Lari
On 27 November 2017 at 10:30, David Kastrup wrote: > Gianmaria Lari writes: > > > On 27 November 2017 at 09:32, David Kastrup wrote: > > > >> Gianmaria Lari writes: > >> > > >> > Another question. It would be also useful to have a function that > >> > increase the tempo by a certain quantity (

Re: tempo percentage

2017-11-27 Thread David Kastrup
Gianmaria Lari writes: > On 27 November 2017 at 09:32, David Kastrup wrote: > >> Gianmaria Lari writes: >> > >> > Another question. It would be also useful to have a function that >> > increase the tempo by a certain quantity (instead of a certain >> > factor). >> > >> > I tried to modify the p

Re: tempo percentage

2017-11-27 Thread Gianmaria Lari
On 27 November 2017 at 09:32, David Kastrup wrote: > Gianmaria Lari writes: > > > On 27 November 2017 at 07:39, Gianmaria Lari > > wrote: > > > >> > >> On 27 November 2017 at 00:24, David Kastrup wrote: > >> > >>> Gianmaria Lari writes: > >>> > >>> > On 8 November 2017 at 18:15, David Kastrup

Re: tempo percentage

2017-11-27 Thread David Kastrup
Gianmaria Lari writes: > On 27 November 2017 at 07:39, Gianmaria Lari > wrote: > >> >> On 27 November 2017 at 00:24, David Kastrup wrote: >> >>> Gianmaria Lari writes: >>> >>> > On 8 November 2017 at 18:15, David Kastrup wrote: >>> > >>> >> Gianmaria Lari writes: >>> >> >>> >> > Talking abou

Re: tempo percentage

2017-11-26 Thread Gianmaria Lari
On 27 November 2017 at 07:39, Gianmaria Lari wrote: > > On 27 November 2017 at 00:24, David Kastrup wrote: > >> Gianmaria Lari writes: >> >> > On 8 November 2017 at 18:15, David Kastrup wrote: >> > >> >> Gianmaria Lari writes: >> >> >> >> > Talking about midi, is there any way to to reduce or

Re: tempo percentage

2017-11-26 Thread Gianmaria Lari
On 27 November 2017 at 00:24, David Kastrup wrote: > Gianmaria Lari writes: > > > On 8 November 2017 at 18:15, David Kastrup wrote: > > > >> Gianmaria Lari writes: > >> > >> > Talking about midi, is there any way to to reduce or increase the > tempo > >> of > >> > some measures by a certain pe

Re: tempo percentage

2017-11-26 Thread David Kastrup
Gianmaria Lari writes: > On 8 November 2017 at 18:15, David Kastrup wrote: > >> Gianmaria Lari writes: >> >> > Talking about midi, is there any way to to reduce or increase the tempo >> of >> > some measures by a certain percentage instead of setting it to an >> absolute >> > value? >> > >> > F

Re: tempo percentage

2017-11-26 Thread Gianmaria Lari
On 8 November 2017 at 18:15, David Kastrup wrote: > Gianmaria Lari writes: > > > Talking about midi, is there any way to to reduce or increase the tempo > of > > some measures by a certain percentage instead of setting it to an > absolute > > value? > > > > For example instead of: > > > > \tempo

Re: tempo percentage

2017-11-09 Thread Gianmaria Lari
On 9 November 2017 at 11:04, David Kastrup wrote: > Gianmaria Lari writes: > > > Thank you David & Mark! > > > > Mark's solutions looks simpler. Any disadvantages using it comparing to > > David'one? > > It doesn't do what you asked for, namely setting the tempo in relation > to the _current_ te

Re: tempo percentage

2017-11-09 Thread David Kastrup
Gianmaria Lari writes: > Thank you David & Mark! > > Mark's solutions looks simpler. Any disadvantages using it comparing to > David'one? It doesn't do what you asked for, namely setting the tempo in relation to the _current_ tempo rather than some fixed tempo. That makes it simpler because it

Re: tempo percentage

2017-11-09 Thread Gianmaria Lari
Thank you David & Mark! Mark's solutions looks simpler. Any disadvantages using it comparing to David'one? Thank you, gianmaria On 8 November 2017 at 18:15, David Kastrup wrote: > Gianmaria Lari writes: > > > Talking about midi, is there any way to to reduce or increase the tempo > of > > som

Re: tempo percentage

2017-11-08 Thread David Kastrup
Gianmaria Lari writes: > Talking about midi, is there any way to to reduce or increase the tempo of > some measures by a certain percentage instead of setting it to an absolute > value? > > For example instead of: > > \tempo 4=100 a b c d > \tempo 4=110 e f g a > > > something like > > \tempo 4=1

Re: tempo percentage

2017-11-08 Thread Mark Knoop
At 14:14 on 08 Nov 2017, Gianmaria Lari wrote: >Talking about midi, is there any way to to reduce or increase the >tempo of some measures by a certain percentage instead of setting it >to an absolute value? > >For example instead of: > >\tempo 4=100 a b c d >\tempo 4=110 e f g a > > >something like

tempo percentage

2017-11-08 Thread Gianmaria Lari
Talking about midi, is there any way to to reduce or increase the tempo of some measures by a certain percentage instead of setting it to an absolute value? For example instead of: \tempo 4=100 a b c d \tempo 4=110 e f g a something like \tempo 4=100 a b c d \tempo 4=currentTempo*1.1 e f g a