Re: Multiple tempos at the same time and midi playback?

2018-12-14 Thread Yakir Arbib
Sorry - email got cut!

Thanks DJF for your detailed example... I really appreciate it.  Yes I
am very new to LilyPond and still reading the latter parts of the user
manuals.  But from what you say, it seems like at least visually
LilyPond can accomplish a score with different metronome marks for
each instrument - and that is a great starting point for me!

By the way, what GUI would you suggest me to use where I can type in
the sourcecode and listen to playback without compiling a midi file
each time?

For the simultaneous midi playback of different metronomes, if
(whichever) GUI you suggest to me is an open source progect, then I
could try with the help of an experienced programmer to code an option
for simultaneous tempi playback.

It's been three years since I wrote my last piece for orchestra (using
Sibelius) which is no longer accessible for the blind.  And out of
frustration from not being able to compose since, I started developing
a new accessible notation software that did support simultaneous tempi
playback.  Unfortunately just when things were getting hot my
programmer walked out on me.  So that's how I thankfully discovered
LilyPond which might be a solution for me.  But at least from that
experience I know that (some way or another) simultaneous playback of
different tempi can be possible.

Thank you very much again people, and any other suggestion/ tip is
super appreciated!

Best day,

Yakir

On 12/14/18, Yakir Arbib  wrote:
> Hi All,
>
> Thank you very much for your help and suggestions!
>
> On 12/14/18, Carl Sorensen  wrote:
>>
>>
>> On 12/13/18, 5:33 AM, "Yakir Arbib"  wrote:
>>
>> Hi All,
>>
>>
>> My name is Yakir and I'm a pianist / composer based in Paris.
>>
>> I am very new to LilyPond, so please pardon me if my question is
>> annoying or redundant.
>>
>> I write modern classical music in which each instrument has its' own
>> separate tempo.  My question is, do you think it's possible to write
>> something like that in LilyPond using separate tempo commands for
>> each
>> staff?
>>
>> I'm pretty sure you will not be able to accomplish this easily in
>> LilyPond.
>> It is probably possible by using scaled durations.
>>
>> Lilypond's basic timing is done in beats.  Beats are grouped into
>> measures.
>> The timing is not done in seconds, or minutes.
>>
>> So if you want to have one staff at 4/4 and a tempo of 60, with another
>> staff at 4/4 and a tempo of 120, you'll probably need to scale the
>> durations
>> of all the notes in the 120 staff by two, and probably fake the time
>> signature (that is, set the time signature to say, 4/2 but display it as
>> 4/4).  And when you do that, you'll need to reset the beaming rules.
>>
>> So I think it's doable, but not easily.
>>
>> HTH,
>>
>> Carl
>>
>>
>>
>

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


Re: Multiple tempos at the same time and midi playback?

2018-12-14 Thread Yakir Arbib
Hi All,

Thank you very much for your help and suggestions!

On 12/14/18, Carl Sorensen  wrote:
>
>
> On 12/13/18, 5:33 AM, "Yakir Arbib"  wrote:
>
> Hi All,
>
>
> My name is Yakir and I'm a pianist / composer based in Paris.
>
> I am very new to LilyPond, so please pardon me if my question is
> annoying or redundant.
>
> I write modern classical music in which each instrument has its' own
> separate tempo.  My question is, do you think it's possible to write
> something like that in LilyPond using separate tempo commands for each
> staff?
>
> I'm pretty sure you will not be able to accomplish this easily in LilyPond.
> It is probably possible by using scaled durations.
>
> Lilypond's basic timing is done in beats.  Beats are grouped into measures.
> The timing is not done in seconds, or minutes.
>
> So if you want to have one staff at 4/4 and a tempo of 60, with another
> staff at 4/4 and a tempo of 120, you'll probably need to scale the durations
> of all the notes in the 120 staff by two, and probably fake the time
> signature (that is, set the time signature to say, 4/2 but display it as
> 4/4).  And when you do that, you'll need to reset the beaming rules.
>
> So I think it's doable, but not easily.
>
> HTH,
>
> Carl
>
>
>

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


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread Carl Sorensen


On 12/13/18, 5:33 AM, "Yakir Arbib"  wrote:

Hi All,


My name is Yakir and I'm a pianist / composer based in Paris.

I am very new to LilyPond, so please pardon me if my question is
annoying or redundant.

I write modern classical music in which each instrument has its' own
separate tempo.  My question is, do you think it's possible to write
something like that in LilyPond using separate tempo commands for each
staff?

I'm pretty sure you will not be able to accomplish this easily in LilyPond.  It 
is probably possible by using scaled durations.

Lilypond's basic timing is done in beats.  Beats are grouped into measures.  
The timing is not done in seconds, or minutes.

So if you want to have one staff at 4/4 and a tempo of 60, with another staff 
at 4/4 and a tempo of 120, you'll probably need to scale the durations of all 
the notes in the 120 staff by two, and probably fake the time signature (that 
is, set the time signature to say, 4/2 but display it as 4/4).  And when you do 
that, you'll need to reset the beaming rules.

So I think it's doable, but not easily.

HTH,

Carl
 

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


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread Flaming Hakama by Elaine
-- Forwarded message --
> From: DJF 
> To: Yakir Arbib 
> Cc: lilypond-user Mailinglist 
> Date: Thu, 13 Dec 2018 15:33:25 -0500
> Subject: Re: Multiple tempos at the same time and midi playback?
> On Dec 13, 2018, at 7:33 AM, Yakir Arbib  wrote:
> >
> > I write modern classical music in which each instrument has its' own
> > separate tempo.  My question is, do you think it's possible to write
> > something like that in LilyPond using separate tempo commands for each
> > staff?
> >
>
> To get a separate tempo marking in each staff, you would, in a \layout
> block, remove the Metronome_mark_engraver from the Score level, and add it
> to the Staff level. Because you’re new to LilyPond, I’ve attached a little
> longer and more complete example than usual and also included its contents
> below.
>
> I would hasten to add that this is a visual fix only—the various tempi
> will not be rendered in MIDI playback. If you add a \midi { } line at the
> end of the \score block, it will use the last metronome mark (in the
> example below, 4 = 110) as its tempo for all the parts. Someone more
> knowledgable than I will have to tell you if it's even possible to get
> separate tempi rendered simultaneously. I suspect not.
>
> I hope this is helpful.
>
> Dan
>

I would suggest trying to export each part as a separate file, then import
them individually into your DAW.

\book {
   \bookOutputSuffix "violin"
\score {
\violinPart
\midi { }
}
}

\book {
   \bookOutputSuffix "viola"
\score {
\violaPart
\midi { }
}
}

\book {
   \bookOutputSuffix "cello"
\score {
\celloPart
\midi { }
}
}

\book {
   \bookOutputSuffix "contrabass"
\score {
\contrabassPart
\midi { }
}
}


HTH,

Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread DJF
On Dec 13, 2018, at 7:33 AM, Yakir Arbib  wrote:
> 
> I write modern classical music in which each instrument has its' own
> separate tempo.  My question is, do you think it's possible to write
> something like that in LilyPond using separate tempo commands for each
> staff?
> 

To get a separate tempo marking in each staff, you would, in a \layout block, 
remove the Metronome_mark_engraver from the Score level, and add it to the 
Staff level. Because you’re new to LilyPond, I’ve attached a little longer and 
more complete example than usual and also included its contents below.

I would hasten to add that this is a visual fix only—the various tempi will not 
be rendered in MIDI playback. If you add a \midi { } line at the end of the 
\score block, it will use the last metronome mark (in the example below, 4 = 
110) as its tempo for all the parts. Someone more knowledgable than I will have 
to tell you if it's even possible to get separate tempi rendered 
simultaneously. I suspect not.

I hope this is helpful.

Dan

%

\version "2.19.80"

\layout {
  \context {
\Staff
\consists "Metronome_mark_engraver"
  }
  \context {
\Score
\remove "Metronome_mark_engraver"
  }
}

violin = \relative c'' {
  \key c \major
  \time 4/4
  \tempo 4 = 90
  a4 a a a
}

viola = \relative c' {
  \tempo 4 = 60
a4 a a a
}

cello = \relative c {
  \tempo 4 = 120
a4 a a a
}

contrabass = \relative c {
\tempo 4 = 110
a4 a a a 
}

violinPart = \new Staff \with {
  instrumentName = "Violin"
} \violin

violaPart = \new Staff \with {
  instrumentName = "Viola"
} { \clef alto \viola }

celloPart = \new Staff \with {
  instrumentName = "Cello"
 } { \clef bass \cello }

contrabassPart = \new Staff \with {
  instrumentName = "Contrabass"
} { \clef bass \contrabass }

\score {
  <<
\violinPart
\violaPart
\celloPart
\contrabassPart
  >>
}
%



tempo test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread Hans Åberg


> On 13 Dec 2018, at 19:30, Yakir Arbib  wrote:
> 
> Thanks a lot for your reply!  Unfortunately since the example is in an
> image, and not a text, I cannot see it (or read it with my screan
> reader).  Is there a way to get the source code for the example you
> mentioned?

In addition to clicking on the image, just change the "Item" in the URL [1] to 
"Snippet", as in [2].

1. http://lsr.di.unimi.it/LSR/Item?id=344
2. http://lsr.di.unimi.it/LSR/Snippet?id=344



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


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread Johan Vromans
On Thu, 13 Dec 2018 19:30:16 +0100, Yakir Arbib 
wrote:

> Thanks a lot for your reply!  Unfortunately since the example is in an
> image, and not a text,

When you click on the image, you see the lilypond source.

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


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread Yakir Arbib
Hi Paolo,

Thanks a lot for your reply!  Unfortunately since the example is in an
image, and not a text, I cannot see it (or read it with my screan
reader).  Is there a way to get the source code for the example you
mentioned?

Also, I think they are talking about different time signatures (3/3,
4/4 etc) where as I am trying to write different metronome marks for
each instrument.  I don't know, maybe it's the same with metronome
markings as with time signitures with Lilypond?

Thanks a lot for the help again!

Yakir



On 12/13/18, Paolo Cantamessa  wrote:
> Hello Yakir,
> welcome an Lilypond user.
>
> Take look here this snippet: http://lsr.di.unimi.it/LSR/Item?id=344
>
> It is very simple.
>
> All the best.
>
> Paolo
>
> Il gio 13 dic 2018, 14:34 Yakir Arbib  ha scritto:
>
>> Hi All,
>>
>>
>> My name is Yakir and I'm a pianist / composer based in Paris.
>>
>> I am very new to LilyPond, so please pardon me if my question is
>> annoying or redundant.
>>
>> I write modern classical music in which each instrument has its' own
>> separate tempo.  My question is, do you think it's possible to write
>> something like that in LilyPond using separate tempo commands for each
>> staff?
>>
>> My second question is, do you know of any GUI or outside software
>> (such as Frescobaldi) where I could type Lilypond code and listen to
>> the midi playback from any point in the score when I want without
>> having to compile the file each time?
>>
>> * I am visually impaired and use a screan reader to work, so please
>> suggest a program where I can actually type the code (not manipulate
>> the notes graphically) and listen to midi by a simple command?
>>
>> Thank you very very much for your time and help!
>>
>> All my best,
>>
>> Yakir
>>
>> Yakir Arbib
>>
>> Http://www.yakirarbib.com/
>> Http://www.facebook.com/yakirarbib
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>

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


Re: Multiple tempos at the same time and midi playback?

2018-12-13 Thread Paolo Cantamessa
Hello Yakir,
welcome an Lilypond user.

Take look here this snippet: http://lsr.di.unimi.it/LSR/Item?id=344

It is very simple.

All the best.

Paolo

Il gio 13 dic 2018, 14:34 Yakir Arbib  ha scritto:

> Hi All,
>
>
> My name is Yakir and I'm a pianist / composer based in Paris.
>
> I am very new to LilyPond, so please pardon me if my question is
> annoying or redundant.
>
> I write modern classical music in which each instrument has its' own
> separate tempo.  My question is, do you think it's possible to write
> something like that in LilyPond using separate tempo commands for each
> staff?
>
> My second question is, do you know of any GUI or outside software
> (such as Frescobaldi) where I could type Lilypond code and listen to
> the midi playback from any point in the score when I want without
> having to compile the file each time?
>
> * I am visually impaired and use a screan reader to work, so please
> suggest a program where I can actually type the code (not manipulate
> the notes graphically) and listen to midi by a simple command?
>
> Thank you very very much for your time and help!
>
> All my best,
>
> Yakir
>
> Yakir Arbib
>
> Http://www.yakirarbib.com/
> Http://www.facebook.com/yakirarbib
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Multiple tempos at the same time and midi playback?

2018-12-13 Thread Yakir Arbib
Hi All,


My name is Yakir and I'm a pianist / composer based in Paris.

I am very new to LilyPond, so please pardon me if my question is
annoying or redundant.

I write modern classical music in which each instrument has its' own
separate tempo.  My question is, do you think it's possible to write
something like that in LilyPond using separate tempo commands for each
staff?

My second question is, do you know of any GUI or outside software
(such as Frescobaldi) where I could type Lilypond code and listen to
the midi playback from any point in the score when I want without
having to compile the file each time?

* I am visually impaired and use a screan reader to work, so please
suggest a program where I can actually type the code (not manipulate
the notes graphically) and listen to midi by a simple command?

Thank you very very much for your time and help!

All my best,

Yakir

Yakir Arbib

Http://www.yakirarbib.com/
Http://www.facebook.com/yakirarbib

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