[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Midi to lilypond conversion.
From: |
Johan Vromans |
Subject: |
Re: Midi to lilypond conversion. |
Date: |
22 Nov 2008 14:39:57 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
David Picón Álvarez <address@hidden> writes:
> d''4*95/192 s4*1/192 a'4*95/192 s4*1/192 a4*95/192 s4*1/192 g4*95/192
> s4*1/192 f4*95/192 s4*1/192 e4*95/192 s4*1/192 d4*95/192 s4*1/192
> e4*95/192 s4*1/192 |
>
> I was looking at the source of the converter, and although I'm not
> sure if I understand it very well, would reducing the clocks_per_1
> value make it more likely that the converter would ignore these
> useless silences?
>From looking at the example, I'd use a small script to remove all
1/192 rests and /192 clutter, so the result would become:
d''4 a'4 a4 g4 f4 e4 d4 e4 |
A slightly more complex perl script could produce
d''4*1/2 a'4*1/2 a4*1/2 g4*1/2 f4*1/2 e4*1/2 d4*1/2 e4*1/2 |
if that's desirable.
-- Johan