[LAU] Need some programming help.

James Morris jwm.art.net at gmail.com
Tue Nov 19 00:53:12 UTC 2013

only a guessimg but is there a snprintf involved anywhere to format the
value for output? look at other values displayed by Yoshimi gui to see how
they're done. it may be the format string has a straight %f rather
than%.2f. just a guess and sorry if you've looked at this already.
On Nov 18, 2013 9:14 PM, "Will Godfrey" <willgodfrey at musically.me.uk> wrote:

> I've been slowing working my way though Yoshimi, looking for bugs and
> trying
> to understand the code, with some success. However, I've come across
> something
> that has me completely stumped.
> On a modern machine if you look in the AdSynth edit window 'Detune' shows a
> variable number of trailing digits, where it should only show 2 after the
> decimal point. This is also true of all cases where a recalculated slider
> value
> is indirectly shown in an associated uneditable box. It happens nowhere
> else.
> I've seen this on 64bit dual core AMDs and on 32bit Atoms. However, on an
> AthlonXP the problem doesn't occur.
> At first I thought it might be due to different version of FLTK but having
> tried
> various releases of debian, from 'lenny' up to the current 'testing', the
> *only* differentiating feature I can discover is that the AthlonXP doesn't
> recognise the sse flag.
> Finally, to add to the confusion, compiling on any of the other machines,
> without the sse flag set, still produces the fault - I'm wondering if even
> without this, some math feature is still being used that causes the fault.
> Any help or suggestions would be gratefully welcomed!
> --
> Will J Godfrey
> http://www.musically.me.uk
> Say you have a poem and I have a tune.
> Exchange them and we can both have a poem, a tune, and a song.
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20131119/382df54d/attachment.html>

More information about the Linux-audio-user mailing list