Group Admins

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Public Group active 1 week, 4 days ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

How to set the single float format once for all in OM

Author 2 Subscribed Users |
Profile photo of Francesco Vitale
Francesco Vitale

Hi,
this is a problem that’s been haunting me for a long time. For reasons unknown to me, OM keeps outputting real numbers data ending with a “F0″ by default. For this reason, every time I start OM, I have to type in the listener the command OpenMusic 1 > (setf *read-default-float-format* ‘single-float). How can I set this choice for floats as default, and make it working once for all? Thanks for your kind concern.
Best,
Francesco

March 19, 2017 at 18:41 #21943
Profile photo of Jean
Jean

Hi — in principle *read-default-float-format* is set to ‘single-float by default in OM.
You should maybe check in some code you might be loading (user folder ? OM/patches/ ? some external library ?) if this is not changed somewhere..

March 30, 2017 at 17:36 #22039
Profile photo of Francesco Vitale
Francesco Vitale

Dear Jean,
maybe there’s some .lisp file in the OM/patches folder that causes OM to start with the F0 floats. Shall I set the command setf *read-default-float-format* ‘single-float in the preferences file of the workspace?
Best,
Francesco

March 30, 2017 at 17:48 #22040

You must be logged in to reply to this topic.

Log in now