Re: tempo changes (midi)

2014-01-07 Thread Hilary Snaden
On 2014-01-07 11:44, rosea grammostola wrote:
> Is it possible to change tempo for a certain part of the score and make
> that also audible in the midi file?
> 
> In the template there is:
> 
>  \midi {
> 
> \context {
> 
> \Score
> 
> tempoWholesPerMinute = #(ly:make-moment 100 4)
> 
> }
> 
> }

I find it easier to keep score tempi and midi tempi separate in the
final versions of scores, storing tempi for midi in their own variable,
something like:

tempi = {
  \tempo 8=108 s2*21 % 1-10
  \tempo 8=107 s8 \tempo 8=106 s \tempo 8=105 s \tempo 8=104 s % 11
  % much more here...
}

\score {
  <<
{ \tempi }
\new Voice = "v1" {
  \set Staff.midiInstrument = "acoustic grand"
  \upper
}
\new Voice = "v2" {
  \set Staff.midiInstrument = "acoustic grand"
  \lower
}
  >>
  \midi { }
}

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


Re: tempo changes (midi)

2014-01-07 Thread Phil Holmes
Why not try it and find out?

--
Phil Holmes


  - Original Message - 
  From: rosea grammostola 
  To: Phil Holmes 
  Cc: lilypond-user 
  Sent: Tuesday, January 07, 2014 12:15 PM
  Subject: Re: tempo changes (midi)


  Ok thx. You just have to put it in the score of one instrument, or do you 
need to put it in all the parts of the instruments playing at the same time?




  On Tue, Jan 7, 2014 at 1:02 PM, Phil Holmes  wrote:

Have you tried \tempo?

\score {
{
\tempo 4 = 120
c''4 c'' c'' c''
\tempo 4 = 40
c''4 c'' c'' c''
}
\layout {}
\midi {}
}

--
Phil Holmes


- Original Message - From: rosea grammostola
To: lilypond-user
Sent: Tuesday, January 07, 2014 11:44 AM
Subject: tempo changes (midi)



Is it possible to change tempo for a certain part of the score and make 
that also audible in the midi file?


In the template there is:


\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}






___
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: tempo changes (midi)

2014-01-07 Thread rosea grammostola
Ok thx. You just have to put it in the score of one instrument, or do you
need to put it in all the parts of the instruments playing at the same time?


On Tue, Jan 7, 2014 at 1:02 PM, Phil Holmes  wrote:

> Have you tried \tempo?
>
> \score {
> {
> \tempo 4 = 120
> c''4 c'' c'' c''
> \tempo 4 = 40
> c''4 c'' c'' c''
> }
> \layout {}
> \midi {}
> }
>
> --
> Phil Holmes
>
>
> - Original Message - From: rosea grammostola
> To: lilypond-user
> Sent: Tuesday, January 07, 2014 11:44 AM
> Subject: tempo changes (midi)
>
>
>
> Is it possible to change tempo for a certain part of the score and make
> that also audible in the midi file?
>
>
> In the template there is:
>
>
> \midi {
> \context {
> \Score
> tempoWholesPerMinute = #(ly:make-moment 100 4)
> }
> }
>
>
>
>
>
> ___
> 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: tempo changes (midi)

2014-01-07 Thread Phil Holmes

Have you tried \tempo?

\score {
{
\tempo 4 = 120
c''4 c'' c'' c''
\tempo 4 = 40
c''4 c'' c'' c''
}
\layout {}
\midi {}
}

--
Phil Holmes


- Original Message - 
From: rosea grammostola

To: lilypond-user
Sent: Tuesday, January 07, 2014 11:44 AM
Subject: tempo changes (midi)


Is it possible to change tempo for a certain part of the score and make that 
also audible in the midi file?



In the template there is:


\midi {
\context {
\Score
tempoWholesPerMinute = #(ly:make-moment 100 4)
}
}





___
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: tempo changes (midi)

2014-01-07 Thread David Kastrup
rosea grammostola  writes:

> Is it possible to change tempo for a certain part of the score and make
> that also audible in the midi file?
>
> In the template there is:
>
>  \midi {
>
> \context {
>
> \Score
>
> tempoWholesPerMinute = #(ly:make-moment 100 4)
>
> }
>
> }

I'd rather write
\midi {
  \tempo 4 = 100
}

And of course, you can write
\tempo 4 = 120 in the music as well.

-- 
David Kastrup

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


tempo changes (midi)

2014-01-07 Thread rosea grammostola
Is it possible to change tempo for a certain part of the score and make
that also audible in the midi file?

In the template there is:

 \midi {

\context {

\Score

tempoWholesPerMinute = #(ly:make-moment 100 4)

}

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