- [Macro]
(
sv*
object slot amount)
Scales the value of slot in object by amount, where slot is either the unquoted symbol or keyword name of a slot in object. Returns the scaled value.
Examples:
Example 1. The sv*
macro.
(define m (new midi :time 0 :duration 2 :keynum 60)) (sv* m :duration 2) ⇒ 4 (sv+ m :keynum 1/2) ⇒ 30
See also:
fold-objects
[Function]map-objects
[Function]subobjects
[Function]sv
[Macro]sv+
[Macro]