This allows the loss coefficients of all the modes of an object to be altered dynamically.
(set-loss object_reference controller)
The (set-loss ... ) function requires two arguments:
The number of dimensions in the controller should correspond to the number of modes in the object, or the remaining mode losses will be set to zero.
This function is used to set all the mode the frequencies to new values:
(setq my-string (make-object 'mono-string (modes 4)))
(set-loss my-string (const 3 4 1 0.7))
Lower values will cause a mode to resonate longer. You should probably base the values on those obtained via (get-info 'mode-loss ... ).
This function is not yet implemented for Hybrids; an error message will be displayed if object is of hybrid type.
There are no special options for this function.
(set-frequency ... )
(set-amplitude ... )
(set-mode-freq ... )
(set-mode-loss ... )
(attach-mode-controllers ... ) [this seems to be broken, currently]