midi elapsed time markers

2009-12-07 Thread Peter Dingley
I was searching for a way to print out midi elapsed time
 in my score to be able to easily start the midi file
at the location I am currently working on. At the moment
 I write these in by hand but they change as I
make changes to the music in other locations. As far as I
 could see, there is  no way of generating these
values automatically. I was looking  for something like
 rehearsal marks with the elapsed time for the midi
file in minutes and seconds based on the \tempo value,
 for example. Would this be a useful new feature
or does the facility already exist?



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: midi elapsed time markers

2009-12-08 Thread Mats Bengtsson
Unfortunately, it may be quite difficult to implement without changing 
major parts of LilyPond, since currently the  MIDI generation and the 
printed output are done completely separately, one after the other, 
whereas they would have to be done jointly to be able to implement your 
feature request (as far as I can see).


   /Mats

Peter Dingley wrote:

I was searching for a way to print out midi elapsed time
 in my score to be able to easily start the midi file
at the location I am currently working on. At the moment
 I write these in by hand but they change as I
make changes to the music in other locations. As far as I
 could see, there is  no way of generating these
values automatically. I was looking  for something like
 rehearsal marks with the elapsed time for the midi
file in minutes and seconds based on the \tempo value,
 for example. Would this be a useful new feature
or does the facility already exist?



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
  


--
=
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
   Fax:   (+46) 8 790 7260
Email: mats.bengts...@ee.kth.se
WWW: http://www.s3.kth.se/~mabe
=



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: midi elapsed time markers

2009-12-08 Thread James Bailey

On 07.12.2009, at 16:35, Peter Dingley wrote:


I was searching for a way to print out midi elapsed time
 in my score to be able to easily start the midi file
at the location I am currently working on. At the moment
 I write these in by hand but they change as I
make changes to the music in other locations. As far as I
 could see, there is  no way of generating these
values automatically. I was looking  for something like
 rehearsal marks with the elapsed time for the midi
file in minutes and seconds based on the \tempo value,
 for example. Would this be a useful new feature
or does the facility already exist?

For MacOSX, the program Mighty MIDI can start playback at a  
particular measure and beat. It isn't exactly what you're looking  
for, but it should get the end result you're looking for. Whether  
other programs for different operating systems can do the same, I  
don't know.




___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: midi elapsed time markers

2009-12-08 Thread James Bailey

On 07.12.2009, at 16:35, Peter Dingley wrote:


I was searching for a way to print out midi elapsed time
 in my score to be able to easily start the midi file
at the location I am currently working on. At the moment
 I write these in by hand but they change as I
make changes to the music in other locations. As far as I
 could see, there is  no way of generating these
values automatically. I was looking  for something like
 rehearsal marks with the elapsed time for the midi
file in minutes and seconds based on the \tempo value,
 for example. Would this be a useful new feature
or does the facility already exist?

For MacOSX, the program Mighty MIDI can start playback at a  
particular measure and beat. It isn't exactly what you're looking  
for, but it should get the end result you're looking for. Whether  
other programs for different operating systems can do the same, I  
don't know.




___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: midi elapsed time markers

2009-12-08 Thread Peter Dingley
James Bailey  googlemail.com> writes:

> For MacOSX, the program Mighty MIDI can start playback at a  
> particular measure and beat.

The tip to use Mighty Midi (I tried it) is perfect for my use as the bars
are numbered by default. Thanks




___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: midi elapsed time markers

2009-12-08 Thread Peter Dingley
Mats Bengtsson  ee.kth.se> writes:

> 
> Unfortunately, it may be quite difficult to implement without changing 
> major parts of LilyPond, since currently the  MIDI generation and the 
> printed output are done completely separately, one after the other, 
> whereas they would have to be done jointly to be able to implement your 
> feature request (as far as I can see).

I was thinking of something as simple as using the number of beats
per minute (\tempo ... ) and the the number of beats per bar to work out
the elapsed time. Obviously this gets more complicated when taking 
tempo changes into account and any partial bars but it wouldn't necessarily
involve changing the current separate passes for PDF and MIDI generation.



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: midi elapsed time markers

2009-12-09 Thread demery

> I was thinking of something as simple as using the number of beats
> per minute (\tempo ... ) and the the number of beats per bar to work out
> the elapsed time. Obviously this gets more complicated when taking
> tempo changes into account and any partial bars

and repeat sections, which can get rather elaborate.  Dont forget the use
of mixed time signatures for many renaissance works and other pieces with
complex rhythms (eg, 34/44 some bars are 3/4, others 4/4.

Should white mensural notation be supported sometimes in the future you
will also have to deal with proportional changes in tempo and both a lack
of barlines in general or a casual disregard for where they are placed in
original sources.

If this is to be done it should be done by consideration of the note
durations.  Perhaps the midi pass could be done before the printing pass
and output a side file.


--
Dana Emery



___
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel