Csound Csound-dev Csound-tekno Search About

Re: some Csound problems (?)

Date1997-02-20 02:44
FromToby
SubjectRe: some Csound problems (?)
Dave Phillips wrote:
>   2. Why does 3.45 complain about "invalid table sizes" 
> for "Trapped In Convert" but 3.44 handles them fine ?

Me too.  What happened to 3.45 under Linux?  It's like
that Pentium thing.  Ask for table size of 16384, and
you get something like 16383.999 in score.srt, and Csound
bombs.

Toby

	-There otta be a law-

Date1997-02-20 04:41
FromRichard Karpen
SubjectRe: some Csound problems (?)
If you are having problems with table sizes (this seems to be 
happening ONLY with people using Linux) then take replace the
file swrite.c in your 3.45 directory and replace it with the
swrite.c from 3.44. We changed the function "fltout" in swrite.c
in order to allow for large table sizes (really just allows large
numbers to be printed to the score.srt file!). Apparently there
is a precision problem under Linux so for now, Linux users who
compile their own code can do this replacement until a more
permanent solution is found.

A tedious alternate solution would be to edit the score.srt file and
change the 16383.999 to 16384.

RK

On Wed, 19 Feb 1997, Toby wrote:

> Dave Phillips wrote:
> >   2. Why does 3.45 complain about "invalid table sizes" 
> > for "Trapped In Convert" but 3.44 handles them fine ?
> 
> Me too.  What happened to 3.45 under Linux?  It's like
> that Pentium thing.  Ask for table size of 16384, and
> you get something like 16383.999 in score.srt, and Csound
> bombs..
> 
> Toby
> 
> 	-There otta be a law-
> 
> 

Date1997-02-20 11:54
Fromjpff@maths.bath.ac.uk
SubjectRe: some Csound problems (?)
What has happened is that LINUX is bust.  It cannot print an integer
corectly.  Works on Windows95 and Unix/SGI at least.