Greetings Linux Audio world,
the Linux Audio Blog has its own subdomain now.
Please find it at
http://linuxaudioblog.jawebada.de
The RSS feed is available at
http://linuxaudioblog.jawebada.de/index.rss
While the old links are still valid I'm planning to restructure the rest
of my site somewhen
Es geschah am Mittwoch, 30. Juni 2004 15:59 als James Stone schrieb:
> I was wondering if anyone has any knowledge about generating giga or akai
> compatible files?
You know we discussed that several times on the LinuxSampler list. At the
moment libgig is only capable to read, not to write gigs.
[Jens M Andreasen]
>On tis, 2004-06-29 at 17:15, Steve Harris wrote:
>> >integer = lrintf(fullindex);
>> >fractional = fullindex - integer;
>>
>> I dont think this is right, fractional will be [-0.5, 0.5], rather than
>> [0,1] which is more noirmal as lrintf() rounds to the nearest.
>>
>>
On Wed, 30 Jun 2004 15:25:53 -0400
Pete Bessman <[EMAIL PROTECTED]> wrote:
> Ah. Now I get to find all the places in my code that can benefit from
> that. If you assign a float value into an int variable, is that an
> implicit cast?
Yes, see my paper here:
http://www.mega-nerd.com/FPcast/
At Wed, 30 Jun 2004 16:37:59 +0100 (BST),
Mike Rawes wrote:
>
> --- Pete Bessman <[EMAIL PROTECTED]> wrote:
> > At Mon, 28 Jun 2004 19:56:50 +1000,
> > Erik de Castro Lopo wrote:
> > >
> > > double fractional = 0.0, increment = 0.1;
> > > int integer = 0;
> > >
> > > for (;;)
> > >
On tis, 2004-06-29 at 17:15, Steve Harris wrote:
> On Tue, Jun 29, 2004 at 10:19:32AM +0200, Benno Senoner wrote:
> > for (;;)
> > {
> >/* Bunch of other code. */
> >
> >fullindex += increment;
> >integer = lrintf(fullindex);
> >fractional = fullindex - integer;
>
> I dont think
--- Pete Bessman <[EMAIL PROTECTED]> wrote:
> At Mon, 28 Jun 2004 19:56:50 +1000,
> Erik de Castro Lopo wrote:
> >
> > double fractional = 0.0, increment = 0.1;
> > int integer = 0;
> >
> > for (;;)
> > {
> > /* Bunch of other code. */
> >
> > fractional += increm
At Mon, 28 Jun 2004 19:56:50 +1000,
Erik de Castro Lopo wrote:
>
>
> People who play around with floating point code (especially on x86)
> quickly learn about the evils of comparing the equality of one floating
> point value with another.
I got my first lesson just a couple of days ago, in fact
Erik de Castro Lopo wrote:
On Tue, 29 Jun 2004 10:19:32 +0200
Benno Senoner <[EMAIL PROTECTED]> wrote:
In LinuxSampler we do
double increment;
double fullindex;
int integer;
double fractional;
for (;;)
{
/* Bunch of other code. */
fullindex += increment;
integer = lrintf(fullindex