| Hello,
jpff@maths.bath.ac.uk wrote:
> Can you say which version of Csoudn you are using? I thought I had
> removed this restriction within orchestras, but if it is still there i
> woudl rather like to have an explicit example of what goes wrong.
I'm using Winsound Xv3.42/Csound 30.42 :
------- test.orc -----------------------------------------------------
sr = 44100
kr = 441
ksmps = 100
nchnls = 2
instr 1
iex1 = 0.00000000001
iex2 ipow 10, -12
print iex1
print iex2
endin
------- outputs -------------------------------------------------------
.
.
.
instr 1: iex1 = 0.000
instr 1: iex2 = 0.000
.
.
.
The sones-to-dB conversion formula needs 10^-12.
Thanks
Gregory Boduch
gb141@columbia.edu
Gregory> Csound seems to ignore decimal places after 3. If I define a
Gregory> constant such as 0.0000000001 it seems to think it's 0.000 .
Gregory> I'm trying to code a sones-to-dB conversion formula in an
Gregory> insturment. It involves 10^-12. Is there a way to perform
Gregory> calculations involving more 3 decimal places or exponential |