bug-lilypond
[Top][All Lists]
Advanced

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

Re: midi2ly failure


From: Jan Nieuwenhuizen
Subject: Re: midi2ly failure
Date: Mon, 17 Dec 2012 19:58:53 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.1 (gnu/linux)

address@hidden writes:

> On 17 déc. 2012, at 18:13, Ben Rudiak-Gould <address@hidden> wrote:
>> On Sat, Dec 15, 2012 at 11:07 PM, address@hidden
>> Incidentally, why is the midi parser written in C? It seems unlikely
>> to be a time bottleneck since midi files are normally pretty small,
>
> Go for it - the code was written in 2001, maybe at a time when
> Python/computers were slower than they are now.  It's 500-ish lines,
> so good luck!

There was at least one previous version of midi2ly.  I'm not sure if
that version was fully in Python or in C++.  I seem to remember we tried
doing everything in Python and it being about 20 to 100 times slower.
For small midi files that does not matter much; so be sure to test with
large midi files, ouverture coriolanus comes to mind.

Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  



reply via email to

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