[CM] ; floor argument 93.649190420188-93.649190420188i is a complex, but should

eichhoff at statistik.uni-dortmund.de eichhoff at statistik.uni-dortmund.de
Sun Jul 19 03:20:19 PDT 2009


Yes, now the program works fine in windows without this floor argument error.

Now I loaded piano.scm and then typed one example from this site:
http://s260134055.onlinehome.us/modeling/ccrma.stanford.edu/CCRMA/Courses/220a:1998/Lectures/9/9.html

This worked fine:

(with-sound ()
   (loop for i from 0 to 7 do
      (p
       (* i .5)
       :duration .5
       :keyNum (+ 24 (* 12 i))
       :strike-velocity .5
       :amp .4
       :DryPedalResonanceFactor .25)))

But when I used some stiffness-factors or dampers then the program grace
crashed. As attachment I sent you the error message windows saved in the
documents/temp directory. Perhaps you understand why.
Here is the program code that caused the error (also from the site
mentioned above):

(with-sound ()
   (loop for i from 0 to 7 do
      (p
       (* i .5)
       :duration .5
       :keyNum (+ 24 (* 12 i))
       :strike-velocity .5
       :amp .4
       :DryPedalResonanceFactor .25
       :detuningFactor-table '(24 5 36 7.0 48 7.5 60 12.0 72 20 84 30 96
100 108 300)
       :stiffnessFactor-table '(21 1.5 24 1.5 36 1.5 48 1.5 60 1.4 72 1.3
84 1.2 96 1.0 108 1.0))))

Best regards
Markus

>
> floor argument 93.649190420188-93.649190420188i is a complex
>
> Thanks for the bug report!  With Rick's help, I got the windows cm
> running in wine, and I think this bug is due to the lack of complex
> number support in s7 + Visual C++ (we might be able to get around
> that) coupled with a slightly lackidasical expt implementation
> (I assumed cpow was available).  Anyway, I think this problem is
> fixed now, and that even in the no-complex-support case,
> anything in CLM should be ok (I checked all the other math ops).
>
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error_message.txt
Url: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20090719/e0a26371/attachment.txt 


More information about the Cmdist mailing list