Re: calculating durations

2005-09-19 Thread Matthew M. Munz
Erik & Han-Wen, I'm not sure that either example does precisely what I need. The algorithm I want should convert c3 into c2. and c7 into c1 tied to c2. in the next bar. The source format describes notes in terms of absolute durations, and not in terms of traditional notation. For som

Re: calculating durations

2005-09-19 Thread Matthew M. Munz
Erik, Thanks for the suggestions. I will take a look at midi2ly.py. Since the source format has features that I do not believe are found in midi, there would likely be data loss in the case where I convert to midi first. - Matt On Sep 16, 2005, at 12:08 PM, Erik Sandberg wrote:

Re: calculating durations

2005-09-18 Thread Han-Wen Nienhuys
Matthew M. Munz wrote: Erik & Han-Wen, I'm not sure that either example does precisely what I need. The algorithm I want should convert c3 into c2. and c7 into c1 tied to c2. in the next bar. The source format describes notes in terms of absolute durations, and not in terms of traditio

Re: calculating durations

2005-09-17 Thread stk
> . . . I am currently writing a program that transforms scores expressed > in a piano-roll-like format into LilyPond scores . . . > I'm especially thinking of how to resolve a note like "c3" (where 3 > means 3 quarter note beats) into Lilypond's "c2." . . . in this case, > the input data is mos

Re: calculating durations

2005-09-16 Thread Erik Sandberg
On Friday 16 September 2005 20.21, Han-Wen Nienhuys wrote: > Erik Sandberg wrote: > >> I'm especially thinking of how to resolve a note like "c3" (where 3 > >>means 3 quarter note beats) into Lilypond's "c2." Any suggestions? I > >>suppose this problem relates to "quantization" but in this case,

Re: calculating durations

2005-09-16 Thread Han-Wen Nienhuys
Erik Sandberg wrote: I'm especially thinking of how to resolve a note like "c3" (where 3 means 3 quarter note beats) into Lilypond's "c2." Any suggestions? I suppose this problem relates to "quantization" but in this case, the input data is mostly "clean" and unambiguous. I don't think the so

Re: calculating durations

2005-09-16 Thread Erik Sandberg
On Thursday 15 September 2005 20.48, [EMAIL PROTECTED] wrote: > Hi all, > > I am a new user of LilyPond and I am currently writing a program that > transforms scores expressed in a piano-roll-like format into LilyPond > scores, for the purpose of typesetting/printing. > > In the source format,

calculating durations

2005-09-16 Thread matthew . munz
Hi all, I am a new user of LilyPond and I am currently writing a program that transforms scores expressed in a piano-roll-like format into LilyPond scores, for the purpose of typesetting/printing. In the source format, music is expressed (like Midi, I suppose) as strings of notes with absolu