This allows the pitch of an object to be adjusted by modifying a particular physical parameter.
The (set-pitch ... ) function can be called using the following Lisp syntax:
(set-pitch object_reference parameter_string value)
or:
(set-pitch object_reference parameter_string controller)
The (set pitch ... ) function requires the following arguments:
The parameter string will depend on the object being modified. Refer to the object's reference page for a list of which parameters can be adjusted for that object. A list of some of the commonly used possible parameter strings is as follows:
Modalys also has an older syntax for pitch adjustment:
(with-pitch-adjustment parameter_string value object_reference)
Although this older syntax is still available for reasons of compatibility (it basically does the same thing without the convenience of optionally using a controller), it has been deprecated and its use is therefore discouraged.