denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Help Needed


From: Josue Abarca
Subject: Re: [Denemo-devel] Help Needed
Date: Thu, 28 Nov 2013 08:12:38 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Nov 28, 2013 at 10:03:50AM +0000, Richard Shann wrote:
> There appears to be a bug in one of the libraries that Debian Stable
> distributes that is impacting Denemo. This may be present in other
> distributions, indeed it may impact Windows versions. Could anyone able
> to build the current git master branch test the following:
> 
> Get an empty score, put in a bar of quarter notes and Export as MIDI to
> test.mid.
> Get an empty score and click on the first button of the new MIDI import
> palette - the button marked  "⬅ MIDI", choose the file test.mid from the
> file chooser.
> If the program hangs you will need to kill it as it is trying to create
> a click track of millions of bars in length. If all is well it will ask
> for a track number.
> Please report back success or failure (and distro, whether you have
> libsmf-dev installed etc ...)
> 
> Richard
> 
> FWIW
> The story behind this is that the call to get the length of the MIDI
> file in seconds is returning a large value. It does not do this if you
> use the embedded libsmf that comes with Denemo (ie if you do not have
> libsmf installed on your system) nor does it do it if you execute a copy
> of the smf_get_length_seconds() function). The reason it is important is
> that it may be affecting versions of Denemo already in use, as up until
> now I suspect the only use we have made of this function is to determine
> when to stop playing; so probably the worst effect might be that you
> have to hit Stop yourself when the piece has finished. With the new MIDI
> import I am using this function to determine the number of bars to
> generate for the imported track and it naturally has problems generating
> millions of bars.

Hi Richard, I am going to test this ASAP.

About libsmf, are there currently differences in the "embedded libsmf
in Denemo" with the upstream libsmf ?.

Maybe you can share the changes with the original developer of libsmf?

http://sourceforge.net/projects/libsmf/ (it seems he has been inactive
for some time).

I will try what you are asking for, and also will try to see the
differences with libsmf, but if you find the differences and it this
is caused by a bug in libsmf, please let me know, we can patch the
debian package to fix the problem.

So, if you send a mail to the original developer of libsmf, please CC
me.

Thanks for all your work in denemo.


(Sorry for the long delay on my work, currently I am working to update
the denemo version in debian unstable and to create a backport for
stable).



-- 
Josué M. Abarca S.
Vos mereces Software Libre.
PGP key 4096R/70D8FB2A 2009-06-17
Huella de clave = B3ED 4984 F65A 9AE0 6511  DAF4 756B EB4B 70D8 FB2A



reply via email to

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