Re: [jokosher-devel] Six weeks till the freeze



On 18/09/06, Jens Geiregat <jens geiregat gmail com> wrote:
I'm really busy with a 'student-job' atm (programming C# all day - I
wish it were Python :-), but I'll do my best to contribute again when
I get some more free time.

>  * The playhead is often not accurate in what it is actually playing.
> E.g. the playhead may be a few pixels away from a wave but it has
> started playing it. Bug report -
> http://jokosher.python-hosting.com/ticket/135
>

I think I know where this problem comes from. Not 100% sure, but I
think it has to do with some rounding that's going on when time is
converted into pixels.


Amazingly enought I am pretty sure this isn't the problem. Currently
in Jokosher the event selection bounds are saved in pixels. On my
local copy (which I haven't committed because I don't have internet
access at home) I have changed it so that the selection is measured in
seconds and can be presevered even when you scroll or zoom.

Even though when you click and drag the mouse x position is in pixels
and it is converted to seconds, saved and then converted back into
pixels when it is drawn, there seems to be absolutely no rounding
error. Must be something else, or maybe its something particular to
the volume fade drawing code?

Laszlo



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