Greetings,
I’m using Modalys “3.8.1.rc5” with LISP frontend on MacOS 12.6.3(Intel).
Is there a way to run any code with foreign-call and expression controllers in ModaLisp?
I’ve tried example files in lisp directory (ex5b, ex7, ex8, ex9, ex22) but received ERROR: Could not make controller foreign-call or ERROR: Could not make controller expression.
Also, I noticed that Arithmetic - Modalys
has an example of the fm excitation from ex5 rewritten as a set of function calls.
I think the last line should be changed from
(setq fm-output (*~ (sin~ (+~ (*~ mrcf mi (sin~ mrcf)) cf)) ae))
to
(setq fm-output (*~ (sin~ (+~ (*~ (*~ mrcf mi) (sin~ mrcf)) cf)) ae))
Otherwise it doesn’t work as the *~ function expects two arguments not 3. I’ve attached a working example.
Many thanks,
ex5_fixed.lisp (2.1 KB)
Chris