lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

midi repair [was:] mid and midi


From: Francois Planiol-Auger
Subject: midi repair [was:] mid and midi
Date: Thu, 12 Jul 2007 15:29:01 +0200
User-agent: KMail/1.9.1

Hi

Thanks to all who tried to help till now.

I tried also with a lute prelude (the first one on this lute page @tobis). The 
problem remains.
But now, I know why.

All these Midi-files where certainly done using quantization. During playing 
the player played everything staccato, what is normal here (Germany) *g*
It may be nice to play just a little bit of staccato, but the program (capella 
then midi2ly) interpretated every note as note + spacer sequence.

for ex.: g''4*58/240 s4*2/240 fis4*58/240 s4*2/240 g4*58/240 s4*2/240

So the midi files are "corrupted", every note+spacer should be concatenated to 
a note.

I began to write a .sh utility to handle with the .ly file afterward, that is 
for J.S.Bach ok. It will be but very difficult using complicated rhythmvalues 
like c4..~\times 5/4{c16 d e f g}.

So it would be more accurate to purify/repair first the midi-file, then 
convert.

My question is actually:
-How do one repair (concatenate notes with this little staccato-rest) a 
midi-file.

I would have also a sed question, but later on, only if I dont have succes 
with the midi-way.

greetings from Francois

Am Dienstag, 10. Juli 2007 20:57 schrieb Stan Sanderson:
> On Jul 10, 2007, at 1:30 PM, Francois Planiol-Auger wrote:
> > Hi!
> > I am searching how to convert *.mid to ly. (mainly from tobis-
> > notenarchiv.de
> > I wrote already about, but I dont still have a working solution.
> >
> > It seems to me that mid and midi very different file-formats are.
> > See in PS.
> > With
> >
> >> midi2ly file.midi (from mutopia)
> >
> > ... works fine
> > but not with midi2ly file.mid. (from tobis-notenarch...)
> > I get then a not usable file.ly
> > (I got these 2 files of the same choral from bach in mid and midi
> > for test)
> >
> > I tried/searched till now:
> >
> > - First way: convert mid2midi then midi2ly (look for differences in
> > PS)
> > I found a script mid2midi*, but unfortunately it is a matlab
> > script, so I cant
> > use it. Matlab doesnt seems to have much contact with private
> > persons...
> >
> > - Second way:
> > open file.mid with noteedit then export as lilypond and purify the .ly
> > file!!!... Very heavy. Not practicable for the many files I have to
> > handle.
> > But if there is no other solution...
> >
> > - Third and best way, but how?
> > mid2ly
> > I found an advice in sourceforge.jp** that there was either a
> > mid2ly and a
> > midi2ly. Is that true? How to convert from mid? Unfortunately, I cant
> > understand Japanese...
> >
> > - ThirdA: it would be helpful, of course, to have a cap2ly, but it
> > seems to be
> > a difficult topic ;-) or is it not?
> >
> > Of course, I want to convert pieces that do only in this .mid
> > format exist.
> > For BWV734, I dont need that anymore ;-)
> >
> > That it for now. I hope my english is human readable ;-)
> >
> > Thanks
> >
> > Francois
> > still using 2.10.25
> >
> > * neural.cs.nthu.edu.tw/jang/matlab/toolbox/CBMR/mid2midi.m
> > ** http://mytexpert.sourceforge.jp/index.php?LilyPond (was lilypond
> > 2.6.5)
> >
> > PS
>
> <snip>
>
> Francois-
>
> Your English is infinitely more readable than would be my French.
> I would like to ask whether you have tried replacing the ".mid"
> extension
> with ".midi" when using midi2ly. I just tried it with a Bach lute
> prelude from
> the tobis site. While I don't use midi2ly very often, the results
> seem o.k.
>
> Stan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]