Csound Csound-dev Csound-tekno Search About

Re: Floats to Ints

Date1999-02-12 12:33
FromRichard Dobson
SubjectRe: Floats to Ints
Oops: since this is a C topic,

this is wrong:
>	const float shortfac = (float) 1.0 / 32767.0;
this is right:
const float shortfac = (float) (1.0 / 32767.0);

perhaps I should have added; 'spot the deliberate mistake..." :->

Richard Dobson



-- 
Test your DAW with my Soundcard Attrition Page!
http://wkweb5.cableinet.co.uk/rwd